Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We tried to rollback the libs/dropin but the result is the same. #656

Closed
hmcmann65 opened this issue Nov 26, 2022 · 1 comment
Closed

We tried to rollback the libs/dropin but the result is the same. #656

hmcmann65 opened this issue Nov 26, 2022 · 1 comment

Comments

@hmcmann65
Copy link

We tried to rollback the libs/dropin but the result is the same.

We also tried to provide a callback function and wrap the verifyCard in a Promise and using the resolve() reject() to continue our flow. But also in this case the callback is never called.

return new Promise((resolve, reject) => {
  instance.verifyCard(
    {
      onLookupComplete: function (data, next) {
        console.log("onLookupComplete", data);
        next();
      },
      amount: dsData.amount,
      nonce: dsData.nonce,
      bin: dsData.bin,
      email: dsData.email,
    },
    function (err, payload) {
      console.log("callback", { err, payload });
      if (err) {
        return reject(err);
      }

      return resolve(payload);
    }
  );
})

Originally posted by @hitech95 in #655 (comment)

@cgdibble
Copy link
Contributor

Since this is a continuation of the linked issue, #655, this will be closed as a duplicate. Please keep to the original open issue, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants