#corytea
1 messages · Page 1 of 1 (latest)
What do you mean?
I have a normal form where I calculate taxes based on the upcoming invoice based on the ZIP they chose, but I can't do that since apple pay is just automatic and the price that is displayed via that api is just set inline in JS
But you can set the price yourself after tax calculation
Step 1 would be to calculate tax then step 2 would be to create the payment request, etc
hmm okay, how would I calc tax witnout knowing their zip yet though?
oh interesting. So is it impossible to collect sales tax via Apple Pay if I don't have them enter geo-location data before hand?
Or are you just talking about the actual "display"
I think you could also handle this in the same way as you would handle shipping address: https://stripe.com/docs/stripe-js/elements/payment-request-button?client=html#html-js-collecting-shipping-info
That is if you're relying on a shipping address