VivaPayments / API

Index of Viva Wallet open source projects on GitHub.
139 stars 163 forks source link

Is there a webhook for a transaction canceled from the web interface #2457

Closed fmarchalemisys closed 10 months ago

fmarchalemisys commented 10 months ago

Hi,

I created webhooks in my demo account to catch "Transaction Payment Created", "Transaction Reversal Created" and "Transaction Failed".

I receive them all except when the payment is canceled from the web interface.

image

If a wait one day for the payment to be processed and the "refund" button to be displayed instead of "cancel", the "Transaction Reversal Created" is received.

But if I cancel a payment with the "cancel" button, no webhooks are received.

Is it possible to be informed when a transaction is canceled on the same day it is created?

fmarchalemisys commented 10 months ago

Problem solved! The webhook was received after a cancel but I was looking at the wrong ID.

Sorry for the noise.