#bobalova-checkout-googlepay
1 messages · Page 1 of 1 (latest)
Do you have an example Checkout Session URL I can take a look at? I just want to confirm whether I see those options show up
https://www.fables.gg/pricing , clicking on subscribe should generate a checkout session URL
Hmm... so I believe this is related to the saved payment methods - that auto-populate in Checkout. I can get Apple Pay to show up by clicking "change" next to the saved payment method, but I can't get google pay to show up
Yes I can also manage to get Apple Pay to work on my devices but not Google Pay. This is a screenshot of what my customer sees as well if that helps at all.
Is there an option that disables auto populate or sets it to display all the available payment options for their location?
We only display Google Pay or Apple Pay if the user has it setup on their device, so we wouldn't display it all the time
I'm still looking into why Google Pay isn't showing up though - give me a few minutes
Interesting... I can get Google Pay to show up fine on my end even with the saved payment method - I wonder why it wasn't working when I look at your URL
@smoky inlet what do you see on https://stripe.com/docs/stripe-js/elements/payment-request-button
like at the top, which button do you see?
this is what I see
Sorry do you mean when you use a different a service's checkout URL or when checking out through our links?
thanks
bobalova-checkout-googlepay
Does it happen for all your Sessions with a customer preset or only that one?
As far as I can tell, for all customers. Though we're always presetting a customer in the checkout parameters so that we can set the stripe metadata like so:
// Attach the stripe customer to the create params if it exists, otherwise create it first then attach it
if (user.stripeCustomerId) {
params.customer = user.stripeCustomerId;
} else {
const stripeCustomer = await stripe.customers.create({
metadata: { userId },
});
await prisma.user.update({
where: { id: userId },
data: { stripeCustomerId: stripeCustomer.id },
});
params.customer = stripeCustomer.id;
}
Not sure if that makes any difference or not.
yeah still trying to debug/reproduce (sorry Discord is quite busy in parallel)
Yeah I understand, no worries. Thanks for the help!
lol
you have automatic tax enabled
When you enable Stripe Tax in Checkout, Google Pay is 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.
lol
Okay so then I guess I'll tell our customers that we don't support Google Pay at the moment, though why doesn't it fall back to using a billing address? Assuming that might be some Google specific thing? We don't want to collect shipping addresses since we're an online only product that doesn't ship anything to customers, so would be a nice feature request if you guys could support the billing address instead.
Though I get it if it's some blocker with Google, thanks for the help!
yeah it's unfortunately a limitation right now for tax + Google Pay
Gotcha, thanks again! Was going crazy trying to understand this haha