News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

How to run end to end tests ?

Started by fkang, October 30, 2017, 00:12:51 AM

Previous topic - Next topic

fkang

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 :)

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

fkang

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

AH

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. 
Regards
A

Joomla 4.4.5
php 8.1

GJC Web Design

Or test live with a 1 cent product and free shipping... 
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Jörgen

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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.