Sepa Direct Debit

Vue d'ensemble #

Accepting SEPA Direct Debit payments on your website consists of:

  1. Creating an object to track a payment;
  2. Collecting payment method information;
  3. Mandate acknowledgment;
  4. Submitting the payment to Stripe for processing.

WooshPay uses this payment object, the PaymentIntent, to track and handle all the states of the payment until the payment completes.

SEPA direct debit transactions have a limit of 1,000 EUR each.

image.png

Méthode d'intégration #

Sortie de caisse #

Determine compatibility #

To support SEPA Direct Debit payments in Checkout, Prices for all line items must be expressed in Euro (currency code eur).

Codes pays disponibles
EU countriesAT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SE
EEA CountriesIS, LI, NO
Countries that have bilateral agreements with EUAD, SM, MC, VA
Other SEPA-supporting countries (supported EUR-denominated accounts only)PF, TF, GI, GG, IM, JE, BL, PM, CH, GB, WF
———————–
Devises prises en chargeeur
Presentment currencieseur

Accept a payment #

Use this guide to learn how to enable SEPA Direct Debit—it shows the differences between accepting a card payment and using SEPA Direct Debit.

Enable SEPA Direct Debit as a payment method
Lors de la création d'une nouvelle session de paiement, vous devez.. :

  1. Add sepa_debit to the list of payment_method_types.
  2. Make sure all your line_items use the eur currency.

Méthode d'intégration #

Serveur à serveur #

Créer un PaymentIntent #

Un PaymentIntent est un objet qui représente votre intention de collecter un paiement auprès d'un client et qui suit le cycle de vie du processus de paiement à chaque étape.
Tout d'abord, créez un PaymentIntent sur votre serveur et indiquez le montant à collecter ainsi que la devise eur (le prélèvement SEPA ne prend pas en charge les autres devises).
Si vous avez déjà une intégration utilisant l'API Payment Intents, ajoutez sepa_debit à la liste des types de méthodes de paiement pour votre PaymentIntent.

Demande

{
    "amount": 2000,
    "currency": "EUR",
    "confirm": true,
    "payment_method_options": {
        "sepa": {
            "iban": "DE12500105170648489890"
        }
    },
    "payment_method_data": {
        "type": "sepa",
        "billing_details": {
            "address": {
                "country": "DE"
            },
            "email": "john.doe@fake.id",
            "name": "John Doe"
        }
    },
    "return_url": "https://wooshpay.com"
}

Test your integration #

Wooshpay provides test numbers you can use to make sure your integration is ready for production.

Use the SEPA Direct Debit test numbers when testing your Checkout integration with SEPA Direct Debit.

Test IBAN: DE12500105170648489890

What are your feelings
Updated on août 8, 2023