#CoderBee-PaymentIntent
1 messages · Page 1 of 1 (latest)
whats the issue?
👋 I am back. @ocean kite can you elaborate on your issue?
Good day all
I am trying to pass the name and email of the user making that payment in the metadata.
For example I make a payment on the platform, I want to send my name and email to stripe alongside the transaction details
You should be able to do that! If you can provide the request id (req_xxx) I can take a look!
I don't get sir
Can you go to https://dashboard.stripe.com/test/logs and find your request recently? And can you paste you code here?
If you select it, find me the request id (req_xxx) on the screen
Ctrl+F and search for "req_"
When clicked on, it brought out the json response as sent above
There was no req but instead a pi
okie, just pate here the pi_xxx
pi_3KF4pBEWmv2fdqcq1dq4DRhR
From my code above, you can see receipt email which is the customer email, now I want to pass the customer name too
well you haven't passed in metadata yet
General Doc: https://stripe.com/docs/api/metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
And what key is expected to capture name