#magician-receipt-description
1 messages ยท Page 1 of 1 (latest)
What specific payment details do you need to be there?
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
Can you share an example payment intent ID that has that?
yeah screencaps would help as well
Can you also share the payment intent ID for the connect one?
pi_2NGlBbpppddu4Brk1HSs12zG
Yeah so the issue here is with that specific connect account - the account literally has the business name "Stripe Connect"
ahh, sure that makes sense. This is our test data
Is there a way to get the description to show up on the receipt?
That PI doesn't have any description set at all when it was created, so we likely just defaulted to "Payment to <BUSINESS NAME>". If you set description when you create the PI, it should show up in the receipt https://stripe.com/docs/api/payment_intents/create#create_payment_intent-description
Ahh, so it won't get added to the receipt if we modify the description after the PI is created?
Or maybe a better question: Is there a way to add a description to the receipt after the PI is created?
magician-receipt-description
Just tested it out real quickly - I think if you update the description and then resend the receipt it should reflect the new description
hmm, we are using this view to link customers to the stripe receipt thru our web page https://pay.stripe.com/receipts/payment/CAcaJwoldXNlcl9wcHBkZHU0QnJrWjVHWWN3ZkNwbjUyR1ZCanl2UDNLYijO9IekBjIGJwbwCaJhOiwWQtZbHYEqgUQeVyziznoJEmztixNYA1PG8eFP-C-QBsmT4BPg8S0ew595Og
is there a way to regenerate or update this page in the same way you could resend a receipt?
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
Ah, but I think we do update the description before the payment succeeds
if you check the activity here https://dashboard.stripe.com/test/payments/pi_2NGlBbpppddu4Brk1HSs12zG
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
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?
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
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
Look at https://dashboard.stripe.com/test/logs/req_UlVlbwwMfBxz0s specifically, that's what you did that changed the receipt's description. Do the same for the Connect one and it should just work
Ahh, that makes sense. I think I don't have access to that link you sent tho
you should if you have Dashboard access
But mostly call https://stripe.com/docs/api/charges/update to update the description separate from the PaymentIntent (basically update both)