Stripe
Connecting Your Stripe Account
To add your Stripe account as a payment gateway, from Settings
, go to Payment Gateways
and click on + Add New Gateway
Select Stripe
You can then connect your existing account or create a new one.
When connecting an existing account, Stripe will prompt you to setup 2FA (two-factor authentication). Complete the 2FA setup either using your authenticator app, your phone SMS or through a security key :
💡Make sure to store the backup code for access to your Stripe account in case you lose your authenticator device (phone or key):
Select the DepositFix account you would like to connect :
Creating a New Stripe Account
If you want to accept credit and debit card payments through Stripe, you must have a Stripe account; if you don't have a Stripe account, follow the steps below to create one.
- Go to https://dashboard.stripe.com/register, fill out the information, and click on Create account.
- Stripe will send a confirmation email. Check your inbox and click on Verify email.
- You will then get redirected to your Stripe dashboard.
Click on Activate your account.
Complete the registration steps with all the required information.
New Stripe accounts will go through an approval process. This process is almost instantaneous in most cases, and most users will accept payments immediately. If more information is needed to complete the approval, Stripe will contact the account owner.
Stripe Test Cards
You can test payments using the following Stripe testing cards.
Cards for Successful Payments
Expiration Date – any future date CVC – any 3 or 4 (AMEX) digits
- 4242424242424242 – Visa
- 5555555555554444 – Mastercard
- 378282246310005 – American Express
- 6011111111111117 – Discover
- 30569309025904 – Diners Club
- 3530111333300000 – JCB
Cards for Failed Payments
- 4000000000000101 – Failed CVC check
- 4000000000000119 – Charge is declined with a processing_error code
- 4000000000000069 – Charge is declined with an expired_card code
we will now have following possibilities:
- on widget
df-test=true
will force rendering of Test Gateway, nevertheless what was selected on Form Builder
- on widget
df-stripetest=true
will behave same like the olddf-test=true
behaved, it'll render Stripe in test mode, this is mostly for our internal test purpose
- by default all clients will be redirected to connect their live Stripe mode on the Gateways UI, however I've added option to be able to connect test mode, that's also mainly for us, it's needed to add
df-stripetest=true
and then when redirection happens it'll go to Stripe test mode and appropriate config keys In order to add new test gateway locally use this url:
Last updated on August 6, 2021