#schteve
1 messages · Page 1 of 1 (latest)
The receipt description is taken from the associated Charge object: https://stripe.com/docs/api/charges/object#charge_object-description
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I'm not sure if updating that will reflect on the receipt
Okay, I think it does not, I tried updating the description of the PaymentIntent itself and its associated latest_charge and capturing the PaymentIntent afterwards, but the created receipt still only shows the initial description.
What's the pi_xxx?
pi_3N16OOIIvUltmYEy0JRctpmV
Hmm, I don't see any updates to either the PI or the Charge. Test Description was passed on creation: https://dashboard.stripe.com/test/logs/req_6t9E9SVpHXnXYJ
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Okay I figured it out, my calls to the update were wrong: I was using updateAttributes on the object itself instead of the $stripe->...->update() function.
Thanks for your help!
I have on follow up question though: Is it possible to attach multiple charges to a PaymentIntent and do they also show in the receipt?
I guess you mean multiple line items?
Not with a direct Payment Intents integration, no
Exactly
How is it possible then?
Checkout supports line items, for example. The payment receipt breaks them down