#heynatefox_api

1 messages ¡ Page 1 of 1 (latest)

wise waspBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1357058614312960072

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

acoustic cedar
#

Adding @tropic needle

cobalt venture
#

Hi, I think subscription schedules would work best in this case. However, if you find this wonky, you can create a subscription for the first 6 months with a cancellation period, https://docs.stripe.com/api/subscriptions/create#create_subscription-cancel_at . Then, you can create another subscription. You'd collect the payment method once and then save the payment method as the default one on the customer, https://docs.stripe.com/api/customers/update#update_customer-invoice_settings-default_payment_method. This will allow you to use that payment method for future invoices on the customer.

Alternatively, the easiest option is to create the subscription. All the funds land on the Platform account. For the first 6 months, you make a Transfer, https://docs.stripe.com/api/transfers/create each time.

acoustic cedar
#

Okay- and would this require the user to re-subscribe at that point? Or would they not notice a difference on their end?

cobalt venture
#

Since you have the payment method details, you can just create the subscription on the server-side right? At this stage, it's possible that the issuing bank asks for additional authentication. In this case, you would need to bring the customer back on session so depending on what the issuing banks wants, they may have to come back on session to complete that step.

#

Actually, you can update the subscription

#

and set that value to null

acoustic cedar
#

Mmm that's the concern. We would need it to be seemless so that we're not interuppting peoples' subscriptions

#

Oh nice!

cobalt venture
#

This will be unset if you POST an empty value.

#

So you can stop the transfer happening after 6 months

#

Can you try that?

acoustic cedar
#

Okay, that's great. @tropic needle any further questions here?

cobalt venture
#

This helps advance time to test stuff like this

acoustic cedar
#

Do you want me to send you an email with the results? or re-open the ticket?

cobalt venture
#

No need. If it works great. If it does not, you can create another thread in Discord

acoustic cedar
#

Cool! Will keep you posted

cobalt venture
#

Sounds good. We close inactive threads so if this thread is closed, just create a new one and we will be able to unblock you.