You can run test transactions in your Chargebee test site using your Stripe test payment gateway account.


Step 1

In your Chargebee test site click on the Settings tab, and under Site Settings, click on Gateway Settings > Add a Payment Gateway and select Stripe. If you have an existing Stripe account, you could use that or you can create a new Stripe account through Chargebee and connect that.


Step 2

Now, set Stripe as your default payment gateway. Under Gateway Settings, right click on Stripe and select Set as Default.

Testing

The Stripe payment gateway can be tested in two places:


1) By updating the card details of an existing subscription

2) By using the card details on the hosted payment page.


1. By updating the card details of an existing subscription


Open an existing subscription in Chargebee and click on the Add Card link. 


Set the Gateway to Stripe on the next screen. You can use the test card numbers provided by Stripe by clicking on the test card number on the right side of the page.





2. By using the card details on the hosted payment page


Click on the Hosted Page URL, fill in the required details and use the test card numbers provided by Stripe to simulate various test results.


You can simulate various other results by trying out the test card details here.