Skip to content

Commit 1c1041e

Browse files
committed
생체인식 결제 error 처리 개선
1 parent 31e7fb3 commit 1c1041e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

bootpay/src/main/java/kr/co/bootpay/BootpayBuilder.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ private void requestBioActivity() {
508508
if(ready != null) CurrentBioRequest.getInstance().ready = ready;
509509
if(confirm != null) CurrentBioRequest.getInstance().confirm = confirm;
510510
if(done != null) CurrentBioRequest.getInstance().done = done;
511+
if(error != null) CurrentBioRequest.getInstance().error = error;
511512

512513
isBioIntent = true;
513514
CurrentBioRequest.getInstance().request = request;

bootpay/src/main/java/kr/co/bootpay/bio/activity/BootpayBioWebviewActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ public void onEasySuccess(String data) {
9797
@Override
9898
public void onError(String data) {
9999
// Log.d("bootpay", data);
100+
if(CurrentBioRequest.getInstance().error != null) CurrentBioRequest.getInstance().error.onError(data);
100101
setResult(-2);
101102
finish();
102103
}

0 commit comments

Comments
 (0)