#KEITH LARD

1 messages ยท Page 1 of 1 (latest)

crystal pantherBOT
jolly pawn
merry tartan
#

thank you, can I pass that name using this api?

            const {error: paymentMethodError, paymentMethod} = await this.stripe.createPaymentMethod({
                type: 'card',
                card: this.cardElement
            })
#

would it just an extra parameter billing_details

jolly pawn
merry tartan
#

perfect thank ๐Ÿ™‚

jolly pawn
#

NP! ๐Ÿ™‚ Happy to help

merry tartan
#

I cant see payment methods can I, until it's attached to a customer/charged ?

jolly pawn
#

Umm do you mean on the dashboard?

merry tartan
#

ye

jolly pawn
#

Gotcha, yeah in that case you'd need to attach it
You can look at the API logs though if you just want to confirm if the PaymentMethod was created ๐Ÿ˜…

#

OR list them using the API

crystal pantherBOT
merry tartan
#

Cool, I was also wondering, cardElement.focus(); doesn't seem to be working, is that the correct way to do it?

cosmic pulsar
#

Good question, checking in to how you can do this with the card element and will get back to you

merry tartan
#

thank you

cosmic pulsar