#stavros-malakoudis_docs
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1312010749916483625
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- stavros-malakoudis_api, 27 minutes ago, 11 messages
Hi, let me help you with this.
Thanks for reporting. But I think the typo is actually in Charges API tab, no?
-d "level3[line_items][0][product_code]"="Order Summary" \
-d "level3[line_items][0][product_description]"="Order Summary" \
In all other sections product_code is a number
My understanding is that merchant_reference is the order id and since Level 2 means "providing a single summary-level line item", what would the product code stand for? Is it just a placeholder?
If so, then yes, the typo is on the Charges API indeed
Let me reprhase since my English is a bit rusty. Since we already provided the order-id in the merchant_reference, what does the product code field contain? Is it another arbitrary id?
Yes, but it shouldn't be completely arbitrary. Same product can be purchased multiple times, in which case merchant_reference should be different but the product_code should be the same.
But we are talking about Level2 data where we cannot supply individual line item data, only order level summary
Got it. In that case, yeah, it can be an arbitrary string.
So, what type is the correct one? Payment Intents or Charges?