Answer the question
In order to leave comments, you need to log in
How to pay for goods and services on Stripe.com with one request?
Good afternoon:
Here is my situation:
There are 2 types of goods and 1 service in the basket.
We sell the goods for a one-time payment.
The service is a subscription that will remove the ODA every month. amount.
I climbed the docks, but did not find how to solve this. The idea came to mind to make 2 requests, first to pay for the goods, then for the service. But then I came up against the fact that after paying for the goods, a person may not have money on the card for the service and will have to make a refund or give an error. As soon as I came to terms with this, stripe threw me another surprise, the tokens turned out to be 1-time, i.e. 1 token one request.
Here is such a situation, someone may have come across a similar situation, tell us how you can get out of this situation?
Thanks!
Answer the question
In order to leave comments, you need to log in
A counter question, how did you connect Stripe at all? It's only for the statesmen
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question