#infinite_api

1 messages ยท Page 1 of 1 (latest)

kind oxideBOT
#

๐Ÿ‘‹ 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.

uncut sierra
#

That Checkout Session hasn't been completed AFAICS ๐Ÿค”

north blaze
#

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)

uncut sierra
#

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

Keep track of changes and upgrades to the Stripe API.

north blaze
#

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?

uncut sierra
#

Hmm which Invoice? When you created a Subscription via Checkout?

north blaze
#

Yeah after the transaction has been complete

uncut sierra
#

Okie, if you look at checkout.session.completed, look at the subscription and then latest_invoice would you see it?

north blaze
#

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

uncut sierra
#

Can you share a completed CheckoutSession?

north blaze
#

cs_test_b1Gylfntz0QMM40JfXUfYaeQezZkgKKhKNeK9JMwYm1Jm7BQqZMp5eQyJB

uncut sierra
north blaze
#

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.

uncut sierra
#

Ah

#

Test mode doesn't send email

#

Sorry about that