0.1.5.3
Changes
- Display the PhonePe option on your checkout page only when PhonePe app is installed on the device.
- You may call below SDK function to check the PhonePe app availability in the device.
try {
PhonePe.isUPIAccountRegistered(new ShowPhonePeCallback() {
@Override
public void onResponse(boolean show) {
Log.d(TAG, "onResponse: "+show);
Toast.makeText(MainActivity.this, show? "YES":"NO", Toast.LENGTH_SHORT).show();
}
});
} catch (PhonePeInitException e) {
e.printStackTrace();
}
0.1.5
Change Log
- UI improvements.
- Improved security.
- Bug fixes.
Dev changes
- Display the PhonePe option on your checkout page only when PhonePe app is installed on the device.
- You may call below SDK function to check the PhonePe app availability in the device.
try {
PhonePe.shouldShow(new ShowPhonePeCallback() {
@Override
public void onResponse(boolean show) {
Log.d(TAG, "onResponse: "+show);
Toast.makeText(MainActivity.this, show? "YES":"NO", Toast.LENGTH_SHORT).show();
}
});
} catch (PhonePeInitException e) {
e.printStackTrace();
}
0.1.3
Call the PhonePe.isAppInstalled() method. This returns a flag which tells you if PhonePe app is installed or not in the device. Based on this flag you can take a decision to PhonePe option on your checkout or not. Reach out to PhonePe team to get more details on the same.
Please ensure that you call this method after the PhonePe.init() is called or it will throw an error.
Change Log
- Bug fixes and UI enhancements.
0.1.0
Change Log
- Added functionalities to pay using PhonePe App