#om_code

1 messages ¡ Page 1 of 1 (latest)

opal locustBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1385147063905419284

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

dark geyser
#

??

cloud kettle
#

Yes, Payment Element supports SEPA

dark geyser
#

can please give me doc where I can see which values I have to pass to payment Element API to enable SEPA

cloud kettle
dark geyser
#

I am getting Acess Denied to this link

cloud kettle
#

Or you can do this directly via the API [0]

const session = await stripe.checkout.sessions.create({
  payment_method_types: ['card', 'sepa_debit'],
  line_items: [{
    price_data: {
      // To accept `sepa_debit`, all line items must have currency: eur
      currency: 'eur',
      product_data: {
        name: 'T-shirt',
      },
      unit_amount: 2000,
    },
    quantity: 1,
  }],
  mode: 'payment',
  success_url: 'https://example.com/success',
  cancel_url: 'https://example.com/cancel',
});

[0] https://docs.stripe.com/payments/sepa-debit/accept-a-payment?web-or-mobile=web&payment-ui=stripe-hosted#accept-a-payment

Learn to accept SEPA Direct Debit payments.

#

Apologies. Updated the links.