Testing PayPal Modules
Testing PayPal Transactions
To test that PayPal is properly configured, you should test two methods:
- Test by paying for something using a PayPal account (not the same account as your store).
- Test by paying for something with a credit card WITHOUT creating or using a PayPal account for payment.
All of these tests are to be performed in “production” or “live” mode. Do NOT use a Sandbox for testing. (If you don’t know what this means, just proceed with testing.)
Testing using a PayPal account
- You need a second PayPal account to do this. PayPal allows you to have two accounts per person: one personal and one business. For this test, you will pay for your purchase using funds on account in your personal PayPal account. You will be paying money to your store account (and refunding it).
- Create or select a product which has a low price, such as $0.01 or maybe $1.00.
- Purchase that product.
- During checkout, choose the lowest-price shipping option.
- During checkout, choose PayPal.
- After the Checkout Confirmation screen, you’ll be taken to the PayPal website to make payment.
- Enter your PERSONAL PayPal account username and password.
- Confirm the transaction.
- You will be returned to your store after completion.
- Verify that you received two or three emails: one from PayPal, one from the store to you as a customer, and one from the store to your Admin address. If you did not receive the emails from the store within five minutes, then go to the Troubleshooting section of this document, above.
- Log in to your BUSINESS PayPal account and refund your test transaction.
Testing without a PayPal account
To test payment by credit card without using a PayPal account, use these steps:
(Before proceeding, find your credit cards, and select one that’s not already associated with any PayPal account !!)
- Create or select a product in your store which has a low price, such as $0.01 or maybe $1.00.
- Purchase that product.
- During checkout, choose the lowest-price shipping option.
- During checkout, choose PayPal.
- After the Checkout Confirmation screen, you’ll be taken to the PayPal website to make payment.
- Underneath the login box for PayPal username/password, there is a link to Purchase without a PayPal account. Click that link.
- Fill in and/or confirm your personal information.
- Fill in your payment details including credit card number. (You should NOT use a credit card number that’s already associated with any PayPal account !!)
- Confirm the transaction.
- You will be returned to your store after completion.
- Verify that you received two or three emails: one from PayPal, one from the store to you as a customer, and one from the store to your Admin address. If you did not receive the emails from the store within five minutes, then go to the Troubleshooting section of this document, above.
- Log in to your BUSINESS PayPal account and refund your test transaction.
Still have questions? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, head over to the
Zen Cart support forum
and ask there in the appropriate subforum.
In your post, please include your Zen Cart and PHP versions, and a link to your site.
Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started.
You can even PR right here.
Last modified September 13, 2020 by Scott C Wilson (354bf510).