#diggger - Descriptions
1 messages · Page 1 of 1 (latest)
Hello! I believe you can update the Payment Intent's description, although I'm not 100% sure which part of our Dashboard that screenshot is from: https://stripe.com/docs/api/payment_intents/update#update_payment_intent-description
alternatively is it possible to generate a csv report of all transaction with each product line item broken down in the transaction
for example transaction A shows product x, product y etc.
that screenshot is from payments -> all payments
is there no way to do it from within the stripe session checkout object, i get the error Stripe::InvalidRequestError (Received unknown parameter: description)
all of the data i need is broken out in the line items key of the object, i just need this to be pulled into a report via the dashboard
Sorry, let's back up a bit. You're using Checkout to charge people for multiple items in a single session and you want a report showing details broken down by each line item?
I am using the ruby api and creating sessions to charge users for 1 line item
i was just using that as an example of what i want to accomplish
but it's 1 session for 1 line item
and i want to display the product name (line_item: name) on a report
clicking into the transaction line item on dashboard -> payments -> all payments accurately shows the information i want to display in a report, the product name
I don't think that's something we support directly, it's likely something you would need to build on your end. You could do it with a query in Sigma: https://stripe.com/sigma
Or you could do it with a script/code that hits the API.
ok, but is there a way to update that "Description" column on the dashboard while the transaction is taking place?
That depends on your definition of "while the transaction is taking place". Let me test something, hang on...
I mean by passing in some param to the stripe:
:session object and having it update with the corresponding product name
stripe checkout session*
all of the information i have is here, i just need to surface it to the table so it can be generated in a report, unless there is another way
Okay, you can't set it on the Checkout Session itself, but you can update the Payment Intent created by the Checkout Session immediately after you create the Checkout Session. I just tested it and it works.
Does that make sense?
No problem! If you need help with the code let me know. I tested in PHP as I'm not very good with Ruby, but I can muddle my way through if needed. 🙂
that was really helpful, thank you so much