贝宝 sdk asp.net return (400) 错误请求

Paypal sdk asp.net return (400) Bad Request

我正在尝试使用 Paypal 在我的网站上使用 信用卡 付款,在 asp.net mvc 但每次我遇到一个问题 return 例外

(400) Bad Request.

所以我尝试使用示例 here 特别是 PaymentWithCreditCard 的样本,它工作得很好但是当我尝试用我的 clientId 更改 web.config clientSecret 我得到同样的错误!!

我确定我在我的代码和示例中都正确地写了我的客户 ID 和密码,但不知道为什么会出现此错误!!

示例使用它的客户端 ID 和密码很好地工作,但是当我使用我的客户端 ID 和密码时给我这个错误

并指出错误的详情

The remote server returned an error: (400) Bad Request.

name: "UNKNOWN_ERROR"

message: An unknown error has occurred

information_link: https://developer.paypal.com/webapps/developer/docs/api/#UNKNOWN_ERROR

debug_id: 7f3c48e317bbb

希望你能帮我解决这个问题。

您的沙盒帐户似乎不专业。我刚刚重新激活了它的专业版。如果您尝试处理卡付款,现在应该没问题了。