Dear Madam/Sir:
We have integrated your API to our e-commerce platform, and tested the payment at Sandbox mode, we found that if customer paid successfully, there's page shows"Thank-you for your business", and there's a "Continue" button, customer must click the "continue" button to return the URL of paid successfully page of our e-commerce platform, but we need the page will directly return our URL of paid successfully page if customer paid successfully, so we added below code, but it still go to the "Thank-you for your business" page again, could you please let me know how to solve this issue? Thank you.
SettingType setting = new SettingType();
setting.setSettingName("hostedPaymentReturnOptions");
JSONObject returnOptions = new JSONObject();
returnOptions.put("showReceipt", false);
returnOptions.put("url", returnURL);
returnOptions.put("urlText", "Done");
returnOptions.put("cancelUrl", cancelURL);
returnOptions.put("cancelUrlText", "Cancel");
setting.setSettingValue(returnOptions.toString());
11-18-2018 07:48 PM
11-19-2018 08:16 PM