#oftysterista_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1331544355558916227
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- oftysterista_api, 17 minutes ago, 87 messages
- oftysterista_api, 22 hours ago, 33 messages
- oftysterista_best-practices, 23 hours ago, 25 messages
- oftysterista_api, 1 day ago, 15 messages
Hello I want to update the customers payment method for the subs
what i did already is
Server side:
Create a setup intent and return it to the user in client side
Client Side:
user input the new card number
after input the new card number the payment method is added right? so what i need to do is to update the subs with this api https://docs.stripe.com/api/subscriptions/update
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
hello
The Sub will have that newly collected payment method
so if the user have many subs i need to loop it?
Yes
i mean i need to manually loop all the subs and update it with the new payment method?
is that the correct way?
Yes, correct
invoice.payment_succeeded
this is event everytime the customer succesfully charge right?
Hey! Taking over for my colleague.
Yes.
Yes sure, happy to help.
if i want to add tax for some customer, especially for customer from singapore they will be subject to 9% GST tax. how to achieve that?
should i create 2 different project?
You have two options:
- Set manually tax rate: https://docs.stripe.com/billing/taxes/collect-taxes?tax-calculation=tax-rates
- Or use Stripe tax: https://docs.stripe.com/billing/taxes/collect-taxes?tax-calculation=stripe-tax
Nope.
But if you want to apply tax only for particular set of Customers and not all. Then you should probably use Stripe Tax rates
Is the way to add tax for subscription and one time purchase different?
You can use Tax rates for recurring or one time purchase, just it depends on the Stripe product you are using
- Subscription: https://docs.stripe.com/billing/taxes/tax-rates
- Invoices (for one time payments): https://docs.stripe.com/invoicing/taxes/tax-rates?dashboard-or-api=api
- PaymentIntent (for one time payments): https://docs.stripe.com/tax/tax-customizations