#PERF
1 messages · Page 1 of 1 (latest)
Hey there
You just use card for that
So if you aren't seeing Google or Apple Pay then the payment method type isn't the issue
gotcha ok, side note what is PaymentMethodTypeCardPresent type?
any suggestions on why apple or google pay is not showing up?
Are you using HTTPS?
yea this is within a react web app
If you go to this page in safari or chrome what do you see at the top: https://stripe.com/docs/stripe-js/elements/payment-request-button
Do you see Apple Pay or Google Pay button appear?
Hmm okay but you don't see these on your site
Are you using Payment Element? Or Payment Request Button?
well that isn't from the <PaymentElement /> that is from the Payment Request Element
right?
Yeah but it doesn't matter. It is just an easy way to check if your device is set up with a real card properly
ah ok well the stripe website work fine
I think i am confused why the elements capabilities. Should apple / google pay show up in this tabbed list?
Google Pay should show if you are serving over HTTPS, using Chrome, have a live card in your wallet, and didn't explicitly disable these wallets when you rendered Payment Element (see: https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-wallets)
Apple Pay is slightly different in that you need to verify your domain like we talk about here: https://stripe.com/docs/stripe-js/elements/payment-request-button?client=html#verifying-your-domain-with-apple-pay
but it should show on the tab list?
Yes
ah ok! thank you i figured out why 🙂
What was it if you don't mind me asking?
i was hosting my server on localhost not https.
However, what is the suggested way to "submit your payment information"