Launch native Unified Payments Interface (UPI) payment apps (Google Pay, PhonePe, Paytm, CRED) via deep link intent.
Launch native Unified Payments Interface (UPI) payment apps via deep link intent. Nativine embeds native Android upi://pay intent bridges, enabling 1-tap checkout redirection to Google Pay, PhonePe, Paytm, CRED, and BHIM apps in India.
UPI is the dominant digital payment network in India. Nativine's UPI Payment Intent plugin presents native app choice dialogs directly from your web checkout page:
SUCCESS, FAILURE, SUBMITTED) returned from the UPI app intent.merchant@bank) and Merchant Category Code (MCC).To initiate a native UPI payment intent from JavaScript, call nativine.upiIntent.pay():
nativine.upiIntent.pay({
vpa: 'merchant@bank',
payeeName: 'Acme E-Commerce Store',
transactionRef: 'txn_99887766',
amount: 499.00,
currency: 'INR',
transactionNote: 'Order #99887766',
callback: 'onUpiPaymentResult'
});
function onUpiPaymentResult(response) {
console.log("UPI Status:", response.status); // SUCCESS, FAILURE, SUBMITTED
console.log("Transaction ID:", response.txnId);
console.log("Approval Ref:", response.approvalRef);
}
| Parameter | Type | Description |
|---|---|---|
vpa | string | Required. Merchant Virtual Payment Address ID (e.g. merchant@okicici). |
amount | number | Required. Order transaction amount in INR. |
UPI Intent is supported on all Android devices in India. On iOS, UPI payment links launch installed UPI apps via registered custom schemes.
You can use direct VPA intent or pass gateway-generated UPI strings (Cashfree, Razorpay, Paytm Gateway) through the bridge.