Stripe Payment Gateway With 3DS2 Enabled:

Important: Make sure you have updated your org to one of these patches: 2019.1.0.34, 20Spring.0.13, 20Spring.1.3. The following configuration is only applicable to European customers that need a Stripe Payment Gateway with 3DS2 enabled.

In order to process payments as a staff user or collect recurring payments, e.g Scheduled Payments, please contact Stripe support to enable MOTO for your account. Find more details about MOTO payments here.

In order for you to enable 3DS2 on your Stripe payment gateway, you will first need to make sure your org is updated to one of these patches: 2019.1.0.34, 20Spring.0.13, or 20Spring.1.3. Once your org is up-to-date and supports 3DS2, you can create a Stripe payment gateway with 3DS2 enabled. We’ve made sure to cover every aspect of creating a payment gateway with 3DS2 that you might require.

Configure Stripe Payment Gateway:

Important: For Stripe 3DS2 enabled gateways, callbacks return as a guest user and create records as a guest user. If there are customizations in your org, please verify if this custom code will still work for guest users. Fonteva recommends checking the Sales Order, Sales Order Line, Subscription, Term, Attendee, Receipt, Receipt Line, Transaction, and Transaction Line objects to make sure the related custom code is in without sharing context.

This issue also affects Event Registration. If there are Visualforce email templates as part of email workflows, these templates also must have the without sharing attribute. For more information, please read Resolving Guest Event Registration Error in Salesforce Summer 20.

If you utilize Stripe, you will want to create a Stripe payment gateway that enables 3DS2.

  1. On the payment gateway configuration page, provide your Payment Gateway Name, Business Group, and Deposit Account as suits you, and select Stripe Payment Intents as your Gateway Type. Do not select Stripe.

  2. You will need your API Key from Stripe. Open a new tab in your browser and navigate to your Stripe account.

  3. From your Stripe account, navigate to Developers > API Keys.

  4. Locate the Secret Key section and click Reveal live key.

  5. Copy the Secret key and return to the payment gateway configuration page in the other tab.

  6. Paste the test key into the API Key field.

  7. Check Require CVV.

  8. Check Enable 3D Secure to enabled 3DS2.

  9. Configure any other options for your payment gateway. When you’re ready, click Save & Close.

Additional Steps For Stripe Gateways:

Payment gateways transfer data points when utilized, which Spreedly helps facilitate. Stripe requires additional data to be sent that Spreedly does not currently accommodate. Because of this, Stripe payment gateway users will need to create metadata to call out this additional data and pass it on to Stripe.

  1. Navigate to Setup > Custom Metadata Types.

  2. Locate Fonteva Registry Entry and select Manage Records.

  3. Click New. The Fonteva Registry Entry Edit page will open.

  4. In the Label field, type Stripe. This value will automatically generate in the Fonteva Registry Entry Name field.

  5. In the Entry Key field, type stripe_payment_intents.

  6. In the Entry Category field, type stripe_payment_intents.

  7. In the Entry Value field, type 18 digit gateway ID of your Stripe gateway.

  8. Ensure Is Enabled is checked.

  9. Click Save to complete.

  10. Repeat Steps 3-9 for each Stripe Payment Intent Gateway that is configured in your org.

Create a Webhook Endopint:

To use Stripe 3DS on Spreedly, you must create a webhook endpoint at Stripe to allow Fonteva to receive notifications about changes to a payment intent’s status (find more details from Spreedly here).

Create the webhook through your Stripe dashboard (or programmatically,) with the following properties:

  1. Access your Stripe dashboard.

  2. Click Webhooks and select + Add endpoint.

  3. The webhook endpoint modal will open.

  4. In the Endpoint URL field, type https://core.spreedly.com/stripe/webhooks.

  5. From the Events to send dropdown, select payment_intent.succeeded, payment_intent.payment_failed, and payment_intent.amount_capturable_updated.

  6. Click Add endpoint.

  7. All Customers will need to reach out to Fonteva Customer Support with the following information. Fonteva will update the gateway settings accordingly:

    1. Login (Stripe’s secret key).

    2. webhook_id (can be found in your browser’s address bar and is the last segment of the URL. The Stripe webhook begins with we_).

    3. webhook_signing_secret (located in the Signing Secret section of the webhook detail page. Spreedly uses these values to ensure that Fonteva receives notifications for changes to a payment intent’s status and verify that events are sent by Stripe).

Testing a Stripe Payment Gateway:

If you are using Stripe in test mode, use 3DS cards provided on Stripe’s site. Find more details from Stripe here.