#pete-email-receipt
1 messages · Page 1 of 1 (latest)
You bet, PaymentIntent.
pi_3JjQquEPgNxP31hs0uf7vWZd
(test mode)
When i issue an email, the titles "Package Deal" and "Spot Sub Jersey" are the only things that are included.
ah this was created by a CheckoutSession
try passing payment_intent_data.description on the CheckoutSession, I think that might show up on the PaymentIntent too but yeah for now I think Product description doesn't show up on the email, only name, try my suggestion and see if that works
👍 I'll give that a try!
Sorry, following up here; so right now i'm doing a checkout.session.create with line_items defined as:
{
price_data: {
currency: 'usd',
product_data: {
name: 'My Label',
description: 'my description',
images: [imageUrl]
},
unit_amount: 2900
},
quantity: 1
}
so I should change how I'm doing this?
@tired python
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
this is not inside price_data but top level on the CheckoutSession obj
Hmm, so I would need to parse each of the line items to pull them out into the description?
yes, give it a try in test mode, pass anything there like "testing 123, item 456" etc and see if it shows up on your charge receipt