PayPal Pro/Express Omnipay 网关 - 信用卡无效 Headers
PayPal Pro/Express Omnipay Gateway - Credit Card Invalid Headers
我在 PayPal Pro/Express Omnipay Gateway 上测试沙盒信用卡时遇到问题。我正在使用在 Laravel 上运行的 October CMS,据我所知,它使用 Laravel 插件进行 PayPal 支付。
现在的问题是我有用户名、密码和签名凭据,但我是从我的真实 PayPal 帐户中获取的。问题是我无法在沙盒 PayPal 帐户上找到相同的凭据。我在此页面中找到了凭据:https://www.paypal.com/businessprofile/mytools/apiaccess/firstparty/signature
现在在结帐过程中,我收到了来自 PayPal 的回复:
"Security header is not valid"
据我所知,我得到这个是因为我在测试环境中使用了实时凭据,但是我如何才能获得沙箱凭据来测试它?
谢谢。
PAYPAL 凭据可以在 Sandbox
-> Accounts
-> Profile
-> API Credentials
.
下找到
请注意,在发送之前可能必须对它们进行 url 编码 ( http://www.php.net/urlencode )。
我在 PayPal Pro/Express Omnipay Gateway 上测试沙盒信用卡时遇到问题。我正在使用在 Laravel 上运行的 October CMS,据我所知,它使用 Laravel 插件进行 PayPal 支付。
现在的问题是我有用户名、密码和签名凭据,但我是从我的真实 PayPal 帐户中获取的。问题是我无法在沙盒 PayPal 帐户上找到相同的凭据。我在此页面中找到了凭据:https://www.paypal.com/businessprofile/mytools/apiaccess/firstparty/signature
现在在结帐过程中,我收到了来自 PayPal 的回复:
"Security header is not valid"
据我所知,我得到这个是因为我在测试环境中使用了实时凭据,但是我如何才能获得沙箱凭据来测试它?
谢谢。
PAYPAL 凭据可以在 Sandbox
-> Accounts
-> Profile
-> API Credentials
.
请注意,在发送之前可能必须对它们进行 url 编码 ( http://www.php.net/urlencode )。