#Mariozpolis-checkout-pi-description
1 messages · Page 1 of 1 (latest)
pi_3KeGsZ22yQNVuPFz0fHqe2JN
the item has the correct description but if I search for the OrderNo i cant find it as it is not ion the list
i.e. here
these are all on the test environment
There's no description set on the Payment Intent, it's set on the line item of the underlying Checkout Session: https://dashboard.stripe.com/test/logs/req_QZ4iBSRhrhuI4q
That won't surface there
The field surfaced in the Dashboard is this: https://stripe.com/docs/api/payment_intents/object#payment_intent_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.
yes, I know but I am also getting the payment id and pushing a new line to it
'get the payment intent and change the description
Dim oPaymentIntent As PaymentIntent = New PaymentIntentService().Get(oSession.PaymentIntentId)
oPaymentIntent.Description = $"{ProductDataName} {OrderNo}"
I can't see that API request on this particular PI you've shared
Can you share the API request ID for it? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
I start a new service, then a session.create
then get the payment intent from the session
Yeah, that won't work. The Checkout Session will create it's own PI. What you need to do is use the payment_intent_data.description parameter when creating the Checkout Session: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-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.
OK, thanks will try - thank you
beautiful it works as expected - thank you - you may close this thread
great quick service
Excellent, np!