#infinite_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/1273821158516592640
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
That Checkout Session hasn't been completed AFAICS ๐ค
Hey yeah with the way our workflow worked for individual payments, we captured the payment_intent during this step when checkout hasn't been complete.
Was trying to do the same with subscription but it looks like it's not provided.
I've managed to build a workaround but now I was just wondering are we meant to receive an invoice in test mode? I need to test some things (cancelling from invoice link etc)
I think it is this one https://docs.stripe.com/upgrades#2022-08-01
A PaymentIntent is no longer created during Checkout Session creation in payment mode. Instead, a PaymentIntent will be created when the Session is confirmed.
Also affecting PaymentIntent inside Subscription
Thanks yeah we're using an older api version which still supports it for paymentIntent
But yeah our main question is now whether i can receive an invoice in test mode?
Hmm which Invoice? When you created a Subscription via Checkout?
Yeah after the transaction has been complete
Okie, if you look at checkout.session.completed, look at the subscription and then latest_invoice would you see it?
I don't see any data inside the completed request (It doesn't display GET response in the portal)
I do see an invoice created but i do not receive an email
Can you share a completed CheckoutSession?
cs_test_b1Gylfntz0QMM40JfXUfYaeQezZkgKKhKNeK9JMwYm1Jm7BQqZMp5eQyJB
Here you are, there is a Subscription Id there, also an Invoice Id https://dashboard.stripe.com/test/events/evt_1PoFe8CHalkCPRwLHDUHDn4v
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Thanks for that, my issue was that no email gets sent. I was wondering if that was normal behaviour in test mode? We have it configured to email invoice / receipt.