less than a minute read • Updated 4 days ago
Create a Payment Set for testing transactions on an active store
You can test your checkout on a live store by routing your own cart session through a test gateway. Real customers keep using your live payment configuration.
It works by pairing two things: a payment method set holding the test gateway, and a template set pointing at that set. A URL parameter switches your own session to that template set.
These steps assume you aren't already using the template_set parameter on your store. Payment method sets have other uses, such as running different gateways per region, so contact us if your case is more involved.
Create the payment method set
Sets in test mode show a Test indicator in the payment method set list, so you can confirm at a glance which is which.
Check that your live set is untouched before moving on. Editing the wrong set is the main risk here.
Create the template set
The Payment method set section shows the assigned set along with its Test indicator, which confirms you attached the right one.
Run a test transaction
https://example.foxycart.com/cart?template_set=test&redirect=/
This only changes the template set for your current cart session in that browser. Customers are unaffected.
Reset your session
https://example.foxycart.com/cart?template_set=DEFAULT&redirect=/
Notes
Find your subdomain at Settings > General under Store subdomain.
A store with a test gateway active shows a warning banner across the top of the admin. That's expected while testing.