Android Integration
This section describes how to integrate React Native with Android Checkout Pro SDK.
🔴 IMPORTANT NOTICE - React Native 0.82.0+ Users
Breaking Change for React Native 0.82.0 and Above
If you are using React Native version 0.82.0 or above, or planning to upgrade your SDK, you MUST use the new
makeHttpRequestmethod for hash generation.The traditional
fetchor other HTTP methods will NOT work with React Native 0.82.0+.
New Hash Generation Method (React Native >= 0.82.0)
For React Native version 0.82.0 and above, you must use the PayUBizSdk.makeHttpRequest method inside the generateHash callback:
generateHash = async (e) => {
var hashStringWithoutSalt = e.hashString;
var hashName = e.hashName;
var postSalt = e.postSalt; // Compulsory for Additional Charges and Split Payment
try {
// Prepare request body
const rawBody = JSON.stringify({
hashString: hashStringWithoutSalt,
postSalt: postSalt
});
// Prepare headers
const headers = {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_API_TOKEN' // If required
};
// NEW METHOD - Use PayUBizSdk.makeHttpRequest
var response = await PayUBizSdk.makeHttpRequest(
"https://yourserver.com/generate-hash", // API URL
"POST", // Method Type
rawBody, // Body
headers // Headers
);
console.log('Raw Response:', response);
// Parse the JSON response
const parsedResponse = typeof response === 'string'
? JSON.parse(response)
: response;
var hashValue = parsedResponse.hash;
var result = { [hashName]: hashValue };
// Return hash to SDK
PayUBizSdk.hashGenerated(result);
} catch (error) {
console.error('Hash generation error:', error);
}
};For React Native versions below 0.82.0, you can continue using the standard
fetchapproach. See detailed implementation in Step 5 below.
Why This Change?
- Required for compatibility with React Native 0.82.0+
- Ensures network requests work correctly in newer React Native versions
SDK Integration
To integrate with the CheckoutPro mobile SDK for Android:
Step 1: Include the SDK in your app project
The CheckoutPro SDK is offered through npm.
Add the following entries to include CheckoutPro SDK in your app:
Install the SDK
npm install payu-non-seam-less-react --save
react-native link payu-non-seam-less-reactImport the SDK in your payment component
Add the following imports in the class where you need to initiate a payment:
import PayUBizSdk from 'payu-non-seam-less-react';Update Root build.gradle
Add the repository details for SDK dependencies under allprojects in android/build.gradle::
allprojects {
repositories {
maven {
url "https://phonepe.mycloudrepo.io/public/repositories/phonepe-intentsdk-android"
}
}
}Step 2: Build the payment parameters
To initiate a payment, your app needs to send transactional information to the Checkout Pro SDK.
Step 2.1: Basic Integration
import {NativeModules} from 'react-native';
const {PayUBizSdk} = NativeModules;
const createBasicPaymentParams = () => {
const txnid = new Date().getTime().toString();
const payUPaymentParams = {
key: 'YOUR_MERCHANT_KEY',
transactionId: txnid,
amount: '10',
productInfo: 'Macbook Pro',
firstName: 'Abc',
email: '[email protected]',
phone: '9999999999',
// Redirect URLs
android_surl: 'https://cbjs.payu.in/sdk/success',
android_furl: 'https://cbjs.payu.in/sdk/failure',
ios_surl: 'https://cbjs.payu.in/sdk/success',
ios_furl: 'https://cbjs.payu.in/sdk/failure',
// Environment: '0' => Production, '1' => Test
environment: '1',
// User credentials for saved cards
userCredential: 'YOUR_MERCHANT_KEY:[email protected]',
// User token for offer engine
userToken: 'userId:userName',
// Additional parameters
additionalParam: {
udf1: 'udf1',
udf2: 'udf2',
udf3: 'udf3',
udf4: 'udf4',
udf5: 'udf5',
},
};
return payUPaymentParams;
};📘 Important:
- The sample SURL/FURL values are for testing only. Use your own URLs before going live.
- The
transactionIdmust be unique, ≤ 25 characters, and cannot contain special characters like_,$,%,&, etc.- For more information, refer to Handling SURL and FURL.
Step 2.2: For Recurring Payments (SI) - Optional
For Standing Instructions / subscription payments, build the payUSIParams object.
// SI Parameters
const payUSIParams = {
isFreeTrial: false,
billingAmount: '3000',
billingCycle: 'MONTHLY', // DAILY/WEEKLY/MONTHLY/YEARLY/ADHOC/ONCE
billingCurrency: 'INR',
billingInterval: '10',
paymentStartDate: '2027-05-06', // YYYY-MM-DD
paymentEndDate: '2028-05-10', // YYYY-MM-DD
remarks: 'Subscription payment',
billingDate: '', // Optional
};
const payUPaymentParams = {
// Add SI Parameters
payUSIParams: payUSIParams,
};
SI Parameters Reference:
| Parameter | Type | Description | Example |
|---|---|---|---|
isFreeTrial | Boolean | Whether this is a free trial period | true / false |
billingAmount | String | Amount to be charged | "3000" |
billingCycle | String | Billing frequency | MONTHLY, DAILY, WEEKLY, YEARLY, ADHOC, ONCE |
billingInterval | String | Interval between charges | "10" |
paymentStartDate | String | Start date (YYYY-MM-DD) | "2027-05-06" |
paymentEndDate | String | End date (YYYY-MM-DD) | "2028-05-10" |
remarks | String | Additional notes | "Subscription" |
billingCurrency | String | Currency code | "INR" |
billingDate | String | Specific billing date (optional) | "" |
For more details, refer to PayU Standing Instructions Parameters.
Step 2.3: For UPI One Time Mandate Payments - Optional
For UPI OTM, enable pre-auth and provide mandate dates.
// OTM Parameters
const payUSIParams = {
isPreAuthTxn: true, // Mandatory for UPI OTM
paymentStartDate: '2025-04-01', // YYYY-MM-DD
paymentEndDate: '2025-04-10', // YYYY-MM-DD
};
const payUPaymentParams = {
// Add OTM Parameters
payUSIParams: payUSIParams,
};
Step 2.4: For Additional Charges - Optional
Add additional charges or percentage-based charges for specific payment methods.
const payUPaymentParams = {
// ... other parameters
// Fixed additional charges
additionalCharges: 'CC:12,AMEX:19,SBIB:98,DINR:2,DC:25,NB:55',
// Percentage-based additional charges
percentageAdditionalCharges: 'CC:50,AMEX:100,DINR:75,DC:25',
};Format:
PaymentMode:Amountseparated by commas- Payment modes:
CC(Credit Card),DC(Debit Card),NB(Net Banking),UPI,WALLET,EMI,BNPL - Or use specific bank codes like
SBIB(State Bank),AMEX, etc.
For more information, refer to Collect Additional Charges.
Step 2.5: For Split Payments Details - Optional
For split payments (aggregator model), create a JSON object and pass it as a string.
// Split payment configuration
const splitPaymentDetails = {
type: 'absolute', // or 'percentage'
splitInfo: {
'imAJ7I': { // Child Merchant Key
aggregatorSubTxnId: '12345673443540dd33d099887766650091', // Unique per transaction
aggregatorSubAmt: '10',
aggregatorCharges: '0',
},
},
};
const payUPaymentParams = {
// Add split payment details as JSON string
splitPaymentDetails: JSON.stringify(splitPaymentDetails),
};
Important:
aggregatorSubTxnIdmust be unique for each transactiontypecan be'absolute'or'percentage'- Multiple child merchants can be added to
splitInfo
Step 2.6: SKU Details - Optional
Pass item-level details for cart-based transactions.
// SKU Details
const skuDetails = {
skus: [
{
skuId: '111',
skuName: 'Shoes',
skuAmount: '100',
quantity: 1,
offerKeys: null,
},
{
skuId: '222',
skuName: 'Shirt',
skuAmount: '100',
quantity: 1,
offerKeys: null,
},
],
};
const payUPaymentParams = {
// Add SKU details
skuDetails: skuDetails,
};
🚧 Keep in mind:
- The total
amountmust equal the sum of(quantity × skuAmount)for all items- If passing SKU-specific offers, use the
offerKeysfield
Step 2.7: Third Party Verification (TPV) Flow - Optional
For TPV transactions, pass beneficiary account details for verification.
// TPV Beneficiary Details
const beneficiaryDetails = [
// For UPI
{
beneficiaryAccount: '002001600674',
beneficiaryIfsc: 'HDFC0000090',
},
// For Net Banking
{
beneficiaryName: 'SACHIN Tendulkar',
beneficiaryAccount: '002001600674',
beneficiaryIfsc: 'ICIC0000090',
beneficiaryAccountType: 'SAVINGS',
},
];
const payUPaymentParams = {
// Add TPV beneficiary details
beneficiaryDetails: beneficiaryDetails,
};
TPV Parameters:
| Parameter | Required For | Description |
|---|---|---|
beneficiaryAccount | All | Beneficiary account number |
beneficiaryIfsc | All | Bank IFSC code |
beneficiaryName | Net Banking | Account holder name |
beneficiaryAccountType | Net Banking | SAVINGS or CURRENT |
Step 2.8: Cross Border Flow (OPGSP) - Optional
For OPGSP merchants, complete address details are mandatory. UDF5 (invoice number) is also required.
// Address Details (Mandatory for OPGSP)
const address = {
lastName: 'LastName',
address1: 'Address1 value',
address2: 'Address2 value',
city: 'Gurgaon',
state: 'Haryana',
country: 'India',
zipcode: '122001',
};
// Additional Param with UDF5 (Invoice Number - Mandatory for OPGSP)
const additionalParam = {
udf1: 'udf1',
udf2: 'udf2',
udf3: 'udf3',
udf4: 'udf4',
udf5: 'Sample_Invoice_11', // Mandatory for OPGSP
};
const payUPaymentParams = {
// Add address details
address: address,
// Add additional params with UDF5, pass invoice number
additionalParam: additionalParam,
};
Important: For OPGSP merchants, both
addressandudf5(invoice number) are mandatory.
For more details: Cross-Border Payments (Import)
Step 2.9: WealthTech Flow - Optional
For investment and mutual fund transactions.
// WealthTech Product Details
const products = [
{
type: 'mutual_fund',
plan: 'GD',
folio: '9104927822',
amount: '50000',
option: 'G',
scheme: 'LT',
receipt: '77407',
mfMemberID: '123445',
mfUserID: '77407',
mfPartner: 'cams',
mfInvestmentType: 'L',
mfAMCCode: 'UTB',
},
];
const payUPaymentParams = {
// Add WealthTech products
products: products,
};
Step 2.10: Enforce Offer Keys
Apply specific promotional offers during checkout.
const payUPaymentParams = {
// ... other parameters
// Comma-separated offer keys
enforcementOfferKeys: ['offer_key_1', 'offer_key_2'],
};
// Or as a comma-separated string (if parsing on your side)
// enforcementOfferKeys: 'HoliSale@JbBdLOBritj5,Instantoffer@Kp78nFDENX5S'Step 2.11: Additional Parameters - Optional
The additional parameters that are optional that can be passed to SDK are udf parameters, static hashes, and other parameters. For more details on Static Hash generation and passing them, refer to generate hashes. The following is a list of parameters that can be passed in additional parameters:
| Parameter | Description |
|---|---|
| PayUCheckoutProConstants.CP_UDF1 | String User defined field, Merchant can store their customer id, etc. |
| PayUCheckoutProConstants.CP_UDF2 | String User defined field, Merchant can store their customer id, etc. |
| PayUCheckoutProConstants.CP_UDF3 | String User defined field, Merchant can store their customer id, etc. |
| PayUCheckoutProConstants.CP_UDF4 | String User defined field, Merchant can store their customer id, etc. |
| PayUCheckoutProConstants.CP_UDF5 | String User defined field, Merchant can store their customer id, etc. |
| Static hashes | String The static hashes is specified in this parameter. For more information, refer to Hash Generation section. |
| PayUCheckoutProConstants.SODEX_OSOURC_EID | String Sodexo Source ID, Merchant can store it from the third field of PayU response. |
| PaymentParamConstant.walletUrn | String Pass this parameter if closed loop wallet (clw) payment mode is enabled for your account. |
Steps 2.12: Payment Param Definitions
Parameter | Description |
|---|---|
Key
|
|
transactionId
|
|
Amount
|
|
productInfo
|
|
firstName
|
|
Email
|
|
Phone
|
|
ios_surl
|
|
ios_furl mandatory |
|
android_surl
|
|
android_furl
|
|
Environment
|
|
User Credential
|
|
user_token
| String The use for this param is to allow the offer engine to apply velocity rules at a user level. -**Card Based Offers (CC, DC, EMI):**For card payment mode offers, if this parameter is passed then the velocity rules would be applied on this token, if not passed the same would be applied to the card number. -NB, Wallet: It is mandatory for UPI, NB, and Wallet payment modes. If not passed the validation rules would not apply. Note:- When we use Offer features then it's a mandatory parameter otherwise it's not required. |
additionalCharges | String This parameter is required if merchant want to take additional charge from user, should be string with PG:Amount or IBIBOCode:Amount Sample : CC:10,NB:20,SBIB:15 |
percentageAdditionalCharges | String This parameter is required if merchant want to take percentage of TDR as additional charge from user for this feature dynamicConvFeeMerchant flag must be enable, should be string with PG:Amount or IBIBOCode:Amount Sample : CC:100,NB:50,SBIB:25 |
SkuDetails
| Create list of SKU as per products added in cart and add this list in SKU details. and set sku detials to PayUPaymentParams.
|
payUSIParams
|
Mandatory for Recurring (Subscription / Standing Instruction) transactions. For more details: Recurring Payments Integration |
enableNativeOTP
|
|
splitPaymentDetails
|
Mandatory only for Aggregator transactions. For more details: Split Settlements |
enforcementOfferKeys
|
|
beneficiaryDetails
|
|
address / addressDetails
|
For more details: Cross-Border Payments (Import) |
products
|
Mandatory only for WealthTech / Investment product transactions. |
Note:The sample URLs mentioned in surl and furl are for temporary use. PayU recommends you to design or use your own surl and furl after testing is completed.
For details on Standing Instructions parameters, refer to PayU Standing Instruction Parameters.
Step 2.13: Complete Sample (Recommended)
The payment parameters and additional parameters can be passed using the following code snippet:
import React from 'react';
import {NativeModules, Alert} from 'react-native';
import CryptoJS from 'crypto-js';
const {PayUBizSdk} = NativeModules;
const createPaymentParams = () => {
const txnid = new Date().getTime().toString();
// ========== Basic Payment Parameters (Mandatory) ==========
const payUPaymentParams = {
key: 'YOUR_MERCHANT_KEY',
transactionId: txnid,
amount: '10',
productInfo: 'Product Info',
firstName: 'Abc',
email: '[email protected]',
phone: '9999999999',
android_surl: 'https://cbjs.payu.in/sdk/success',
android_furl: 'https://cbjs.payu.in/sdk/failure',
ios_surl: 'https://cbjs.payu.in/sdk/success',
ios_furl: 'https://cbjs.payu.in/sdk/failure',
environment: '1', // '0' => Production, '1' => Test
userCredential: 'YOUR_MERCHANT_KEY:[email protected]',
userToken: 'userId:userName',
};
// ========== Additional Parameters ==========
const additionalParam = {
udf1: 'udf1',
udf2: 'udf2',
udf3: 'udf3',
udf4: 'udf4',
udf5: 'udf5',
walletUrn: '100000',
sourceId: 'src_dfcbd083-f38d-4d0d-9fac-80d7d1bb8f2d',
};
payUPaymentParams.additionalParam = additionalParam;
// ========== Standing Instruction (SI) - Optional ==========
payUPaymentParams.payUSIParams = {
isFreeTrial: false,
billingAmount: '3000',
billingCycle: 'MONTHLY', // DAILY/WEEKLY/MONTHLY/YEARLY/ADHOC/ONCE
billingCurrency: 'INR',
billingInterval: '10',
paymentStartDate: '2027-05-06', // YYYY-MM-DD
paymentEndDate: '2028-05-10', // YYYY-MM-DD
remarks: 'Subscription payment',
billingDate: '',
};
// ========== One Time Mandate (OTM) - Optional ==========
payUPaymentParams.payUSIParams = {
isPreAuthTxn: true,
paymentStartDate: '2025-04-01', // YYYY-MM-DD
paymentEndDate: '2025-04-10', // YYYY-MM-DD
};
// ========== SKU Details - Optional ==========
payUPaymentParams.skuDetails = {
skus: [
{
skuId: '111',
skuName: 'Shoes',
skuAmount: '100',
quantity: 1,
offerKeys: null,
},
{
skuId: '222',
skuName: 'Shirt',
skuAmount: '100',
quantity: 1,
offerKeys: null,
},
],
};
// ========== TPV (Third Party Verification) - Optional ==========
payUPaymentParams.beneficiaryDetails = [
// For UPI
{
beneficiaryAccount: '002001600674',
beneficiaryIfsc: 'HDFC0000090',
},
// For Net Banking
{
beneficiaryName: 'SACHIN Tendulkar',
beneficiaryAccount: '002001600674',
beneficiaryIfsc: 'ICIC0000090',
beneficiaryAccountType: 'SAVINGS',
},
];
// ========== OPGSP (Cross Border) - Optional ==========
// Note: For OPGSP, udf5 (invoice number) is also mandatory
payUPaymentParams.address = {
lastName: 'LastName',
address1: 'Address1 value',
address2: 'Address2 value',
city: 'Gurgaon',
state: 'Haryana',
country: 'India',
zipcode: '122001',
};
additionalParam.udf5 = 'Sample_Invoice_11'; // Mandatory for OPGSP
// ========== WealthTech - Optional ==========
payUPaymentParams.products = [
{
type: 'mutual_fund',
plan: 'GD',
folio: '9104927822',
amount: '50000',
option: 'G',
scheme: 'LT',
receipt: '77407',
mfMemberID: '123445',
mfUserID: '77407',
mfPartner: 'cams',
mfInvestmentType: 'L',
mfAMCCode: 'UTB',
},
];
// ========== Split Payment - Optional ==========
const splitPaymentDetails = {
type: 'absolute', // or 'percentage'
splitInfo: {
imAJ7I: { // Child Merchant Key
aggregatorSubTxnId: '12345673443540dd33d099887766650091', // Unique per transaction
aggregatorSubAmt: '10',
aggregatorCharges: '0',
},
},
};
payUPaymentParams.splitPaymentDetails = JSON.stringify(splitPaymentDetails);
// ========== Additional Charges - Optional ==========
payUPaymentParams.additionalCharges = 'CC:12,AMEX:19,SBIB:98,DC:25,NB:55';
payUPaymentParams.percentageAdditionalCharges = 'CC:50,AMEX:100,DC:25';
// ========== Offer Keys - Optional ==========
payUPaymentParams.enforcementOfferKeys = ['offer_key_1', 'offer_key_2'];
// ========== Enable Native OTP - Optional ==========
payUPaymentParams.enableNativeOTP = true;
return payUPaymentParams;
};Step 3: Initiate the payment
Initialize and launch the Checkout Pro SDK by calling the following code snippet:
var paymentObject = {
payUPaymentParams: payUPaymentParams,
// payUCheckoutProConfig is optional
// Detail can be found in latter section
payUCheckoutProConfig: payUCheckoutProConfig
}
PayUBizSdk.openCheckoutScreen(paymentObject);Step 4: Handle Payment Completion (Callbacks)
To get the callbacks for payment-related statuses, create a NativeEventEmitter object and subscribe to the following events.
import { NativeEventEmitter } from 'react-native';
//Register event emitters here.
componentDidMount() {
const eventEmitter = new NativeEventEmitter(PayUBizSdk);
this.paymentSuccess = eventEmitter.addListener('onPaymentSuccess', this.onPaymentSuccess);
this.paymentFailure = eventEmitter.addListener('onPaymentFailure', this.onPaymentFailure);
this.paymentCancel = eventEmitter.addListener('onPaymentCancel', this.onPaymentCancel);
this.error = eventEmitter.addListener('onError', this.onError);
this.generateHash = eventEmitter.addListener('generateHash', this.generateHash);
}
onPaymentSuccess = (e) => {
console.log(e.merchantResponse);
console.log(e.payuResponse);
}
onPaymentFailure = (e) => {
console.log(e.merchantResponse);
console.log(e.payuResponse);
}
onPaymentCancel = (e) => {
console.log('onPaymentCancel isTxnInitiated -' + e);
}
onError = (e) => {
console.log(e);
}
generateHash = (e) => {
console.log(e.hashName);
console.log(e.hashString);
var hashStringWithoutSalt = e.hashString;
var hashName = e.hashName;
var postSalt = e.postSalt; // compulsory for Additional Charges and Split Payment
// Pass hashStringWithoutSalt to server
// Server will append salt at the end and generate sha512 hash over it
// "<create SHA -512 hash of 'hashString+salt+postSalt'>"
var hashValue = "<Set hash here which is fetched from server>";
var result = { [hashName]: hashValue };
PayUBizSdk.hashGenerated(result);
}
//Do remember to unregister eventEmitters here
componentWillUnmount() {
this.paymentSuccess.remove();
this.paymentFailure.remove();
this.paymentCancel.remove();
this.error.remove();
this.generateHash.remove();
}Step 5: Generate Hash (Dynamic Hash Generation)
This step describes how to pass the dynamic hashes. For detailed information, refer to Hash Generation.
Passing dynamic hashes
To pass dynamic hashes, the merchant will receive a call on the generateHash method. In the method parameter, you will receive a dictionary or hashMap, then extract the value of hashString from that. Pass that value to the server to append the Salt at the end and generate the sha512 hash over it. The server gives that hash back to your app, and the app will pass that hash to PayU through a callback mechanism. For passing dynamic hashes during integration, use the following code snippet:
generateHash = (e) => {
console.log(e.hashName);
console.log(e.hashString);
var hashStringWithoutSalt = e.hashString;
var hashName = e.hashName;
var postSalt = e.postSalt; // compulsory for Additional Charges and Split Payment
// Pass hashStringWithoutSalt to server
// Server will append salt at the end and generate sha512 hash over it
// "<create SHA -512 hash of 'hashString+salt+postSalt'>"
var hashValue = "<Set hash here which is fetched from server>";
var result = { [hashName]: hashValue };
PayUBizSdk.hashGenerated(result);
}Notes:
- Always generate hashes on your backend.
- URLs like https://cbjs.payu.in/sdk/success are placeholders; replace with your backend URLs post-testing.
- Split payment and SI (Standing Instruction) are optional features—only use them if needed.
Test the Integration and Go-Live
Test the Integration
After the integration is complete, you must test the integration before you go live and start collecting payment. You can start accepting actual payments from your customers once the test is successful.
You can make test payments using one of the payment methods configured at the Checkout.
Test credentials for supported payment methods
Following are the payment methods supported in PayU Test mode.
Test credentials for Net Banking
Use the following credentials to test the Net Banking integration:
- user name: payu
- password: payu
- OTP: 123456
Test VPA for UPI
CalloutThe UPI in-app and UPI intent flow is not available in the Test mode.
You can use either of the following VPAs to test your UPI-related integration:
For Testing the UPI Collect flow, Please follow the below steps:-
- Once you enter the VPA click on the verify button and proceed to pay.
- In NPCI page timer will start, Don't "CLICK" on click text. Please wait on the NPCI page.
- The below link opens in the browser Paste the transaction ID at the end of the URL then click on the success/failure simulator page. After that, your app will redirect to your app with the transaction response.
https://pgsim01.payu.in/UPI-test-transaction/confirm/ <Txn_id>
For Android
You can add the below metadata under the application tag in the manifest file to test the UPI Collect flow on test env:-
Ensure to remove the code from the manifest file before going live.
<application>
<meta-data android:name="payu_debug_mode_enabled" android:value="true" /> <!-- set the value to false for production environment -->
<meta-data android:name="payu_web_service_url" android:value="https://test.payu.in" /> <!-- Comment in case of Production -->
<meta-data android:name="payu_post_url" android:value="https://test.payu.in"/> <!-- Comment in case of Production -->
</application>Test cards for EMI
You can use the following Debit and Credit cards to test EMI integration.
Test wallets
You can use the following wallets and their corresponding credentials to test wallet integration.
Go-live Checklist
Ensure these steps before you deploy the integration in a live environment.
Collect Live Payments
After testing the integration end-to-end, once you are confident that the integration is working as expected, you can switch to live mode to start accepting payments from your customers.
Watch Out!Ensure that you are using the production merchant key and salt generated in the live mode.
Checklist 2: Configure environment() parameter
Set the value of the environment()to 0 in the payment integration code. This enables the integration to accept live payments.
Checklist 4:- Remove/comment meta -data code from manifest file :-
For Android
You must be comment/remove the below metadata code from the manifest file to use the UPI Collect flow on Production env:-
<application>
<meta-data android:name="payu_debug_mode_enabled" android:value="true" /> // set the value to false for production environment
<meta-data android:name="payu_web_service_url" android:value="https://test.payu.in" /> //Comment in case of Production-->
<meta-data android:name="payu_post_url" android:value="https://test.payu.in"/> //Comment in case of Production-->
</appliction>Checklist 5: Configure verify payment method
Configure the Verify payment method to fetch the payment status. We strongly recommend that you use this as a back up method to handle scenarios where the payment callback is failed due to technical error.
Checklist 6: Configure Webhook
We recommend that you configure Webhook to receive payment responses on your server. For more information, refer to Webhooks.
Updated 18 days ago
