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

openPayment dialog is popping up on Login #36

Open
maslyennikov opened this issue Mar 20, 2019 · 2 comments
Open

openPayment dialog is popping up on Login #36

maslyennikov opened this issue Mar 20, 2019 · 2 comments
Labels
bug Something isn't working

Comments

@maslyennikov
Copy link

OpenPayment dialog is popping up on login when the page is loading. I investigated the issue and openLogin() method from vxpay library is triggering it.

function openLogin() {
var _this3 = this;

  var flowOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  return new Promise(function (resolve, reject) {
// I assume this is where openPayment dialog is triggered
    return _this3._initPaymentFrame().then(Frames_VXPayTokenForTab.reset).then(VXPayShowForTab.trigger).then(VXPayWhen.tokenTransferred).then(function (vxpay) {
      return VXPayLogin_VXPayLogin.open(vxpay, flowOptions);
    }).then(resolve).catch(reject);
  });
}

Can you please fix it?

cc @t1gor

Versions:

  • npm -v: X.X.X
  • node -v: X.X.X
  • vxpay-js: X.X.X
  • you can find the last one by running npm list vxpay-js --depth=0

Problem

What are you trying to achieve and what's not right?

Details....

Any stack traces, failed commands or environment details you could provide would be helpful.

Possible solutions

If you know the solution already, please describe it here.

@t1gor
Copy link
Collaborator

t1gor commented Mar 20, 2019

Hello, @maslyennikov. Thanks for reporting this. Could you please also provide a screencast of the issue?

@t1gor t1gor added the bug Something isn't working label Mar 20, 2019
@maslyennikov
Copy link
Author

maslyennikov commented Mar 20, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants