目前,我们无法处理您的请求。请 return 测试商店并尝试其他选项

At this time, we are unable to process your request. Please return to Test Store and try another option

我正尝试在我的沙盒环境中创建计费协议,但遇到了这个神秘错误:

At this time, we are unable to process your request. Please return to [my] Test Store and try another option.

我该如何调试它?

我的代码目前包括:

  1. 创建一个 API 令牌
  2. 正在创建计费计划
  3. 激活计费方案
  4. 创建结算协议

一切正常,直到第 4 步。

我正在使用来自 REST PHP SDK 示例的代码。

此问题已通过清除缓存解决 here。我已经尝试过这个以及另一个新安装的浏览器,但问题仍然存在。

提示?

编辑:如here所述,已在应用程序中启用计费协议。这可能是德国特有的,因为我也在德国。

不幸的是它是德国特有的:

"Recurring payments cannot be created for buyers in Germany or China. In this case, you can use reference transactions as an alternate solution."

https://developer.paypal.com/webapps/developer/docs/classic/express-checkout/integration-guide/ECRecurringPayments/#limitations

这是我的建议:

  1. 登录贝宝。 https://www.paypal.com/signin
  2. 转到沙盒测试帐户 https://developer.paypal.com/developer/accounts
  3. 新建一个 个人沙盒测试帐户(电子邮件地址、密码、国家、 验证等)。如果您没有看到创建按钮,那么您将不得不 单击 table 行右侧的图标克隆一个。只是 确保您正在克隆个人类型之一。
  4. 使用您的浏览器设置清除 PayPal cookie。 (这将使您退出 PayPal)
  5. 现在,您可以 运行 您的脚本,当您被重定向到 PayPal 时 付款批准,您将必须输入新的凭据 创建个人测试帐户。

简而言之,我建议您创建一个新的个人沙盒测试帐户并清除您的浏览器 cookie。

祝你好运