#gitbinned-frontend

1 messages · Page 1 of 1 (latest)

pastel carbon
#

You are looking for Setup Intent, and no it will involve backend at some points

dense vector
#

Oh ok. So the following block wont do that? This is for demo purposes, so even if I do nothing with the response I'm happy

    const {error, paymentMethod} = await stripe.createPaymentMethod({
      type: 'card',
      card: elements.getElement(CardElement),
    });
pastel carbon
#

It would create a PaymentMethod yes, but it won't be linked to a Customer