#geo_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/1316493514703507498
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- geo_invoice-finalization-customer-updates, 6 days ago, 22 messages
Have you looked at using test clocks? https://docs.stripe.com/billing/testing/test-clocks
They're built to test recurring flows
Yup
What docs have you been referring to so far? I'd love to share the feedback with our docs team to see if we can add a callout to test clocks
Yeah it has a callout to this doc - https://docs.stripe.com/billing/testing
which does talk about test clocks
All good though. Easy to miss
I'll try this
Could I still get answers to my other questions please🙏🏼?
- What happens when a subscription is created but the transaction never completes
- If I buy a subscriptions with quantity > 1, if the sub is canceled, are all instances are canceled?
- I added application_fee_percent to connect accounts but I don't see any changes on the first invoice, it's just the regular price, how can I see the changes associated with passing this value?
What happens when a subscription is created but the transaction never completes
Are you asking about the first payment or recurring payment?
If recurring/renewal payment, after all the retries have been exhausted - we would default to what you've selected under manage failed payment for subscriptions settings here - https://dashboard.stripe.com/settings/billing/automatic
If I buy a subscriptions with quantity > 1, if the sub is canceled, are all instances are canceled?
Yes. The only way to keep other instances running would be to create multiple subscriptions.
I added application_fee_percent to connect accounts but I don't see any changes on the first invoice, it's just the regular price, how can I see the changes associated with passing this value?
Can you share an example subscription ID?
If you've configured the application fee correctly, then you should probably see portion of the payment get transferred starting from first invoice
no, what would happen if during checkout flow I create the customer, then the subscription, pass the payment intent to the elements for checkout but the customer never completes the transaction.
sub_1QUaK9RV63Pk0C88tqJOnc7R
no, what would happen if during checkout flow I create the customer, then the subscription, pass the payment intent to the elements for checkout but the customer never completes the transaction.
You can try it out in test mode to be 100% certain but based on thepayment_behavioryou choose - https://docs.stripe.com/api/subscriptions/create#create_subscription-payment_behavior
Subscription would remain incomplete for 23 hours and then would move to incomplete_expired state
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ah ok, so theres no need for me to do some type of clean up?
Correct
awesome!
For the test subscription you've shared, the application fee was deducted - https://dashboard.stripe.com/test/payments/pi_3QUaK9RV63Pk0C880oh6GHE1
It isn't reflected on the invoice but on the underlying PaymentIntent instead
oh I see
just to confirm, this would be the value based on what I passed on the creation payload?
Yes that looks to be the case
perfect! So on every invoice this value should be there and should always have the same value?
On every invoice's payment intent
But yes
Also the amount theoretically could change
You passed application fee as a percent
So if the invoice total ever changes due to priceschanges, tax changes, etc then the application fee amount would change too
Good to know, thank you and hanzo so much for your help!
No problem