Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instamojo Android SDK Payment callback not received in TEST Environment #116

Open
Irfanhaidermomin opened this issue Sep 29, 2023 · 0 comments

Comments

@Irfanhaidermomin
Copy link

I initiate like this:

Instamojo.getInstance().initiatePayment(this, orderID, this);

@OverRide
public void onInstamojoPaymentComplete(String orderID, String transactionID, String paymentID, String paymentStatus) {
Log.e("Payment", "Payment complete. Order ID: " + orderID + ", Transaction ID: " + transactionID
+ ", Payment ID:" + paymentID + ", Status: " + paymentStatus);
//paymentId = paymentID;
}

@Override
public void onPaymentCancelled() {
    Toast.makeText(PaymentActivity.this, "cancelled", Toast.LENGTH_SHORT).show();
}

@Override
public void onInitiatePaymentFailure(String s) {
    Log.e("cancelled",s);
    Toast.makeText(PaymentActivity.this, s, Toast.LENGTH_SHORT).show();
}
@Irfanhaidermomin Irfanhaidermomin changed the title Instamojo Android SDK Payment callback not received Instamojo Android SDK Payment callback not received in TEST Environment Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant