This method is used to check whether Mandate is supported by PhonePe App.
Javatry { PhonePe.setFlowId("some id"); PhonePe.isMandateSupported(show -> { Log.d("isMandateSupported", " -> " + show); }); } catch (PhonePeInitException e) { e.printStackTrace(); }
- Tells whether PhonePe app can do mandate setup or not.
- As part of callback response, you get 2 fields:
- isSingleMandateSupported : if any of user’s account support mandate setup or not
- isRecurringMandateSupported : if any of user’s account support recurring mandate or not