#121940kz
1 messages · Page 1 of 1 (latest)
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
See: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#create-the-paymentintent
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
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
Ok sounds good i'll check that out thanks
No problem