Supported Payment Types

Lists various payment types supported by SDK and additional parameters supported.

  • Credit Card/Debit Card/Stored Card(Use PayuConstants.CC)

  • NetBanking (Use PayUConstants.NB)

  • PayU Money (Use PayUConstants.PAYU_MONEY)

  • UPI (Use PayUConstants.UPI)

  • Google Pay (Use PayUConstants.TEZ)

  • PhonePe (Use PayUConstants.PHONEPE_INTENT)

  • LazyPay (Use PayUConstants.LAZYPAY)

Below are the additional parameters that can be configured in PaymentParams object created earlier for various PaymentTypes.

Credit Card/Debit Card

mPaymentParams.setCardNumber(cardNumber);
mPaymentParams.setCardName(cardName);
mPaymentParams.setNameOnCard(cardholderName);
mPaymentParams.setExpiryMonth(expiryMonth);// MM
mPaymentParams.setExpiryYear(expiryYear);// YYYY
mPaymentParams.setCvv(cvv);

Stored Cards

mPaymentParams.setCardToken(cardToken);
mPaymentParams.setCvv(cvv);
mPaymentParams.setNameOnCard(cardName);
mPaymentParams.setExpiryMonth(expiryMonth);// MM
mPaymentParams.setExpiryYear(expiryYear);// YYYY
mPaymentParams.setCardName(storedCard.getCardName());

NetBanking

Get the bankCode (String) of selected bank from your spinner/list view adapter and add it to the mPaymentParams created above

mPaymentParams.setBankCode(bankCode);

Cash Card

mPaymentParams.setBankCode(bankCode);

UPI

mPaymentParams.setVpa(virtualPaymentAddress)

Validations for virtual payment address

  • Vpa length should be less than or equal to 50

  • Regex for VPA : value.match(/^([A-Za-z0-9.])[email protected][A-Za-z0-9]+$/)

LazyPay

Notify(Callback) URL of merchant where a notification of transaction status will be sent on completion of transaction. It should be HTTPS.

mPaymentParams.setNotifyURL(<Merchant Callback Url>);