sdk v2 payment.requestPayment() 사용 시 `COMMON_ERROR` 발생

재 payment.requestPayment() method, 은 format, .

// payment.requestPayment()에 넘긴 파라미터
{
      method: 'CARD',
      amount: {
        value: 10000,
        currency: 'KRW',
      },
      orderId: 'test1234',
      orderName: 'test',
      successUrl: 성공 url,
      failUrl: 실패 url,
      customerEmail: 이메일,
      customerName: 이름,
      customerMobilePhone: 전화번호,
      card: {
        // NOTE: 평생교육바우처는 BC 카드 고정
        flowMode: 'DIRECT',
        cardCompany: 'BC',
      },
    }


?

.
image.png
Was this page helpful?