#myoussef-ubscription-renewal
1 messages ยท Page 1 of 1 (latest)
yeah what @acoustic needle said in the main channel (thanks Nick) subscriptions renew forever by default
how can i update my system if the subscription is paid or not, should i use webhook ?
yes you should use webhooks for this
can i define the date to pay for a subscription? for example the subscription should be paid before 15 days or 20 days from the end of subscription
no you can't do that
I'd recommend taking the time to read through our docs end to end @swift socket instead though we cover all of this in heavy details and all the steps
Thanks
can i specify the start date of subscription? i have annual repair service in my website, if the customer paid for one year and at the fourth month of the year he try to select auto renewal at this case i want to create a subscription for him that start from the end of the first year, how to achieve that ?
Did you look at the docs first?
I'm sorry to push but this is pretty simple and covered in https://stripe.com/docs/billing/subscriptions/billing-cycle which is one of our main docs
@swift socket can we continue to chat here please?
i received this error when i tried to create subscription "StripeException: This customer has no attached payment source or default payment method.
Can you share the request ID where you encounter an error? https://stripe.com/docs/api/request_ids
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes, i really read the docs and i have some confusion and i appreciate if you can help
i search for this error, and i found that i should add attach payment method to customer
Most likely you need to follow this guide close, specifically the use of payment_behavior=default_incomplete:
https://stripe.com/docs/billing/subscriptions/build-subscription?ui=elements#create-subscription
Sure, but I'll need the example request to look at in order to help
req_x4X5lnWf8IkV3C
OK that customer has no payment methods attached, as the error says
you need to review that portion of the guide and use default_incomplete then collect payment details client side to complete the payment
can i create a subscription with a start date in the future (e.g. create a subscription with a start date in 01/01/2023) ?
You can with subscription schedules! We have a documented use case for exactly that ๐
thanks