#nicolas-customer-paymentmethods

1 messages · Page 1 of 1 (latest)

cinder terrace
#

Hi there! You should not need a client_secret to list Payment Methods. Can you share your exact code where you are running into this issue?

#

And can you confirm that you are attempting to list them from your Server?

feral blaze
#

Yes, I am calling Stripe API from my server with nodeJS

#

(and I retrieve customer_id from MongoDB, previously store)

cinder terrace
#

Can you add a couple logs there to see exactly what is returned in your .then and .catch blocks?

feral blaze
#

Ok I find out where the problem was coming from... a stupid copy paste in my business logic was throwing the wrong error. Thanks a lot for taking the time to answer me !