Hi,
I am about to deploy a eCommerce website so my client can start testing and I am wondering how to run test until receiving an invoice without spending any money.
The wsbsite wlll use Paypal, but even if I set "on stage" in settings, I am redirected to paypal.
So, how you gguys usually run end to end tests ?
My config:
Joomla! 3.8.1
VirtueMart 3.2.4
PHP 7
THanks :)
Use PayPal sandbox.
http://docs.virtuemart.net/tutorials/28-plugins-payment-shipment-and-others/116-setting-a-testing-environment-in-paypal.html
http://forum.virtuemart.net/index.php?topic=122595.msg418288
Hi
thanks for the feedback. however, I tried to create a sandbox account, but either they are not created, or they are still processing (for more than 72hours now).
I tried to contact the support, but no feedback.
So is there any other to run end to end tests from purchasing to receive invoice without spending money ?
THanks
You have not said whether you are doing this on a live or test environment (but I provide some information that may help)
To run an end to end test with PayPal you need to create a PayPal sandbox account as Jenkin has said in his post below.
PayPal sandbox accounts are under PayPal's control - you should ensure that you fully understand PayPals systems before using them and this should include using PayPal sandbox testing. You should not need to contact PayPal for a sandbox account.
You can still test the purchase process including invoicing using the Standard payment (not that this is all done on your own server - so there are no IPN messages to consider)
Create a payment method e.g. Cash on delivery that uses the Standard payment method plugin
Assign this to the shoppergroup that your test account belongs to
Then raise an order and confirm.
Or test live with a 1 cent product and free shipping...
Yes, One cent purchase will work, just have to have two Paypal accounts. This is actually only a problem if it is Your own shop. You are not allowed to buy from yourself.
regards
Jörgen @ Kreativ Fotografi