#captainolympus_api

1 messages ¡ Page 1 of 1 (latest)

young bearBOT
#

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

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

still crater
#

Does stripe allow auto debit from customers , based on some custom criteria fulfillment, NOT based on some interval(like monthly, yearly).
Yes you can use billing meters with thresholds

proper oar
#

I don't want to maintain any billing cycle, just whenever the user is exausted with the credits , I want to charge the customer immediately, is this feature available ?

still crater
#

Not sure, could you share more details/some concrete example ?

proper oar
#

We have some students whom we teach. Every student need to buy some credit points from us to take the classes online. Now, we want to implement a feature, where whenever the student is exausted with the credit points, we will immediately add some predefined credit to the students, so that the classes are never stopped, and immediately we will deduct the amount from the students payment account(credit card/bank account, as set by the student).

still crater
#

I see, thanks for the additional hints. You probably need to manage this as any off session payments. You first collect the payment method:
https://docs.stripe.com/payments/save-and-reuse
And then charge the customer when the criteras are met

young bearBOT
still crater
#

You can use Invoices too with these saved payment method.

young bearBOT
proper oar
#

Okay, so this will automatically charge the customer, and debit from their bank account Or they will just send a payment link to the customer to pay ?

neon plover
#

If you follow the method above you will have collected and saved a payment method (card, bank, etc) for your customer, which you can then charge as and when you need off-session according to the credit logic you described above

#

There's no native concept of credits inside of Stripe really, so you'd be better off modelling that in your application and then just charging their card/bank ad-hoc when you require