Third-Party Payments Support

If you want to make payments by any third party viz.GooglePay,PhonePe,Samsung Pay make below changes.

Google Pay

Integration

Set Bankcode to "TEZ" and PG as "UPI" in the payment post data.

Gradle Dependency

Add below dependency in build.gradle.

implementation 'com.payu.gpay:payu-gpay:1.3.0'

PhonePe

Integration

Set Bankcode to "PPINTENT" and PG as "CASH" in the payment post data.

Gradle Dependency

Add below url in root project's build.gradle.

allprojects {
    repositories {
        maven {
            url "https://phonepe.bintray.com/PhonePeIntentSDK"
        }
    }
}

Add below dependency in your application's build.gradle

implementation 'com.payu.phonepe:phonepe-intent:1.5'

Samsung Pay

Integration

Set Bankcode to "SAMPAY" and PG as "SAMPAY" in the payment post data.

Gradle Dependency

Add below dependency in build.gradle.

implementation 'com.payu.samsungpay:samsungpay:1.0'

Last updated