-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
현재 danal 본인인증 방식을 사용하기 위해 테스트 중에 있습니다.
IamportCertification(
appBar: AppBar(
title: const Text('아임포트 본인인증'),
),
/* 웹뷰 로딩 컴포넌트 */
initialChild: const Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
CircularProgressIndicator(),
],
),
),
/* [필수입력] 가맹점 식별코드 */
userCode: 'iamport',
/* [필수입력] 본인인증 데이터 */
data: CertificationData(
pg: 'danal', // PG사
merchantUid: const Uuid().v4(), // 주문번호
minAge: 50, //테스트 용 50 -> 기능 확인될 경우 19로 변경
mRedirectUrl: 'https://example.com',
),
/* [필수입력] 콜백 함수 */
callback: (Map<String, String> result) {
Navigator.pop(context, true);
},
)설명에 기재되어 있는 테스트 코드를 사용했습니다.
<질문사항>
- CertificationData 안에 company, carrier, name, phone은 없어도 true로 잘 반환되는 듯 하여 우선 제외해두었는데 괜찮을까요?
- minAge 속성은 정상 작동하고 있나요? 정상 작동하려면 어떻게 구현해야 하나요?
(미성년자인 경우는 제외하도록 구현하려고 합니다.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels