#gitbinned-frontend
1 messages · Page 1 of 1 (latest)
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),
});
It would create a PaymentMethod yes, but it won't be linked to a Customer