The Flutterwave Developer Documentation

We have put together comprehensive guidelines and documentation to help you get right into integrating any of our products quickly. You can also get support when you need help!

API Documentation    API Reference
Ask A Question



My app no longer getting to the Callback module. What has changed?

My app doesn't get to the callback module anymore even though in most cases the payment goes through. This was working well 2 days ago and I have not changed my codes. This is the callback code: protected void onActivityResult(int requestCode, int resultCode, Intent data) { /* * We advise you to do a further verification of transaction's details on your server to be * sure everything checks out before providing service or goods. */ if (requestCode == RaveConstants.RAVE_REQUEST_CODE && data != null) { String message = data.getStringExtra("response"); if (resultCode == RavePayActivity.RESULT_SUCCESS) { Toast.makeText(this, "SUCCESS " + message, Toast.LENGTH_SHORT).show(); // displayTxt="\nGiPOS Withdrawal\nCard Withdrawal was Successful.\n" +calcDisplayTxt+"\nThank you."; doUpgradeWalletBal(); //New transdate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date()); displayTxt="\nGiPOS Withdrawal\nDate:"+transdate+"\nCard Withdrawal was Successful.\n\n***DETAILS*****\n" +calcDisplay2Txt+"\n\nThank you.\n\n"; //Do a get array record of sales doSalesContent(); doWithdrawalPrint(); //New addition June 17th, 2020 doReturn(); //New addition June 24th, 2020 //doGotoLogin(); } else if (resultCode == RavePayActivity.RESULT_ERROR) { Toast.makeText(this, "ERROR " + message, Toast.LENGTH_SHORT).show(); } else if (resultCode == RavePayActivity.RESULT_CANCELLED) { Toast.makeText(this, "CANCELLED " + message, Toast.LENGTH_SHORT).show(); } } else { super.onActivityResult(requestCode, resultCode, data); } }

Posted by George Uwaifo 10 months ago