Skip to content

Commit

Permalink
sdkcallback
Browse files Browse the repository at this point in the history
  • Loading branch information
AhlaamK-tap committed Jan 23, 2023
1 parent ee44ca2 commit dcd1be7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,7 @@ public void didReceiveCharge(Charge charge) {
switch (charge.getStatus()) {
case INITIATED:
Authenticate authenticate = charge.getAuthenticate();
SDKSession.getListener().paymentInitiated(charge);
if (authenticate != null && authenticate.getStatus() == AuthenticationStatus.INITIATED) {
switch (authenticate.getType()) {
case BIOMETRICS:
Expand All @@ -930,7 +931,7 @@ public void didReceiveCharge(Charge charge) {
openOTPScreen(charge);
break;
}
SDKSession.getListener().paymentInitiated(charge);

}
break;
case CAPTURED:
Expand Down

0 comments on commit dcd1be7

Please sign in to comment.