我在我的网站上使用DoDirectPayment
方法。如果我使用我的Merchant Username
,Password
和signature
那么没有问题,交易将成功。
但是在使用我的live Merchant account Username
时,Password
和signature
然后它显示此错误
10501 - error code
Invalid Configuration
This transaction cannot be processed due to an invalid merchant configuration.
但我在Merchant account
中使用了正确的细节.
该错误意味着您尝试使用它的帐户上没有启用DoDirectPayment。
自从人们发布新版本以来,当人们注册Payments Pro时,我经常看到这一点PayPal。
如果您已经注册了Pro并期望它在您的真实账户上运行,那么可能发生的情况是您注册了"PayPal Payments Pro 2.0",它使用PayFlow API而不是DoDirectPayment。
DoDirectPayment与"PayPal网站支付Pro 3.0"配合使用,这实际上是旧版本。
从技术上讲,Payments Pro 2.0应该让您完全访问PayFlow和DoDirectPayment,但是,我已经看到由于您使用PayPal帐户版本而无法解决问题的情况。
归根结底,您需要首先确保Payments Pro在您的真实账户上处于活动状态,然后准确确定它是哪个版本的Pro。