#LIL Vrau
1 messages · Page 1 of 1 (latest)
👋 @teal cliff How can I help?
Hello River
I am testing stripe's api
I developed an 3d party app, and i'm running some tests using the stripe cli
i ran the app locally
and the objective of the application is to receive the json data of an stripe event, model this data and fill a line in google sheets using sheets api
whatever
this is not so important
the thing is
I want the json i sent using stripe cli to have an e-mail parameter
because when a customer buys a plan in our store, we automatically receive his e-mail in the json
but when testing, the cli sends the "email" field empty
I read the documentation and I found this
stripe trigger payment_intent.succeeded --add payment_intent:customer.email=test@test.com
I sent this command to the cli, but received an error message.
I don´t know what to do anymore lol
What error message did you receive?
I see! Checking it now
Payment Intent API doesn't support customer.email. What you should do is to create a Customer first with the email, then set the Customer ID in customer parameter of Payment Intent
ok man, tk u very much
No problem! Happy to help 😄