我在集成 paypal 时遇到安全标头错误,paypal 集成在沙箱环境和凭据中运行良好,但不适用于 live。
当我使用 paypal apis 进行集成时,是否需要在 paypal 中进行任何特定配置。
任何帮助将不胜感激。
谢谢
我在集成 paypal 时遇到安全标头错误,paypal 集成在沙箱环境和凭据中运行良好,但不适用于 live。
当我使用 paypal apis 进行集成时,是否需要在 paypal 中进行任何特定配置。
任何帮助将不胜感激。
谢谢
That error message would typically only show when the credentials are incorrect. Could you please double check that there's no extra space characters in the credentials and that you're using the credentials for the correct mode you're using (Live vs. Sandbox)?
If it is set to Sandbox mode, you must use your Paypal sandbox credentials. The live ones will not work in Sandbox mode.
That error message indicates that your API credentials aren't being accepted by PayPal.
Common causes:
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.
This link help you more ..
https://developer.paypal.com/webapps/developer/docs/classic/api/errorcodes/
我们为 paypal 和沙盒使用不同的凭据。请查看这些链接 softprodigy.in/CMPnew/app/webroot/images/live.png softprodigy.in/CMPnew/app/webroot/images/sandbox.png