#nicolas-levrard_best-practices

1 messages ¡ Page 1 of 1 (latest)

graceful heronBOT
#

👋 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/1224870537285865533

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

radiant portalBOT
sly atlas
dawn badger
#

Thank you for your reply. But the reason is either duplicate, fraudulent or requested_by_customer. I want to write a reason myself, as it is possible to do on the Stripe dashboard.
By selecting "Other" as a reason, we can add a note on the payment. But I can't find a way to do this through API.

sly atlas
#

Adding a custom text on refund is a dashboard only feature I'm afraid

#

Or you can attach the custom text as a metadata to the PaymentIntent object?

dawn badger
#

My goal was to be able to define this reason, both through this feature of the Stripe Dashboard and on the administrator dashboard of my application.

As this is not possible, I can use the metadata of PaymentIntent object to get a similar result. Thank you.