#LanGames
1 messages · Page 1 of 1 (latest)
Can you share an example cs_xxx?
this is when creting a test payment link
Apple Pay shows, Google Pay does not
when testing the payment link I see this
@nova spruce where do I get the cs_xxx id you wanted from ?
I also tried the PHP Checkout code sample. It works but there is no Google Pay button
I suspect it's because you're using Stripe Tax: https://stripe.com/docs/tax/checkout#create-session:~:text=When you enable Stripe Tax in Checkout%2C 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.
My Stripe account email is: info@boardgamesonline.net
If you want Google Pay to work with Stripe Tax, you need to collect a shipping address
Thank you for the help. I have one more question. I tried first to integrate Google Pay button only (via Google tutorial)
I added Stripe as my gateway
added my merchant id (stripe:publishableKey)
and tried to make purchase on localhost (in test mode)
the payment succeeds, but in my stripe dashboard I don't have anything
for transaction info in the JS I'm not adding my stripe product but just random price to test
Because this isn't a payment. You've simply just created a Token object from the Google Pay card
You can use that tok_xxx in an actual payment with Stripe now
so I have to call the Stripe API to make the payment?
That's a pretty advanced integration path, so I wouldn't recommend that
and I do this on the backend
Correct yes
thank you. I guess I'll stick with the simple Checkout approach
thank you once again for the fast and accurate help
np