#.letscode

1 messages · Page 1 of 1 (latest)

normal ironBOT
hearty wagon
#

Hi there!

vernal fossil
#

Basically, I need to Create Subscription and give it to the User via API (link redirection). For this, First I created Session object --> session.getUrl() will redirect to payment page(subscription page)

By Webhook response, If user subscribed, Subscription Object was creating

Then I'm applying, SubscriptionScheduler for monthly recurring payments

#

so there is no way to create a Subscription directly for my requirement. Because if I create a Subscription, we don't have URL generation from a Subscription. So no way to user update the payment

#

any suggetions?

#

are u there?

hearty wagon
#

If you create a subscription with a Checkout Session, then you cannot set or udpate backdate_start_date.

#

You would need to create the Subscription (or subscription schedule) manually, and then collect the payment method with the Payment Element yourself

vernal fossil
#

So You mean, Stripe not supports my usecase? Create subscription via API and generate URL ?

hearty wagon
#

I'm sorry I don't understand your question. What is your end goal here? Create a subscription with a backdate_start_date?

normal ironBOT
vernal fossil
#

looks like use case not clear

#

please find below

#

Usecase

A User X wants to pay amount ($1000) in 4 installments, every 2 month. Sometime payments are for backdate. Means every month 8th, need to collect from the User payment method.



For this, I need to provide Subscription/Checkout URL via API, so it will be redirect. In the Subscription, I need to specify following elements
    1) Auto deduct monty every month
    2) Specify Interval(month), Interval Count(2) and Iterations (above case it's 4)
    3) Also needs to specify backdate (may be the invoice(not stripe, our interal invoice) may generate late)
    
    
To Satisfy this, how to proceed? We are looking Via API only, not manual approach
muted elbow
#

Hey! Taking over for my colleague.

#
    1) Auto deduct monty every month

What do you mean by this can you share a concret example ?

vernal fossil
#

if it's not possible by Checkout, what are the ways to provide without it manual ?

muted elbow
#

You can achieve that using the Subscription API, check the link I shred above

vernal fossil
#

Greate.. once I create a Subscription, how to give that to the end user? because at the end, he needs to pay via his own payment method

muted elbow
vernal fossil
#

thank you i'll look into it