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
But when the transaction is successful or failed, TransactionManager.onTransactionResponse(Bundle bundle) is getting called, But as per the documentation, it should call the onActivityResult() when the PayTM app is installed in the device.
Below is the code to initiate the transaction.
PaytmOrder paytmOrder = new PaytmOrder(orderIdString, midString, txnTokenString, txnAmountString, callbackURL);
TransactionManager transactionManager = new TransactionManager(paytmOrder, new PaytmPaymentTransactionCallback(){
@Override
public void onTransactionResponse(Bundle bundle) {
}
@Override
public void networkNotAvailable() {
}
@Override
public void onErrorProceed(String s) {
}
@Override
public void clientAuthenticationFailed(String s) {
}
@Override
public void someUIErrorOccurred(String s) {
}
@Override
public void onErrorLoadingWebPage(int i, String s, String s1) {
}
@Override
public void onBackPressedCancelTransaction() {
}
@Override
public void onTransactionCancel(String s, Bundle bundle) {
}
});
transactionManager.startTransaction(this, PAYTM_RESPONSE_CODE);
The text was updated successfully, but these errors were encountered:
Integrated the new PayTm SDK
But when the transaction is successful or failed, TransactionManager.onTransactionResponse(Bundle bundle) is getting called, But as per the documentation, it should call the onActivityResult() when the PayTM app is installed in the device.
Below is the code to initiate the transaction.
The text was updated successfully, but these errors were encountered: