#deadwood_api
1 messages ¡ Page 1 of 1 (latest)
đ 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/1273507497726054420
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! For a Subscription, there are two kinds of collection_methods - charge_automatically and send_invoice.
For charge_automatically, the customer's payment method is automatically charged, if they are late, this likely means that the payment failed for some reason. If you're using charge_automatically, how are you planning to collect the new payment method for the subscription - are you planning to collect payment details on your own site? Or are you planning to send the customer a hosted invoice page to make payment through?
For send_invoice, the customer would receive an email with a link to the hosted invoice page to make payment. There's no need for you to run any API in this case to manually attempt payment.
Yes, I created a function to update the new payment method, so when it has been updated, can I send an update so that this schedule runs auto payment again?
you can run this API to pay an Invoice : https://docs.stripe.com/api/invoices/pay
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
After payment, will the schedule run normally?
what schedule are you expecting to happen? in case you haven't seen this yet, you can use test clocks to mimic the passing of time : https://stripe.com/docs/billing/testing/test-clocks
can you share the subscription id that you're attempting to retrieve? the id should have the prefix sub_
do you also have the request id for that retrieval request? I took a quick look but the most recent requests are for cus_QfGn0aF6HzR8zk
A request id will look like req_xxx [0]
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
req_rDaaTol7iTazdm is made with this customer id : cus_QfGn0aF6HzR8zk and it doesn't have any subscriptions : https://dashboard.stripe.com/test/customers/cus_QfGn0aF6HzR8zk
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yes i think logs is frozen when i use time simulation
what do you mean? This has nothing to do with frozen logs
req_rDaaTol7iTazdm is made with this customer id : cus_QfGn0aF6HzR8zk and it doesn't have any subscriptions
If it doesnt have any Subscription Schedules, naturally it wouldn't return any results when you attempt to retrieve Subscription Schedules
ok
when i use simulate time, i cant get all customer in
req_iCQH1OxpDjCoY9
req_WvLFkr5qm4JB4t
req_4inSpteMoeL035
not show customer when i use simulate time :
cus_QfHDTPgBrxX092
cus_QfH9gwnx2rgnjQ