Visa Developer Community

Highlighted
Regular Visitor

Visa Checkout - Getting payment status (approved or declined)

Hi everybody,

 

Anyone knows how to get the payment status? If the payment was approved or declined by the card brand?

Actually, i'm a little clueless of how to proced.


In my code, first I get the response of javascript modal panel, and then send it to my backend aplication.
O backend, after anti-fraud check, I update the payment info with event "Authorize" and then with event "Capture".
I don't know if that is the right way of doing this...

5 REPLIES 5
Highlighted
Community Manager

Re: Visa Checkout - Getting payment status (approved or declined)

Hi there,

Working on getting you some help here. I'll get back to you shortly.

Thank you,
Ricardo



Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
Tags (2)
Highlighted
Community Manager

Re: Visa Checkout - Getting payment status (approved or declined)

Hi there,

 

Based on what you are saying - you are doing it right.

 

But you will get a response from Visa Checkout indicating if the authorization was valid after. That is what the capture will always be. What is your callid or a transaction ID - we will check for you.

 

-Ricardo




Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
Highlighted
Regular Visitor

Re: Visa Checkout - Getting payment status (approved or declined)

This response come through what endpoint/api call? What field on response have that information?
I did several tests, and I dind't save the callid's. I will run the test again and get back with that last callid.

 

Thank's, a lot

Highlighted
Community Manager

Re: Visa Checkout - Getting payment status (approved or declined)

Hi,

 

Checking in and making sure all is good with your test?

 

-Ricardo




Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
Highlighted
Regular Visitor

Re: Visa Checkout - Getting payment status (approved or declined)

Thanks for your help. But I think i missundertood the product.

Visa Checkout is just a EWallet service and not a complete payment platform.