#blazehawk_code

1 messages · Page 1 of 1 (latest)

earnest vaporBOT
#

👋 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/1329377163044061236

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

lofty swallow
#

👋 happy to help

ancient whale
#

Hello

ancient whale
#

ok got it

#

checkout.session.async_payment_succeeded

how can i trigger this event? without the cli

lofty swallow
#

you just pay the checkout session with an async payment method

#

Use test cards to validate your Stripe integration without moving real money. Test a variety of international scenarios, including successful and declined payments, card errors, disputes, and bank authentication. You can also test non-card payment methods and redirects.

ancient whale
#

ok thankyou for helping!

lofty swallow
#

sure let me know if you need any more help

ancient whale
#

for a new question (related to subscription) shall i open a new thread or continue in this one?

lofty swallow
#

you can continue here

ancient whale
#

I will be working on subscriptions as well. What I am worried about is how to structure the subscription webhooks. Do you have any references for that?

For example, I want to track if a user has, let's say, $10 in their account, and payments are being deducted on a daily basis. After the initial payment, the user now has $0 in their account. The next time a payment is due, it will fail due to insufficient balance. Which event should I listen for in this case?

#

and how will stripe deduct their fee? on each payment made?

lofty swallow
#

for subscriptions it's better to listen to invoice.* events

#

and how will stripe deduct their fee? on each payment made?
we don't know anything about fees on this channel

#
ancient whale
#

okay thankyou for the references

#

i would have to go through them

#

anyways i think i got what i wanted

#

thankyou