You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2020. It is now read-only.
I have used ePay in one of my android app, and the issue i am facing is that it is returning two times in PaymentResultListener callback after successful payment. This issue is facing in android lollipop os, for other os it is working fine.
Here is my ePay start method for loading window:-
private void startePay() {
String md5Json = md5(getJsonStringHash());
Map<String, String> data = new HashMap<String, String>();
data.put("merchantnumber", /My sandbox text number/);
data.put("currency", "NOK");
PaymentResultListener resultListener = new PaymentResultListener() { @OverRide
public void PaymentAccepted(final Map<String, String> map) {
Log.e("PaymentMethodFragment", "PaymentAccepted");
//Issue
// On successful payment accepted it is coming here two times.
//Doing something after successful payment accepted
}
@Override
public void PaymentWindowLoaded() {
Log.e("PaymentMethodFragment", "PaymentWindowLoaded");
}
@Override
public void PaymentWindowCancelled() {
Log.e("PaymentMethodFragment", "PaymentWindowCancelled");
}
@Override
public void PaymentWindowLoading() {
Log.e("PaymentMethodFragment", "PaymentWindowLoading");
}
@Override
public void Debug(String arg0) {
Log.e("PaymentMethodFragment", "Debug");
}
@Override
public void ErrorOccurred(int arg0, String arg1, String arg2) {
Log.e("PaymentMethodFragment", "ErrorOccurred");
}
@Override
public void PaymentLoadingAcceptPage() {
Log.e("PaymentMethodFragment", "PaymentLoadingAcceptPage");
}
};
What wrong i am doing, please help me out.
1 more issue i am facing is my ePay Window is not getting closed after successful payment done, previously it was closing whenever i came PaymentAccepted result callback.
The text was updated successfully, but these errors were encountered:
I have used ePay in one of my android app, and the issue i am facing is that it is returning two times in PaymentResultListener callback after successful payment. This issue is facing in android lollipop os, for other os it is working fine.
Here is my ePay start method for loading window:-
private void startePay() {
String md5Json = md5(getJsonStringHash());
Map<String, String> data = new HashMap<String, String>();
data.put("merchantnumber", /My sandbox text number/);
data.put("currency", "NOK");
PaymentResultListener resultListener = new PaymentResultListener() {
@OverRide
public void PaymentAccepted(final Map<String, String> map) {
Log.e("PaymentMethodFragment", "PaymentAccepted");
//Issue
// On successful payment accepted it is coming here two times.
What wrong i am doing, please help me out.
1 more issue i am facing is my ePay Window is not getting closed after successful payment done, previously it was closing whenever i came PaymentAccepted result callback.
The text was updated successfully, but these errors were encountered: