#krut4rth

1 messages · Page 1 of 1 (latest)

ebon oxideBOT
storm kelp
#

Google Pay is considered a card payment method. There's no separate value for wallets like that

distant sandal
#

https://stripe.com/docs/payments/quickstart based on the doc I'm not using var paymentElement = elements.create('payment'); where shall i introduce it exactly?

storm kelp
#

Did you look at the link I shared?

#

.create() accepts a 2nd hash parameter, wallet is a field inside of that

distant sandal
#

I got that point. I dont understand where exactly I'll use var paymentElement = elements.create('payment'); currently I have {clientSecret && stripePromiseState && ( <Elements stripe={stripePromiseState} options={{ clientSecret }} > <CheckoutForm /> </Elements> )}
Where exactly i'll use var paymentElement

storm kelp
#

Ok, if you're using React then it'll be:

<PaymentElement options={{ wallets: 'never' }} />
distant sandal
#

thanks