JANDA DEV
JANDA DEV
안녕하세요 결제위젯이 영어지원이 안되면, 영어 버튼을 지원하기위해서는 브랜드페이를 사용해야만 하나요?
제가 문서에서 이해한바 저는 V2 버전을 사용중인거라고 생각됩니다. pacakge.json "@tosspayments/tosspayments-sdk": "^2.3.2", V2의 경우 card 오브젝트와 함께 사용 하지만 useInternationalCardOnly 가 타입스크립트에서 없는 설정이라는 린팅을 받았고 아래같이 강제로 주입하면 결제창이 열리지 않더군요. await widgets?.requestPayment({ orderId, orderName: orderName || "travel", customerName: fullName, customerEmail: email, customerMobilePhone: contact, successUrl: ${SERVER_ORIGIN}/toss-payment/sucess, failUrl: ${SERVER_ORIGIN}/toss-payment/failure, card: { //@ts-ignore useInternationalCardOnly: true }
14 replies
안녕하세요 결제위젯이 영어지원이 안되면, 영어 버튼을 지원하기위해서는 브랜드페이를 사용해야만 하나요?
알겠습니다. 최대한 있는기능에서 작업하도록 할게요. 추가적인 문의가있는데 파라미터에서 useInternationalCardOnly 사용시에 타입스크립트 오류가 나타나는데 { orderId, orderName: orderName || "travel", customerName: fullName, customerEmail: email, customerMobilePhone: contact, successUrl: ${SERVER_ORIGIN}/toss-payment/sucess, failUrl: ${SERVER_ORIGIN}/toss-payment/failure, useInternationalCardOnly: true // card: { // useInternationalCardOnly: true // } as any } No overload matches this call. Overload 1 of 2, '(paymentRequest: WidgetPaymentRequest): Promise<WidgetPaymentResult> | undefined', gave the following error. Object literal may only specify known properties, and 'successUrl' does not exist in type 'WidgetPaymentRequest'. Overload 2 of 2, '(paymentRequest: WithRedirection<WidgetPaymentRequest>): Promise<void> | undefined', gave the following error. Object literal may only specify known properties, and 'useInternationalCardOnly' does not exist in type 'WithRedirection<WidgetPaymentRequest> 라고합니다. 이게 토스페이먼츠 위젯 버전에 따른 override 를 해두신것 같은데 문서를 봐도 어떻게 파라미터를 기입해야할지 잘 모르겠습니다. ㅠ
14 replies
지급정산 payout 입급 완료 이후에 웹 hook이 트리거 되지 않은것 같습니다.
음 그러면 시간차가 있다는 것만 확인해 주시겠습니까? 실제 입금은 3시 19분 이더군요 저희 고객들에게 실제 입금과, 대시보드내에 상태 변경에 시간차가 있다고 안내드리려 합니다.
11 replies
지급정산 payout 입급 완료 이후에 웹 hook이 트리거 되지 않은것 같습니다.
아아 맞습니다. 방금 확인해보니 완료되었네요. 시간차가 좀 있군요 🙂 감사합니다.
11 replies