#jmaat-subscription

1 messages ยท Page 1 of 1 (latest)

severe field
#

Hi there, just wanted to understand your question better, are you asking about the expiry of a subscription that has been created?

inland mural
severe field
#

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.

inland mural
#

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.

severe field
#

I was wondering how you are currently handling the subscriptions? Is it via a Stripe Checkout Session?

inland mural
#

Can I pay for my subscription right on my page?

#

Juest like online payment

severe field
#

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 ๐Ÿ™‚