쏭
토스페이 결제모듈 안뜸
No description
28 replies
카드사 결제 모둘 헤더 2개 문의
No description
7 replies
우리카드 결제모듈 안 뜨는 이슈 (IOS, AOS 크롬)
No description
11 replies
카드사 테스트
안녕하세요 테스트 키로 결제 연동했으나, 서비스 QA진행을 위해 모든 카드사를 결제테스트 하고자 하는데요. 테스트 할 수 있는 가상의 카드 번호가 있을까요?
11 replies
"@tosspayments/payment-widget-sdk": "^0.9.3" 약관 동의 options 여부 문의
안녕하세요 주신 문서에 따라 nextjs에서 토스페이먼츠 결제 테스트 중에 있습니다. 약관동의 는 상점에서 여러 약관 동의를 등록할 수 있으며, 문서에 따르면 아래와 같이 variantKey를 넣을 수 있는 걸로 나오는데, const paymentAgreement = paymentWidget.renderAgreement( '#agreement', { variantKey: 'AGREEMENT' } ) payment-widget-sdk 에서 제공하는 renderAgreement 에는 renderPaymentMethods 와 달리selector만 인자로 취급하고 있습니다. (options)없음 .. 그래서 혹시 다른 방법을 시도해야하는지 궁금합니다. export interface Widget { renderPaymentMethods: { (selector: string, amount: RenderPaymentMethodsAmountParameter, options?: { variantKey?: string; }): PaymentMethodsWidget; (selector: string, amount: number, options?: { variantKey?: string; }): PaymentMethodsWidget; }; renderAgreement: (selector: string) => { on: (eventName: string, callback: (params: AgreementStatus) => void) => void; getAgreementStatus: () => AgreementStatus; }; requestPayment: (parameters: PaymentRequestParameters) => Promise<WidgetRequestPaymentResult>; } 더불어 초기 렌더링시 동의여부가 체크되어오는데 초기값을 false로 셋팅할 수 있는지 궁금합니다. (gpt는 options에 agree 로 하면된다고 하는데 sdk 타입에는 없습니다. ) const paymentAgreement = paymentWidget.renderAgreement('#agreement', { agreed: false // 약관 동의 초기값을 false로 설정 });
7 replies
토스페이먼츠 위젯 로딩
안녕하세요 nextjs로 토스페이먼츠 위젯을 설정 중에 있습니다. 혹시 위젯 로딩상태를 받아와해당 페이지에 있는 다른 컴포넌트에도 로딩시점을 동일하게 하고 싶은데 관련한 이벤트가 있나요? 감사합니다.
6 replies