#Elringus

1 messages ยท Page 1 of 1 (latest)

dim karmaBOT
light cloak
#

Hi there. Let me check on this

#

Do you have a sample payment intent ID where I can see this?

lyric anchor
#

I have an event id. Will that work?

#

Or session id.

#

Not sure where to find intent ID.

light cloak
#

Either of those should work. Just as long as I can observe the behavior you're referring to

lyric anchor
#

Ah, my bad, here it is: "payment_intent": "pi_3MyyQJGVcB1Dv1c92Dz0V9r8"

light cloak
lyric anchor
#

Uhm, Stripe was automatically sending the receipts, so I've relied on that.

gleaming barn
#

๐Ÿ‘‹ stepping in

#

Can you clarify what you believe changed here?

#

Are you saying there is increased latency between when the Charge is updated to contain the receipt_number

lyric anchor
#

Yeah, it's that, probably. Previously, I've used to retrieve the number on charge complete event and register the purchase on our end, but now it's not always available.

#

checkout.session.completed event, I mean.

gleaming barn
#

Ah okay yeah I don't believe this is a behavior change overall. We never promise for the receipt_number to be available instantly. It is dependent on the receipt_email being sent and if that is delayed then so will the receipt_number on the Charge be delayed a bit

lyric anchor
#

Ah, ok. Is there a way to force the number to generate after checkout? Like, will requesting the receipt url work?

gleaming barn
#

Hmm maybe

#

Let me check

#

Yep actually looks like that should work. If you can trigger opening the receipt_url then the receipt_number will be populated

lyric anchor
#

Ok, will try that. Thank you!

gleaming barn
#

๐Ÿ‘