페이팔 결제연동
안녕하세요, 모바일 웹앱내에서 페이팔 결제연동중에 아래와 같은 스크립트를 실행하여 페이팔 결제를 진행하고 있습니다.
그런데 디바이스의 External Default Browser (ex. Chrome, Safari etc)를 띄워서 결제를 요청하는 방법은 어떻게 될까요~?
tossPayments.requestPayment("PAYPAL", {
amount: Input_총 합계's value,
orderId: "Result of step 1 (Create a new 예약내역...)'s unique id",
orderName: "Result of step 1 (Create a new 예약내역...)'s 예약한 지점's 명칭",
customerName: "Current User's Full_name",
successUrl: "https://4jthr.app.link/?$deeplink_path=https://hol-dit.com/version-test/m_index",
failUrl: "https://4jthr.app.link/?$deeplink_path=https://hol-dit.com/version-test/m_index",
provider: "PAYPAL",
currency: "USD",
country: "US"
});
그런데 디바이스의 External Default Browser (ex. Chrome, Safari etc)를 띄워서 결제를 요청하는 방법은 어떻게 될까요~?
tossPayments.requestPayment("PAYPAL", {
amount: Input_총 합계's value,
orderId: "Result of step 1 (Create a new 예약내역...)'s unique id",
orderName: "Result of step 1 (Create a new 예약내역...)'s 예약한 지점's 명칭",
customerName: "Current User's Full_name",
successUrl: "https://4jthr.app.link/?$deeplink_path=https://hol-dit.com/version-test/m_index",
failUrl: "https://4jthr.app.link/?$deeplink_path=https://hol-dit.com/version-test/m_index",
provider: "PAYPAL",
currency: "USD",
country: "US"
});
