#mkrei - subscriptions

1 messages · Page 1 of 1 (latest)

heavy tusk
#

Hello

#

Give me a moment to catch up here

#

Can you share a request ID for where you are creating a subscription?

sacred fjordBOT
#

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

zealous prism
#

HI @light wharf I have pulled up your create subscription request

light wharf
#

Ok

zealous prism
#

Now what is your question about this request?

light wharf
#

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.

zealous prism
#

Could you just describe when you create the subscription, invoice, and collect payment?

light wharf
#

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.

zealous prism
#

Okay so you are going

  1. Subscription
  2. Invoice
  3. Payment
    Correct?
light wharf
#

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.

zealous prism
light wharf
#

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.

zealous prism
#

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.

light wharf
#

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?

zealous prism
#

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.