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

Проблема с отображением страницы с вводом кода подтверждения банка #18

Open
Sferaved opened this issue Oct 11, 2023 · 0 comments

Comments

@Sferaved
Copy link

Доюры день Столкнулся с проблемой в public final class Cloudipsp.
При вызове метода public void pay(final Card card, final Order order, PayCallback callback) {
if (!card.isValidCard()) {

        throw new IllegalArgumentException("Card should be valid");
    }
 

    new PayTask(callback) {
        @Override
        public void runInTry() throws java.lang.Exception {
            final String token = getToken(order, card);
            final Checkout checkout = checkout(card, token, order.email, URL_CALLBACK);

            payContinue(token, checkout, callback);
        }
    }.start();
    
}

метод payContinue(token, checkout, callback); должен вызывать по ветке if (checkout.action == Checkout.WITHOUT_3DS) {
Cloudipsp.runInTry(orderChecker, callback);
} else {
url3ds(token, checkout, callback);
}
должен по идее открывать <com.cloudipsp.android.CloudipspWebView
android:id="@+id/web_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:visibility="gone"/>
для ввода кода подтверждения из банка . Но этого не происходит и приходят отказы платежа в этой связи. Не подскажете куда смотреть?

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

1 participant