#viaggio-checkout
1 messages ยท Page 1 of 1 (latest)
when the stripe screen opens, 'pay with card' appears on the right hand side. Under that there are fields for payment information followed by 'pay' button. On the left, we have the total amount the customer is paying
is there a way to customize this half of the screen to show the product details for this purchase
we are looking to customize the side with the red box
I can see why, there isn't much displayed there. Can you provide the request ID (req_XXX) of the request where you created that checkout session? I'm curious what information was passed in.
can you please provide me with steps to find the request ID
Sure thing, this article helps explain it:
https://support.stripe.com/questions/finding-the-id-for-an-api-request
But first, are you creating a checkout session via the API, or are you using a Payment Link created in the dashboard?
i believe payment link
Do you see the link listed here? (You may need to turn off the test mode toggle depending on whether it was created in test or live mode)
https://dashboard.stripe.com/test/payment-links
i have clicked on the links
but i do not see (req_XXX) anywhere
pi_3K9aDOJTuEQC1zts05MCgctK
Yeah, sorry about the confusion. The request ID was if you were doing things through the API, but it sounds like you're primarily working with dashboard functionality.
ah! okay makes sense
I'm trying to get a feel for what you're currently doing so I can see what suggestions we have.
Let me see what I can find from that PI.
thank you so much
Okay, so you're not using Payment Links, you are creating Checkout Sessions. Taking a closer look at the parameters that you're passing in.
is one more secure than the other?
No, they're different ways to do the same thing, but checkout sessions have more capabilities since payment links are a no-code approach.
oh okay!
So you can also include the price_data.product_data.description field, which will also be displayed on that side.
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data-product_data-description
Your customization options will be limited to leveraging the various parameters that are available when creating a checkout session.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sorry, we don't do that here. However, your thread will simply be archived, so you should be able to come back and view it later.
You can search for it by putting your username into the thread search (found in the # icon near the notification and pin icons at the top of the page)
๐ thank you for your help today
Any time!