Anyone know how to retrieve payment method from Strip.js?
Get data from an external API > Stripe.js Retrieve a PaymentMethod > PM-ID > card brand
This is how I have it now but it’s not pulling anything.
Please help.
Thank you
Chris
Anyone know how to retrieve payment method from Strip.js?
Get data from an external API > Stripe.js Retrieve a PaymentMethod > PM-ID > card brand
This is how I have it now but it’s not pulling anything.
Please help.
Thank you
Chris
Anyone?
Hi, I have the same problem, I couldn’t make it work. Did you find a solution?
It did not work. I have to do this with a API connection.
I have managed to solve this today.
So I created 2 workflows on page load.
Display list of repeating group (e.g rgSavedCards) and then set the data source to >>> Stripe.js - List all Customer’s PaymentMethod’s data
I dynamically set the CustomerID to be the customer ID I have previously saved against the user.
My rgSavedCards then has a data type of Stripe.js - List all Customer’s PaymentMethod’s data and not Stripe.js - List all Customer’s PaymentMethod’s
I then set the values I want to display using standard inheritance in my repeating group
In the stripe portal, make sure the payment method has been attached to the customer correctly.
If you want to retrieve payment methods, you use the CustomerID and not the PaymentMethodID. Then you can set a state (PaymentMethodID) to reference on the page when the payment method is selected. Then use both that state and the current customer’s CustomerID for the PaymentIntent action.
I had the same issue kalumt2020.
My problem was that my “Authorization (shared headers)” wasn’t correct.
When I used the debugger on the repeating group, I was getting an error saying I hadn’t provided authentication.
So I checked and I had the incorrect value in the Plugin auth field. You must add “Bearer” space “secret key” per the screenshot.
Now working fine.
how do I access the shared headers key?