#simmzies - Checkout Descriptions
1 messages · Page 1 of 1 (latest)
It's a description field that can be sent to the Payment Intents API to update the description of the payment, is something like that possible using Stripe Checkout?
Here under PI object there's an optional field, wondering if there was something available that was similar https://stripe.com/docs/api/payment_intents/object
Or another workaround
What's your goal? Are you wanting this to be visible to your customers, or is this an internal value you want to keep track of?
It's an internal value we want to keep track of
Currently when we take a data dump of all payments, the unique payment id from Stripe checkout is displayed under the description instead of the name of the product
You can set arbitrary metadata on the Checkout Session object: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-metadata
Or on the PaymentIntents: https://stripe.com/docs/api/payment_intents/update#update_payment_intent-metadata
Got it, is there any other alternative? The metadata just doesn't show up as cleanly
Show up where?
So your goal is to see change description shown in the list of all payments in the Dashboard?
yes
You can update the description of the PaymentIntents generated by Stripe Checkout: https://stripe.com/docs/api/payment_intents/update#update_payment_intent-description