Strategy #2: Start BrowserFragment with ACS information

Before you start the BrowserFragment, please make sure you call the following function from the Checkout Activity:

JuspayBrowserFragment.openJuspayConnection();

If you have obtained the ACS information yourself, you can set the parameters as shown below. This will have the benefit of cutting down one redirection from the payment flow. Whenever the backend supports this, we recommend that you follow this technique.

Bundle args = new Bundle();
args.putString("acs_url", acsUrl);
args.putString("term_url", termUrl);
args.putString("md", md);
args.putString("pareq", pareq);
args.putString("merchantId", juspayMerchantId);
args.putString("orderId", orderId);
browserFragment.setArguments(args);

results matching ""

    No results matching ""