Stripe

Prev Next

The US payment service provider Stripe is specialized on credit card payments. Stripe is offering you an extensive and efficient gateway with an attractive pricing.

Please be aware before starting your implementation of SubscriptionJS on your sign up page, that the ProcessPaymentData method is supported by this PSP for both of the Payment Methods proposed.

Payment Method

ProcessPaymentData method supported

Credit Card with 3D Secure

Yes

Direct Debit

Yes

1. Configuration in your Stripe account

You can sign up for a free Stripe account at: https://stripe.com. A test account is provided immediately upon registration.

2. Configure Frisbii and Stripe Connect

Frisbii supports Stripe Connect to enable secure, authorized interaction between your Stripe account and our platform. Using Stripe connect lets Frisbii perform operations (e.g., transactions) on your behalf easily and simplifies configuration and provides tighter security control.

A. In Your Stripe Account

Enable Stripe Connect

Go to your Stripe Dashboard → Connect Settings.

Add Redirect URLs and activate Connect

Include both test and live environment URLs in the Redirect URLs section.

Make sure the following settings are set as shown in the screenshot below:

  • “OAuth for Stripe Dashboard accounts” is enabled

  • Redirect URIs are set to the following URIs:

    • for Test/Sandbox: https://sandbox.frisbii-transform.com/PSPRedirects/Stripe/connect

    • for Production:  https://app.frisbii-transform.com/PSPRedirects/Stripe/connect

B. In your Frisbii Transform Account

For the Frisbii Transform payment configuration, go to "Settings > Payment > Payment settings > Stripe".

Click on the “Connect” Button inside the Stripe settings.

You will be redirected to Stripe to complete the onboarding flow. After the succesful setup you will be redirected back to Frisbii. After the succesful setup you should see the green banner “Your stripe Account is connected to Frisbii”

C. Configure webhooks inside your stripe account

In your Stripe account go to "Webhooks" and press the "Add endpoint" button. Here you have to enter the Webhook-URL from the Frisbii Transform settings. Activate the webhooks

  • charge.failed

  • charge.refunded

  • charge.succeeded

  • charge.dispute.closed

If you have "Connected Accounts" enabled in Stripe, add the Webhook endpoints in the "Endpoints receiving events from your account" section.

Add a webhook endpoint

D. Activate Stripe inside Frisbii

After activating the wanted payment method with Stripe, press the "Save" button.

Your Stripe account is now ready to use.

3. Migration of Account to Stripe Connect

If your Stripe account is already configured we recommend to switch to Stripe Connect. Using Stripe connect lets Frisbii perform operations (e.g., transactions) on your behalf easily and simplifies configuration and provides tighter security control compared to the existing configuration using API keys and secrets.

If you have configured Stripe with API Key and secret you will

  • see your API keys but cannot modify them (as using this connection is deprecated inside Frisbii)

  • You may still Connect or Disconnect the account.

  • You will see a box “Current integration is insecure, use Connect button to fix that”

To setup the new Stripe connect Integration, you can

  • click the “Connect” button

  • follow the Stripe Authorization flow

  • you will be redirected back to the Frisbii “Stripe Settings page”

  • this page will have a green banner indicating that the connection is successfully established (see image above in the section to initially configure stripe)

4. Configuring SEPA reference line

You can configure the SEPA reference line manually. For more information, see the article Configuring SEPA reference.

5. Test data

Stripe is offering a lot of test credit cards from different acquirers:

Credit card number

Card type

4242424242424242

Visa

4012888888881881

Visa

4000056655665556

Visa (debit)

5555555555554444

Mastercard

5200828282828210

Mastercard (debit)

5105105105105100

Mastercard (prepaid)

378282246310005

American Express

371449635398431

American Express

6011111111111117

Discover

6011000990139424

Discover

30569309025904

Diners Club

38520000023237

Diners Club

3530111333300000

JCB

3566002020360505

JCB

Following credit card numbers will end in a specific result:

Credit card number

Description

4000000000000077

Charge will succeed and funds will be added directly to your available balance (bypassing your pending balance).

4000000000000093

Charge will succeed and domestic pricing will be used (other test cards use international pricing). This card is only significant in countries with split pricing.

4000000000000010

With default account settings , charge will succeed but address_line1_check and address_zip_check will both fail.

4000000000000028

With default account settings , charge will succeed but address_line1_check will fail.

4000000000000036

With default account settings , charge will succeed but address_zip_check will fail.

4000000000000044

With default account settings , charge will succeed but address_zip_check and address_line1_check will both be unavailable.

4000000000000101

With default account settings , charge will succeed unless a CVC is entered, in which case cvc_check will fail and the charge will be declined.

4000000000000341

Attaching this card to a Customer object will succeed, but attempts to charge the customer will fail.

4000000000000002

Charge will be declined with a card_declined code.

4100000000000019

Charge will be declined with a card_declined code and a fraudulent reason.

4000000000000127

Charge will be declined with an incorrect_cvc code.

4000000000000069

Charge will be declined with an expired_card code.

4000000000000119

Charge will be declined with a processing_error code.

You can find further information at https://stripe.com and https://stripe.com/docs/testing.