#thomasnevink

1 messages · Page 1 of 1 (latest)

tawdry brambleBOT
urban warren
#

Hi there!

#

You want to use saved payment method for a specific customer, or all of them?

dry sun
#

I have used PaymentIntent for making payments and attached payment methods such as cards to a customer, what I need is to kind of like a GET API call where I can view each customers saved cards

urban warren
dry sun
#

What is the API endpoint for accepting a payment and showing the status of the paymentIntent?

urban warren
#

Do you know how do you want to accept payments? Checkout Session, Payment Element, something else?

dry sun
#

Payment Element

urban warren
#

Or did you mean to make a pyamnet with an existing saved payment method?

dry sun
#

ok

#

So the status of the payment is handled in the .js file

#

Not in the api side?

urban warren
#

It depends, what exactly are you trying to do?

dry sun
#

Well, I sent the clientSecret to the front-end using PaymentIntent creation

#

Now I'm doing confirm payment in my front-end Angular v12

#

Can you provide a guide for integrating Angular v12 on the front-end and netcoreapp2.2 web api on the backend

#

Have some issues in the Angular side

urban warren
#

Well, I sent the clientSecret to the front-end using PaymentIntent creation
Now I'm doing confirm payment in my front-end Angular v12
Yes that seems correct to me. Does it work, or do you get any errors?

dry sun
#

.net api is working fine

urban warren
#

Can you provide a guide for integrating Angular v12 on the front-end and netcoreapp2.2 web api on the backend
We don't have guides for Angular unfortunately

dry sun
#

The above is my response body

urban warren
#

Thanks! Give me a few minutes to look into this.

#

Your API request was made by acct_1032D82eZvKYlo2C. However the PaymentIntent ID comes from a different Stripe accounts

#

It looks like you are using the wrong Stripe API key somewhere.

dry sun
#

Let me check

#

Seems like we used the wrong key

dry sun
urban warren
dry sun
#

Ok thanks @urban warren , will get back to you if I get stuck again

urban warren
#

Happy to help 🙂