카드 결제 페이지 문의

,
,
.
?

.

import { loadTossPayments } from "@tosspayments/payment-sdk";
...
const tossClient = await loadTossPayments(clientKEy);
await tossClient.requestPayment("카드", {
        amount: product.salesPrice,
        orderId: `${product.shopId}${dayjs().format("YYYYMMDDhhmmss")}`,
        orderName: product.itemName,
        customerName: user?.user.nickname,
        successUrl: `${location.href}/success`,
        failUrl: `${location.href}/fail`,
      });
`
2023-04-27_3.19.23.png
2023-04-27_3.19.39.png
Was this page helpful?