#ranjeetthakur_60149
1 messages · Page 1 of 1 (latest)
Hello! How are you integrating with Stripe - Are you using Payment Element or Checkout Sessions?
Its Payment Elements
It's up to you to define how much to charge when you're using the Payment Element. You can use the two step flow https://stripe.com/docs/payments/build-a-two-step-confirmation to create a Payment Method first, then you can decide how much to charge the customer based off the Payment Method
you can check the card.country : https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-country in the Payment Method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Can we also exclude tax on Non-Autralian cards for every single price/subscription individually for the existing records?
Are you collecting payment for both one-time payments and subscriptions?
Yes
For the Subscription first time payment, you can follow the similar logic as for one-time payment, the only additional thing you would need to do is to add an additional recurring price for the GST. Subsequently, you also need to ensure that everytime the customer updates their payment method, you check if the GST is still required, if it's no longer required, you would remove that recurring Price that you've added for GST