#yodasgerbil-descriptionfield-purchases
1 messages · Page 1 of 1 (latest)
Exactly what I was going to ask
Looking in to this, will get back to you in a minute
How are you integrating? If you are creating the PaymentIntents yourself there is a description property you can set on creation
i'm using the create.checkout.session
const session = await stripe.checkout.sessions.create({
payment_method_types: ['card'],
line_items: body,
mode: 'payment',
billing_address_collection: 'required',
success_url: 'http://localhost:8888/thank-you',
cancel_url: 'http://localhost:8888/',
});
payment_intent_data.description then https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-description
thank you, wasn't sure if it was a front end or back end change needed
Of course, happy to help. Should be as easy as setting that property