#121940kz

1 messages · Page 1 of 1 (latest)

wind mirageBOT
spark cloak
#

You wouldn't specify it in the frontend. The available payment methods shown are based on what's available on the payment intent that you initialize elements with

elder condor
#

Maybe i need to change my flow then. What i'm doing is this

this.stripeCardElement = elements.create("card", { style: this.elementsFormStyle });

and then i'm creating the payment method at stripe and then sending that to my back end to do the intent and charge

#

So on my checkout i'm only having a card element form

spark cloak
#

Oh you're using the card element

#

That only accepts card payments

#

You need to switch to the payment element

#

The guide I linked shows what you need to use instead

elder condor
#

Ok sounds good i'll check that out thanks

spark cloak
#

No problem