evertec / athmovil-javascript-api

Technical documentation used to integrate ATH Móvil's Payment Button on websites using HTML and Javascript.
5 stars 0 forks source link

What run first?... onCompletedPayment or the WebHook calls? #14

Open gustavoelizalde opened 3 years ago

gustavoelizalde commented 3 years ago

Hi!

My doubt it's simple... I would like to know what run first... if the call to onCompletedPayment function (javascript) or the WebHook that can be configured in the ATH Movil Business app when a ecommerce payment is received.

Thanks!