You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to perform some actions every time the modal is closed (a custom implementation with https://checkout.epayco.co/checkout.js). I've configured the handler in following way:
var handler = ePayco.checkout.configure({
key: 'MY_KEY',
test: true
});
Then, I've added the mentioned method in following way:
handler.onCloseModal = function () {
console.log('Closing dialog called!');
};
And finally, by calling handler.open(params), it is opened, and process works. But when I close the modal (by clicking on the "X" icon), then the method is not called. I remember it used to work in older version, or maybe before any change in API.
Any idea about this?
The text was updated successfully, but these errors were encountered:
Hello guys...
I've been trying to perform some actions every time the modal is closed (a custom implementation with https://checkout.epayco.co/checkout.js). I've configured the handler in following way:
Then, I've added the mentioned method in following way:
And finally, by calling
handler.open(params)
, it is opened, and process works. But when I close the modal (by clicking on the "X" icon), then the method is not called. I remember it used to work in older version, or maybe before any change in API.Any idea about this?
The text was updated successfully, but these errors were encountered: