#buckets-checkout-shipping
1 messages · Page 1 of 1 (latest)
buckets-checkout-shipping
@knotty fog can you give me an example Session id I can look at?
sure, one second
i asked this question on behalf of a teammate - i'll ask them to pop in here directly, or ask another question if that's OK
sure
Hi, this is our test environment: cs_test_b1xnvf0Ofuh8oioLZ0kMpEAucT0moq7feT0ahGYKwR094A6DPq98dvT3XS (Google Pay available)
cs_test_b1sa8aHq3kZo9YrNiDOVqNyf8pMhStwIgbYOsgeC8rYAMb3zPFllvvFmAw (Google Pay not available)
First one we require shipping address to be provide, second we do not. NOTE: This is with automatic_tax enabled
https://stripe.com/docs/payments/checkout/taxes?tax-calculation=stripe-tax#create-session
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.
this is a requirement on our end today
Trying to figure out why this is the case. If a customer uses Google Pay, they don't actually make use of the input field for shipping address on the checkout form, so why require it?
We require the shipping address to calculate tax in this case, it's just a hard requirement, no way around it today
We request the billing address for tax calculation. Shipping address seems to only affect if Google Pay is enabled...
Correct, that's what the text I quote explains. This is to be able to calculate tax before opening the Google Pay UI. Really this is a hard requirement, no way around it for now
Ok, thank you for looking into this. One more question, somewhat related, is it possible to query how many of our existing customers have made use of Google Pay when subscribing (we don't currently enable tax so this option has been available to our existing users)
you can use the List Charges API https://stripe.com/docs/api/charges/list and then for each one check if they have https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-wallet-type set to google_pay I think