- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Help! how to return directly to the URL of paid successfully page
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
โ11-19-2018 08:16 PM

