#jose-fernndez_code
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1246081491880902739
đ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
What's the question exactly?
What do you mean by "unable to verify the events"?
In the test environment, I can't receive transaction events when working with subscriptions.
How can I test the complete flow?
Hi there. You can test the flow locally by following this guide: https://docs.stripe.com/webhooks
Specifically this section: https://docs.stripe.com/webhooks#test-webhook
I have some additional questions. I see that the repository works with the "checkout.session.completed" event. Is this the event I should consider to know if the transaction was successful?
Only if you don't use delayed notification payment methods. See: https://docs.stripe.com/payments/checkout/fulfill-orders
If there's an error in a subscription payment over time, which API should I use to retry the charge?
You can automate this: https://docs.stripe.com/billing/revenue-recovery/smart-retries
ok
Does every invoice need to be sent to the buyer by me, or does Stripe handle that for me?
You're referring to each recurring Subscription invoice?
Yes
And do you want those invoices to be charged automatically and sent after payment succeeds, or do you want the customer to have to manually pay each?
I would like the invoices to be charged automatically and sent after the payment is made.
Gotcha. Yeah you can enable the emails for successful payments here: https://dashboard.stripe.com/settings/emails
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
That will send receipts with a link to the invoice on successful payment
ok
If the payment fails and the buyer changes their payment method or resolves the issue with their current method, does the automatic process still continue?
Yeah as long as you didn't configure the subscription to cancel or something if payment fails
ok
Regarding taxes, does Stripe handle this automatically? Since every country has its own tax regulations, I'm unsure if Stripe takes care of this on my behalf.
Only if you enable stripe tax: https://stripe.com/tax
Besides taxes, are there any country-specific features or regulations that need to be considered and vary by country?
idk we're just developers who help with the api
we aren't familiar with regulations
ok
In subscription mode, does the transaction fee charged by Stripe change, or is it the same as with payment mode? Or is this already a matter of commercial negotiation?
We aren't familiar with fees either in here. Just help with api questions
Likely you need to talk to Stripe Support
OK thanks for the help.