#magician-receipt-description

1 messages ยท Page 1 of 1 (latest)

acoustic finchBOT
tame hollow
#

What specific payment details do you need to be there?

sullen jewel
#

For a non connect receipt, the description shows up on the receipt, but for a connect receipt it just say "Payment to stripe connect"

#

I've got some screencaps if that might make it a bit more clear

tame hollow
#

Can you share an example payment intent ID that has that?

#

yeah screencaps would help as well

sullen jewel
#

one moment

#

^ non connect receipt

#

connect receipt

tame hollow
#

Can you also share the payment intent ID for the connect one?

sullen jewel
#

pi_2NGlBbpppddu4Brk1HSs12zG

tame hollow
#

Yeah so the issue here is with that specific connect account - the account literally has the business name "Stripe Connect"

sullen jewel
#

ahh, sure that makes sense. This is our test data

#

Is there a way to get the description to show up on the receipt?

tame hollow
sullen jewel
#

Ahh, so it won't get added to the receipt if we modify the description after the PI is created?

acoustic finchBOT
sullen jewel
#

Or maybe a better question: Is there a way to add a description to the receipt after the PI is created?

slim turtle
#

magician-receipt-description

tame hollow
#

Just tested it out real quickly - I think if you update the description and then resend the receipt it should reflect the new description

sullen jewel
#

is there a way to regenerate or update this page in the same way you could resend a receipt?

slim turtle
#

no that's not possible. You'd need to make sure you set the right description before the email is generated (so before the payment succeeds) in this case

sullen jewel
#

Ah, but I think we do update the description before the payment succeeds

#

first we send an update request with the description, then we send a capture request

#

Which works with our non-connect PIs

#

By "works" I mean sets the description in the receipt

slim turtle
#

yeah but the PI succeeded before capture and the email receipt was generated then

#

Okay let's take a step back, can you give me, in one message all at once, a clear example of one PaymentIntent where this worked fine with the exact receipt URL you use and one where it didn't?

sullen jewel
#

sure

#

one moment

#

Here we have a non-connect PI (pi_2NGmg0FH8YjjVMbF1EWNigGR) where we show the following receipt: https://pay.stripe.com/receipts/payment/CAcaIgogRkg4WWpqVk1iRjZkb1d1VXZiWlRkNDFGMkYxTlRUeHoo2KWIpAYyBvU2bF_HODosFnX89kFnW0yryVFuqkFTyI3tPjDA-XuB19dOwpJI5nd7zhqrOfUAzZeJhS0. Here we have a connect PI (pi_2NGlBbpppddu4Brk1HSs12zG) where we show the following receipt: https://pay.stripe.com/receipts/payment/CAcaJwoldXNlcl9wcHBkZHU0QnJrWjVHWWN3ZkNwbjUyR1ZCanl2UDNLYijqpoikBjIG520XQFCVOiwWcu5ycSvTPRM1F0Quso-dwWMuGt4DGrVdvwlxUB_CBcbmabYBaWOlWrLkBg. As far as I can tell, the order updating the description happens after creation and before the PI gets the "succeeded" status

slim turtle
#

ah I think I know the difference. The first one you seem to have written custom code that updates the underlying Charge's description. I forgot that's how it works

sullen jewel
#

Ahh, that makes sense. I think I don't have access to that link you sent tho

slim turtle
#

you should if you have Dashboard access

sullen jewel
#

That makes sense ๐Ÿ‘

#

Okay, I think I may see the issue in our code. I want to check something but this makes sense!

#

Thanks for the help ๐Ÿ™ !