해외 카드 결제 관련 문의드립니다.

. .

"@tosspayments/payment-sdk": "^1.9.1" , .

loadTossPayments(String(clientKey)).then((tossPayments: any) => {
// ------ ------
tossPayments
.requestPayment("", {
//
//
// 창 Javascript SDK.
// https://docs.tosspayments.com/sdk/payment-js
amount: String(convertedSum), //
orderId, //
orderName, //
customerName, //
successUrl, // (. .)
failUrl, // (. .),
// * *
useInternationalCardOnly: !(origin_nation === 'kr'),
})
.catch(function (error: any) {
if (error.code === "USER_CANCEL") {
//
} else if (error.code === "INVALID_CARD_COMPANY") {
//
}
});
});

, . ?
Screen_Shot_2024-12-10_at_9.08.22_PM.png
창 JavaScript SDK , .
결제창 JavaScript SDK(Version 1) | 토스페이먼츠 개발자센터
Was this page helpful?