#Constantin

1 messages · Page 1 of 1 (latest)

ripe patrolBOT
proud heart
#

How are you creating your Payment Method objects?

supple phoenix
#

Using the React SDK for Stripe (below the actual code from our frontend dev ^^)

finite socket
#
      const iban = elements.getElement(IbanElement);
      if (!iban) throw new Error("IBAN element not found");
      paymentMethodExt = await stripe.createPaymentMethod({
        type: "sepa_debit",
        sepa_debit: iban,
        billing_details: {
          name: iban_name as string,
          email: iban_email as string,
        },
      });
proud heart