问题
I am develop site with Opencart
. Integrate PayPal Website Payment Pro
with test mode
. Select Test Mode yes in admin panel.
But in front side when i go for payment and enter visa card number and other stuff and click confirm payment then display error This transaction cannot be processed due to an invalid merchant configuration.
I follow below steps:
Log out Paypal account
clearing browser cache and cookies (I use firefox).
Go to developer.paypal.com and login with the real paypal account (not the Sandbox one)
Go to Applications
Click on Sandbox accounts
(Optional) Import your old accounts from your former Sandbox account after the redirect to the accounts page
Click on the account you want to log in to
Choose Sandbox site
Log in to that site using your test bussiness account
Go to My Profile
In Account information click on Request API Credentials
Still i have same issue. Before i got Secury header is not valid
. I try lots of time but not getting proper mistake.
回答1:
You don't really need to use Sandbox to do testing, there are other alternatives, such as to use another paypal and transact $0.01 via Authorization mode. (This way you can reject the payment)
Try using Paypal Express Checkout instead. All you need to do is to fill up the API credentials and everything will work.
回答2:
You need to upgrade your Sandbox account to Business Pro.
- Login to https://developer.paypal.com
- Go to
Dashboad
and openSandbox -> Accounts
- Choose an account and click
Profile
- On the
Profile
tab clickUpgrade to Pro
.
Note that you should have a Business Sandbox account to be able to upgrade it to pro.
来源:https://stackoverflow.com/questions/21192994/paypal-pro-configuration-issues-in-opecart