#.saberkhan

1 messages · Page 1 of 1 (latest)

spice plinthBOT
sacred shell
#

See the attached file

#

Above error is dur to code writtn in Postman.

fringe prawn
#

Find its request id of req_xxx

sacred shell
#

ok

#

req_W5ub2qcyEp7hRN

fringe prawn
#

Umm I see

#

The Doc could be missleading. Collect payment method details is a step of using ACH directly rather than CheckoutSession. Let me confirm with my colleagues

sacred shell
#

Ok. I coded exactly as it appeared on the document.

fringe prawn
#

Hi, if you input that email format directly into the Checkout Session page, wouldn't it work?

#

Sorry the Doc relates to Direct integration instead of Checkout

sacred shell
#

If I remove the above code then it will work

#

But not sure if the notification will be sent to the Bank account holder

fringe prawn
#

Yeah the code works, but when you view the Checkout Session page from Stripe, you would need to key in an email in format of {any-prefix}+test_email@{any_domain}

#

ie. saberkhan+test_email@hotmail.com

sacred shell
#

let me try above format

#

Same error with {any-prefix}+test_email@{any_domain} as in input

fringe prawn
#

saberkhan+test_email@hotmail.com

#

But not within the API!

#

Remove it in the API

#

when you actually open the Checkout Session in your browser, input the email in the page

fringe prawn
#

Maybe you passed in a Customer?

#

If you don't pass customer, there will be a field here

sacred shell
#

ok

#

I do not see above "Contact Information Email" field in my request.

fringe prawn
#

It's this line customer: "cus_OJpMyf0cwYrWX7"

fringe prawn
#

Have you tried saberkhan+test_email@hotmail.com?

#

I just tried and it works for me

sacred shell
#

Let me try tat one

#

It works. Will you explain why we have to input email this way? Not sure I understand the logic behind it.

fringe prawn
#

It's the way Stripe provided to get an email, because normally we don't send email in Test mode

sacred shell