Advice and answers from the SupaDupa Team

Stripe's supported currencies: USD (US dollars), CAD (Canadian dollars), GBP (British Pounds) and more.
For a full list of supported currencies please click here: https://support.stripe.com/questions/which-currencies-does-stripe-support

Currently Stripe is United States, Canada, United Kingdom or Ireland only.
You will need a US or Canadian bank account, SSN or SIN, address, and–if filing as a company–EIN or BN.


To set up payments through the Stripe Credit Card Payment Gateway:

First, create an account with Stripe here: Signup here. Stripe's Home page: https://stripe.com

Once you have logged into your Stripe account, please go ahead:

Step 1
Click on 'Your account' and choose 'Account settings', from your Dashboard



Step 2
Click on API Keys



Step 3
Copy your Live Secret API Key. These details were issued to you when you created your Stripe account:

As an example, it may look like this: 'sk_live_r4wJgD9p1ipa3ro5r3rqVQYd'



Step 4
Login to your SupaDupa admin.

Step 5
From here, click on the ‘Settings’ tab and choose 'Payment Methods'

Step 6
Click on the credit card gateway toggle so it becomes activated - notice the toggle will become green.

Step 7
Select 'Stripe' from the drop down list of payment gateways

Step 8
Paste your Live Secret API Key into the correct field



Step 9
Click to SAVE CHANGES and you’re done!

How to test to make sure your Stripe gateway works correctly?

The instructions above have described how to set up your SupaDupa with your LIVE Stripe settings - which will have you ready to take real payments from customers. Before launching, we recommend you test this by placing a real card payment through yourself. You may choose to temporarily lower the price of one of your items for the duration of the test - to avoid making an unnecessarily large payment.

Along with the live Stripe setup, Stripe also offers a test key which will allow you to run a test payment through the system. This will allow you to see receiving an order would work on SupaDupa - showing how an order would appear and be managed through the Orders section of your back office, along with being able to preview the notification emails that are sent. Using the test key will allow you to test all of this without actually making a real card payment - instead, you can use the test details shown below. To use test mode, simply follow the steps in this article - but use the test key from Stripe instead. Be sure to change from the test key to the live stripe key once you are ready to take real payments from customers.

At the checkout use the following Test card numbers to place test orders using different card types.
Test orders will and appear in your ‘Orders’ tab which you can also use to simulate a test dispatch.
Test orders will not affect your stock quantity.

Test cards:

Visa
4242424242424242
4012888888881881

MasterCard
5555555555554444
5105105105105100

American Express
378282246310005
371449635398431

Discover
6011111111111117
6011000990139424

Diner's Club
30569309025904
38520000023237

JCB
3530111333300000
3566002020360505

CVV: any 3 digits
Expiry date: any date in the future

How do I test specific error codes?
Some suggestions:

card_declined:
Use this special card number - 4000000000000002.

incorrect_number:
Use a number that fails the Luhn check, e.g. 4242424242424241

invalid_expiry_month:
Use an invalid month e.g. 13

invalid_expiry_year:
Use a year in the past e.g. 1970

invalid_cvc:
Use a two digit number e.g. 99

Did this answer your question?