paul
paul15mo ago

브랜드 페이 테스트 결제 할부 설정 오류 문의

안녕하세요. 테스트 환경에서 브랜드페이 자바스크립트 SDK 에서 결제 요청 후 결제 승인 응답, 결제 조회 에서 할부 정보가 조회되지 않아 문의 드립니다. 아래는 자바스크립트 요청 코드이고 할부 개월수를 입력해서 보내면 승인/응답으로는 0 으로 내려옵니다. 확인 부탁 드립니다. 감사합니다.
const requestParams = {
amount: amount,
taxFreeAmount: taxFreeAmount,
orderId: tossPaymentsOrderId,
orderName: safeProductName,
customerName: customerName,
customerEmail: customerEmail,
cardInstallmentPlan: installMonth, // 12 로 요청
methodId: externalId,
successUrl: successUrl,
failUrl: failUrl,
}

brandpay.requestPayment(requestParams)
const requestParams = {
amount: amount,
taxFreeAmount: taxFreeAmount,
orderId: tossPaymentsOrderId,
orderName: safeProductName,
customerName: customerName,
customerEmail: customerEmail,
cardInstallmentPlan: installMonth, // 12 로 요청
methodId: externalId,
successUrl: successUrl,
failUrl: failUrl,
}

brandpay.requestPayment(requestParams)
5 Replies
토스페이먼츠 BOT
⏳ 잠시만 기다려주세요! 곧 답변드리겠습니다
오류 문의일 경우 아래 정보를 미리 전달해주시면, 빠른 답변에 도움이 됩니다.
- 주문번호(orderId) : - 문의 내용 :
(img를 함께 첨부해주시면 도움이됩니다)
* 계약관련 내용은 1544-7772로 문의주세요. * 주말/공휴일에는 답변이 늦을 수 있어요.
유부장
유부장15mo ago
테스트 환경에서는 mock 데이터가 응답됩니다. 값에대한 검증은 라이브 환경에서 부탁 드려요
Kimoon Lee
Kimoon Lee15mo ago
브랜드페이 테스트 환경의 응답은 mocking 으로 나가고 있습니다
paul
paulOP15mo ago
네 답변 감사합니다.
토스페이먼츠 BOT
❤️ 기술문의 경험이 어떠셨나요?!
간단히 코멘트 남겨주세요! 제품 발전에 큰 힘이 됩니다.

Did you find this page helpful?