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)