#krut4rth
1 messages · Page 1 of 1 (latest)
Google Pay is considered a card payment method. There's no separate value for wallets like that
If you want to hide Google Pay you'll do it on your Payment Element: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-wallets
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?
Did you look at the link I shared?
.create() accepts a 2nd hash parameter, wallet is a field inside of that
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
Ok, if you're using React then it'll be:
<PaymentElement options={{ wallets: 'never' }} />
thanks