#Jasuno

1 messages · Page 1 of 1 (latest)

icy solsticeBOT
thick frost
safe otter
#

So how want to start a subscription schedule but i do not want to use the check out session, i want to make it custom so i wanted to know if i can create a subscription and the pay the invoice with my own ui

thick frost
safe otter
#

In my specific case we are creating a rental property management application, so we are setting up all the landlords with connect accounts. Once the landload invites a tenant it will create a lease instance which will create a stripe product and a price attached to it, but rent is a re-accuring charge so we want to create a subcription when the lease is created, the tenant should be able to go into kera (our application) and pay their rent. Once the tenant logins in to pay their rent we gar going to have custome UI to start that proccess. I need to know if i can create a subscription once the lease is created and then use our custom UI to charge the first payment on that subscription.

Thing to keep in mind:
1.- The first payment may not happen at the same time the subscription is created.

2.- We want to use the same UI to to keep chaging the next invoices for the same subscription

#

Or will the subscription start once they make the first payment? since in the price we set recurring (montly)

sterile steppe
#

Hi @safe otter I'm taking over, give me a sec to catch up

safe otter
#

take your time

#

If the subscription starts after the first payment is make then i can use a payment intent and attach the price to it which will start the subscription

sterile steppe
#

OK, so basically you have your own frontend integration that is ready to accept a payment intent secret and you want to use that to pay the first invoice of the subscription, is this the correct understanding?

safe otter
#

yeah my frontend is connected to my backend which is connected to stripe

sterile steppe
safe otter
#

thanks

sterile steppe
#

No problem. remember to set payment_settings: { save_default_payment_method: 'on_subscription' }, when creating the subscription, so that collected payment_method will set as the default_payment_method for the subscription, so that Stripe will use it to automatically pay the subsequent invoices generated by the subscription.