#jmaat-subscription
1 messages ยท Page 1 of 1 (latest)
Hi there, just wanted to understand your question better, are you asking about the expiry of a subscription that has been created?
Yes, I don't know when it's due. The documentation is not there.
There is no expiry on Subscriptions created
They will continue for as long as they are there, running according to the billing cycle defined indefinitely until a change is made within the Dashboard or API.
Ok, I also want to know if the subscription can be done on the merchant's page? Just like online payments, there is no need to redirect to Stripe's web page.
I was wondering how you are currently handling the subscriptions? Is it via a Stripe Checkout Session?
Yes.
Can I pay for my subscription right on my page?
Juest like online payment
You can most certainly have subscriptions handled on the merchant's page, within your code, you need to pull the subscription components out of the checkout session, here are some sample projects you can use as a reference https://github.com/stripe-samples/subscription-use-cases, the idea is to have the subscription handled within your server side.
And when it gets to payment, you could then gather the payment information and either create a checkout session (without the subscription) or use the embedded UI component
https://stripe.com/docs/payments/payment-element
The latter is preferred if you would not want any Checkout Session URL redirection at all ๐
Perfect question, hope the option I described above helps you ๐
If you would like to have some example code to play with that does not require checkout session, on top of the GitHub example above, you could try the VisualCode Stripe extension https://stripe.com/docs/stripe-vscode, this will import the code within your editor immediately without having to stress with any setup ๐