-
Notifications
You must be signed in to change notification settings - Fork 10
Android Review Order
Review Order
Review order is a feature of CB by which merchant can display an ongoing transaction’s information to the user on bank page. This will help the user to verify transaction related critical information while making a payment, and prevents users from pressing back button, cancelling the transaction, just to review or re-check their order details.
Prerequisite:
To integrate Review Order (RO), merchant first need to integrate CB via Simplified integration in their app. Documentation for which can be found here.
Integration options
You have two options by which transaction information can be displayed using RO:
- With Default PayU’s UI: You pass the data to be displayed. We create a view with your information. We control the UI and places at which info should be displayed.
- With Custom UI: You pass us an object of view(layout). You design the view and fill information in it. We display the view as is in the Review Order screen of CB.
Detailed integration steps
- With PayU’s UI:
- With Custom UI:
Make object of "ReviewOrderBundle"
ReviewOrderBundle reviewOrderBundle = new ReviewOrderBundle();
Add payment details to bundle in form of key value pair
e.g.
reviewOrderBundle.addOrderDetails("Amount","10.00");
reviewOrderBundle.addOrderDetails("Mobile","1111111111");
reviewOrderBundle.addOrderDetails("Email","[email protected]");
setReviewOrderDefaultViewData : Set bundle data to Review Order "setReviewOrderDefaultViewData" method
customBrowserConfig.setReviewOrderDefaultViewData(reviewOrderBundle);
Create a layout as per your design which contain the data you want to display. Use mention below method to set the layout information.
setReviewOrderCustomView: Set your custom view to review order example :
customBrowserConfig.setReviewOrderCustomView(R.layout.review_custom_layout);
Customizations
setEnableReviewOrder - Enable review order
Input params are :
CustomBrowserConfig.ENABLE CustomBrowserConfig.DISABLE
example :
customBrowserConfig.setEnableReviewOrder(CustomBrowserConfig.ENABLE);
Note: Default value is CustomBrowserConfig.DISABLE
setReviewOrderButtonText : To change review order button Text name example:
customBrowserConfig.setReviewOrderButtonText(“test1234”);
Note: Maximum length of text is 16 characters
Please write at [email protected] for further queries.
- SDKs Overview
- Server Side
- Client Side
- Android SDK Integration
- Android Custom Browser
- Android Samsung Pay SDK integration
- Android PhonePe Intent SDK integration
- Android Google Pay™ SDK Integration
- Android PayU CheckoutPro SDK Integration
- IOS PayU CheckoutPro SDK Integration
- iOS integration with PayU Checkout UI
- iOS SDK integration
- iOS Custom Browser
- Mobile Releases
- FAQs
- Common Issues