See the code behind this demo!

Start Subscriptions with Bancontact, iDEAL and Sofort

With Checkout you can now setup recurring payments using Bancontact, iDEAL and Sofort. After the first payment, a SEPA account will be saved for future payments.


Console

> Ready ...

          
            fastify.post("/create-checkout-session", async (request, reply) => {
              const session = await stripe.checkout.sessions.create({
                payment_method_types: ["ideal", "bancontact", "sofort"],
                line_items: [
                  {
                    price: process.env.RECURRING_PRICE_ID,
                    quantity: 1,
                  },
                ],
                mode: "subscription",
                success_url: `${process.env.BASE_URI}?success=true`,
                cancel_url: `${process.env.BASE_URI}/?cancel=true`,
              });

              reply.redirect(session.url);
            });
          
        

Experiment and learn

Make copies, remix, change and learn how to play with this tinydemo.


Any questions?

Reach out to us on any of our contact channels: