#khushal_api
1 messages ¡ Page 1 of 1 (latest)
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- khushal_sub-schedules, 1 day ago, 46 messages
- khushal_api, 1 day ago, 14 messages
đ 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/1235231652385656903
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Can you share more context on what you mean by "save default payment on subscription schedules" ?
this is subcrpiton payload and i want
" 'payment_settings' => ['save_default_payment_method' => 'on_subscription']," in subscription schedule
There's no way to collect a payment method using subscription schedules API
i just want to save default payment method on subcription via subscription schedule
Have you already saved this payment method? If so, you can specify it under subscription_schedule.default_settings.default_payment_method
https://docs.stripe.com/api/subscription_schedules/create#create_subscription_schedule-default_settings-default_payment_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
like i need to save payment method to the on subcrition
The doc that hanzo linked to is the setting to enable that behavior. Have you tried using that setting?
we don't have payment method id when we create a subscription schedules i need to save when user finilay invoce and pay invoice can we do that ?
By default we will save the payment method as the customer's default payment method when you set up a subscription schedule like this