New Zenner
- Join Date:
- Jul 2006
- Posts:
- 4
- Plugin Contributions:
- 0
SOLUTION INCL'D: 10501 error - invalid merchant configuration
BACKGROUND/GETTING TO THE ERROR:
- I helped a client get registered w/ paypal for wpp (website payment pro).
- Installed and set up zen cart.
- Turned on paypal pro and express checkout in the payment modules and set them to sandbox.
- I signed up for paypal's sandbox (https://developer.paypal.com).
- I created the test accounts automatically - but they generate ugly email addresses, so rather than create a test email address on that server, I also manually created a sandbox personal account and use a test gmail.com account of mine. In this account (on the sandbox) I added a credit card [MAKE SURE YOU COPY THE CREDIT CARD WHEN YOU SEE IT. ALSO, add the credit card from the main menu of the sand box after you create the test accont - this will automatically populate it with a test cc number. If you try to add one AS you create the test account it will give you a blank credit card number and no matter what you put it there it won't be correct - remember - this is the sandbox. Of course, now that I think about it, I could sign up with ANY email addr in zencart when doing this testing - so do what you want.]
- I followed paypal's directions and got the api credentials by just clicking the API credentials button.
api username,
api password and
api signature - Then i tested doing a cc purchase (not using paypal funds and not the express checkout) with my manually created test account and kept getting the 10501 error - invalid merchant configuration error.
SOLUTION: It took me awhile to realize that this was paypal's error being returned and not zencart's. Here's what I did to fix this - found it on paypal's sandbox community forum:
If you're working in the Sandbox, log into Developer Central, click the Test Accounts link, select the seller's account, and click the orange button. A new browser window will open. Log into the Sandbox test account and you should see that the next step is to accept the billing agreement. Just follow the step.
If you're working in the Live environment, you need to sign up for Website Payments Pro. Once PayPal approves you, log into your account and accept the billing agreement on the Overview page.
So - the whole d!^%mn problem was that the BILLING AGREEMENT wasn't signed - EVEN in the sandbox. Paypal should do either: a) automatically agree for you in the sandbox when it gives you the api codes, b) warn you to agree to the billing agreement b4 using the api, c) give you a logical error message telling you billing agreement not signed.
Hope this save YOU some time!