创建定期付款配置文件失败

时间:2011-03-28 11:53:52

标签: php paypal paypal-subscriptions

大家好我所有用paypal实现定期付款。我的paypal脚本已经在运行,现在正在嵌入定期付款。我搜索了很多,没有找到任何有用的材料。我从Recurring找到了一些材料。我从here实现了createrecurringpayments.php的代码,并将变量赋予了我的变量。当事务完成时,我将浏览器从DoExpressCheckoutPayment.php重定向到此文件。但是在createrecurringpayment.php我总是得到以下错误。CreateRecurringPaymentsProfile failed: Array ( [TIMESTAMP] => 2011%2d03%2d28T11%3a44%3a30Z [CORRELATIONID] => 81d0c488123c4 [ACK] => Failure [VERSION] => 54%2e0 [BUILD] => 1776465 [L_ERRORCODE0] => 10002 [L_SHORTMESSAGE0] => Security%20error [L_LONGMESSAGE0] => Security%20header%20is%20not%20valid [L_SEVERITYCODE0] => Error )

2 个答案:

答案 0 :(得分:3)

您发现此类错误可能有以下4个原因。

1. You have your PayPal module configured to "Sandbox" but have not used Sandbox API credentials.

2. You have your PayPal module configured to "Live" but have not used Live API credentials.

3. You have mis-typed one or more API credentials entries, including but not limited to leaving trailing spaces.

4. You have deleted and/or recreated new API credentials in your PayPal account but have not copied those new credentials back to your store.

请检查出来..这对你有帮助..

感谢。

答案 1 :(得分:0)

我找到了解决方案....我使用的是paypal Express Checkout ..这样就无法实现定期付款......