#invite4ever
1 messages · Page 1 of 1 (latest)
Hi there!
- If you don't set
payment_method_typeswhen creating a Checkout Session, then the payment method available will be automatic by default. This is mentioned here
In payment and subscription mode, you can omit this attribute to manage your payment methods from the Stripe Dashboard. It is required in setup mode.
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_method_types
- How to use payment_method_types to enable google pay and apple pay when we are using CheckoutSession POST?
If you enablecard, then Google/Apple Pay should be automatically enabled.
If we are not passing payment_method_types why in dashboard we see this message? We've detected that you are using payment_method_types to configure payment methods. To manage payment methods from this page, replace payment_method_types with automatic_payment_methods.If you prefer to use payment_method_types, refer to the manual settings page.
👋 taking over for my colleague. Let me catch up.
oh sorry digged deeper, seams our other team uses paymet_method_types when creating payment intent
let me know if you need any more help
Could you check what we are missing for google pay to work?
I guess you will need some id for that, where can i find account id or something that you could see our account?
any request id will do the job? req_vvgWMscN3f8g1H
are you logged in to your Stripe Dashboard on a chrome browser?
yes
can you please visit https://stripe.com/docs/stripe-js/elements/payment-request-button
and tell me if you're able to see the Google Pay button?
from mac i cant see, but from android phone i can
on your mac are you opening the URL on a chrome browser?
do you have a card saved in your Google Pay wallet?
yes on mac opened on chrome but there is no google pay saved.
but i have tried link on android phone with chome i can see google pay button on your link. But in our app when going to checkout session page google pay button is not visible
in chrome 100+ Google Pay will only work with previously saved cards on your account
I mean on the Google Pay wallet
you need to add a valid card
and then it will show up
But on phone in our checkout i cant see, but on stripe page that you provided i can
Also on this stripe page also can see https://checkout.stripe.dev/configure
Preview some of the features available in our prebuilt, hosted payment page.
you mean full link checkout? i can send you into pm?
"id": "cs_live_b151MRLCSiMwOEoeOgtn8M26po9saJj9fZ4rWC8lwSSNPId3uTgjVWjd3v", "object": "checkout.session",
thanks I will take a look in a sec
@thin minnow it's because of
https://stripe.com/docs/payments/checkout/taxes?tax-calculation=stripe-tax#create-session
When you enable Stripe Tax in Checkout, Apple and Google Pay are *only available to customers for sessions that require collecting a shipping address. *Apple Pay with Stripe Tax displays only when the customer’s browser supports Apple Pay version 12.