5 posts / 0 new
Last post
dougrayburn3673
Payeezy.JS: Payeezy.createToken Callback with Failure and then Success

While using the Payeezy.js sandbox library, we have found instances where the "Payeezy.createToken(function (status, response) {})" call calls back with an error message almost immediately, but then calls back again a second or two later with a valid token. This doesn't happen all the time. Sometimes a valid token is the only thing returned.

Is this normal behavior for the library to respond with a failure and then a success?


rohitrajagopal3402
Re: Payeezy.JS: Payeezy.createToken Callback with Failure and...

Hi Doug,

We are looking into this. We might need to set up a call with you later to understand and troubleshoot the issue. I will let you know in any case.

Regards,

Payeezy Team


dougrayburn3673
Re: Payeezy.JS: Payeezy.createToken Callback with Failure and...

Thanks. The Payeezy.js file I am using for development is the one on github that points to the sandbox api:

https://raw.githubusercontent.com/payeezy/payeezy_js/master/javascript/payeezy.js


dougrayburn3673
Re: Payeezy.JS: Payeezy.createToken Callback with Failure and...

Thanks. The Payeezy.js file I am using for development is the one on Github that points to the sandbox API:

https://raw.githubusercontent.com/payeezy/payeezy_js/master/javascript/payeezy.js


rohitrajagopal3402
Re: Payeezy.JS: Payeezy.createToken Callback with Failure and...

Could you please send the HTML code from which you are calling Payeezy.js?

- Payeezy Team