#mkrei - subscriptions
1 messages · Page 1 of 1 (latest)
Hello
Give me a moment to catch up here
Can you share a request ID for where you are creating a subscription?
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
This thread has been archived. If you need help with anything else please ask in #dev-help or contact Stripe Support: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
HI @light wharf I have pulled up your create subscription request
Ok
Now what is your question about this request?
Well when the request is made, the invoice is created later and then a payment is processed an hour later. Is there a way to make this subscription request where the initial invoice is paid immediately based on the source/collection method? We want to know immediately if the cc information and payment was successful.
I could upload a file showing how we are implementing the stripe payment process.
Could you just describe when you create the subscription, invoice, and collect payment?
The user inputs some personal information, then their credit card number, expiration date, and name on their card and clicks a "Submit" button which then creates the customer and subscription in code using the stripe-dotnet library.
Okay so you are going
- Subscription
- Invoice
- Payment
Correct?
Well, maybe that is what we are doing wrong. In code we just create the customer, then the subscription. We don't specifically create an invoice/Payment. We are just creating a subscription with the detail about frequency/price. In code, we don't create a separate invoice/payment. It seems that that is done by stripe
It seems that the invoice/payment is created by stripe after they receive the subscription request.
It depends on how you configure your subscription. If you take a look here could you tell me how your flow differs from what is descibed here?
https://stripe.com/docs/billing/subscriptions/overview#subscription-objects
I'm going to have to take some time to review this. I have take over this project from another developer and still learning about the API. I will get back here after I review the documentation associated with that link. Thanks for your help today.
These docs are pretty good at both walking through the code and the general business logic. Definitely take the time to read through and understand them. I will be happy to answer any questions you have while you do.
I do have one question. The developer that has worked on this says that there is no way for a subscription to be billed in real-time on the initial invoice/setup of that subscription. I assume he is incorrect. I would think that the Stripe API could process/verify the credit card and payment of a user that is buying a subscription and notify them while they are on the web page that their cc/payment was a success or failure. Is that correct?
It can be done but it is not recommended simply because there is a delay in the response and you have no certainty the user will remain on-session. That is one of the reasons we recommend webhooks and async notifications to your users.