-
public class PhonepeWebInterface
-
-
Constructor Summary
Constructors Constructor Description PhonepeWebInterface(Activity activity, PayUAnalytics payUAnalytics)
-
Method Summary
Modifier and Type Method Description voidonFailure(String result)voidonPayuFailure(String result)Attempt to deprecate furl.Javascript call from payu server.Lets keep the data in local variable and pass it to calling activity. voidonSuccess()Call back from surl - sucess transactionwith no argument. voidonPayuSuccess(String result)Attempt to deprecate surl.Javascript interface call from payu server.Lets keep the data in local variable and pass it to main activity. voidonSuccess(String result)call back function from surl - success transaction. voidonCancel()will be called in case of curlmostly handled by furl voidonCancel(String result)will be called in case of curlmostly handled by furl -
-
Constructor Detail
-
PhonepeWebInterface
PhonepeWebInterface(Activity activity, PayUAnalytics payUAnalytics)
-
-
Method Detail
-
onFailure
void onFailure(String result)
- Parameters:
result- json data of post param.call back function from furl - failure transaction.
-
onPayuFailure
void onPayuFailure(String result)
Attempt to deprecate furl.Javascript call from payu server.Lets keep the data in local variable and pass it to calling activity.
- Parameters:
result- json string result of failure transaction
-
onSuccess
void onSuccess()
Call back from surl - sucess transactionwith no argument.just send empty string back to calling activity
-
onPayuSuccess
void onPayuSuccess(String result)
Attempt to deprecate surl.Javascript interface call from payu server.Lets keep the data in local variable and pass it to main activity.
- Parameters:
result- json data of post param.
-
onSuccess
void onSuccess(String result)
call back function from surl - success transaction.keep the data in merchantResponse set result ok, and send the received data.
- Parameters:
result- success result received from surl
-
onCancel
void onCancel()
will be called in case of curlmostly handled by furl
-
-
-
-