Hi Visa Community,
I'll do an integration with Visa Checkout button and I need to take of bellow doubt:
- How I do for follow changes of status payment after the purchase with Visa Checkout? Is there a way to connect with WebHooks to manager it?
Thanks in advance!
Solved! Go to Solution.
Can you please provide your use case and what it is that you're trying to do? If you'd like to integrate with Visa Checkout, please follow the integration guides below.
You'll need to remember that you'll need to have an active merchant acquiring account to process Visa Checkout transactions. Please let us know if the integration guides help answer your question or if I can provide you with further assistance. I'm happy to help.
Hi @DianaTran-Yee ,
Thanks for response.
I had read this doc and not found about receive the update about the payment without make a Get request to API of Visa.
The user make a purchase through button Visa Checkout, I receive the payload from event payment.success, right? From there I would like do a register in a service that tells me when has update status on this purchase. Is there something like this? It is well known as Web Hooks.
Please take a look at this documentation for checking payment status and webhooks. Here's the link below for our newest Developer documentation. https://developer.visa.com/products/visa_checkout
I can't find in this documentation, nothing about hooks. So, I think that I should make a request regularly to API Visa to know about one transaction, can you confirm if that is the only way to this?
Let me clear in why I'm looking for webhooks, (In a hypothetical situation)
If one client buy something with Credit Card, in the first moment the purchase was successful, but a few hours later, the purchase is canceled by the client. How Do I know about this change in status of purchase programmticly?
Should I make a request each 5 minutes, for exemploe, waiting for changes, or there is a way which I can set one listener in API Visa for receive in my server any changes that can happen about the purchase?
Thanks in advance.
Have a great day!
Thanks for providing the hypothetical situation, however, this is not the way Visa Checkout (VCO) functions.
So a Webhook is a tool for having VCO (or any processor) push an update on the status of a transaction that is processed by a third party. Paypal because they actually process the payment, I believe has a webhook program, to tell the merchant the status of the payment.
Visa checkout just sends payment information to the merchant. We do not process the order ourselves, it is a means to send payment and shipping information directly to the merchant with one login, rather than typing in card information. Because the status of the "order" is not related to Visa Checkout, this feature is not needed.
There is an option to update the information for Visa Checkout, so the customer can see the order, however, there is no way for the customer to affect the order through Visa Checkout.