-
public class PhonePeEntry point of the SDK.
-
-
Field Summary
Fields Modifier and Type Field Description private static PhonePeinstancepublic static Stringcb_version_namepublic static Stringupi_sdk_version
-
Method Summary
Modifier and Type Method Description static PhonePegetInstance()voidcheckForPaymentAvailability(Activity activity, PayUPhonePeCallback callback, String paymentOptionHash, String merchantKey, String user_credentials)Check for the availability of PhonePe for the merchant key. voidmakePayment(PayUPhonePeCallback callback, Activity activity, String postData, boolean isUserCacheEnabled, View customDialogView)Start making payment. voidmakePayment(PayUPhonePeCallback callback, Activity activity, String postData, boolean isUserCacheEnabled)-
-
Method Detail
-
getInstance
static PhonePe getInstance()
-
checkForPaymentAvailability
void checkForPaymentAvailability(Activity activity, PayUPhonePeCallback callback, String paymentOptionHash, String merchantKey, String user_credentials)
Check for the availability of PhonePe for the merchant key.
-
makePayment
void makePayment(PayUPhonePeCallback callback, Activity activity, String postData, boolean isUserCacheEnabled, View customDialogView)
Start making payment. Its called from PhonePe / PhonePeWrapper or Merchant application while usingstandalone Phonepe SDK.
-
makePayment
void makePayment(PayUPhonePeCallback callback, Activity activity, String postData, boolean isUserCacheEnabled)
-
-
-
-