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

3Ds with more than one page does not work #16

Open
Pahanuch opened this issue May 13, 2017 · 3 comments
Open

3Ds with more than one page does not work #16

Pahanuch opened this issue May 13, 2017 · 3 comments
Assignees

Comments

@Pahanuch
Copy link

Hi, there!

onAuthorizationCompleted needs pause. Because payment does not have time to be processed.

@Override
    public void onAuthorizationCompleted(String md, String paRes) {
        mHandler.postDelayed(() -> mPresenter.onGetPaymentRezult(md), 1000);
    }

But basic problem with banks wich use more then one page. For example: - insert 3ds code and then another page with button "Continue". Proccesing is made only after pressed continue buuton

@livotov
Copy link
Member

livotov commented May 16, 2017

In this case you cannot do anything but press the "Continue" button on the Bank's 3DAuth page in order to complete the process and get your callback called.

onAuthorizationCompleted needs pause. Because payment does not have time to be processed.

did not get you here. Why you need a pause here ?
This callback simply provides you with the necessary auth result parameters received from the cardholder's Bank. You then must use them to pass to your payment processor for actual payment finalization, no need to wait here.

@livotov livotov self-assigned this May 16, 2017
@Pahanuch
Copy link
Author

I need pause because I get error from my server. "The payment is on processing".

@Pahanuch
Copy link
Author

In this case you cannot do anything but press the "Continue" button on the Bank's 3DAuth page in order to complete the process and get your callback called.

Callback called after enter 3ds code and PressButton. Then must open another page with only one button "Next", but webView don't do that.

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