결제
자바스크립트로 vue 에서
@tosspayments/payment-sdk 를 이용해서 결제합니다.
결제 함수는 아래와 같습니다.
저 함수가 실행되면 아래와 같은 에러 납니다.
KnownError: 업체 사정으로 인해 결제를 일시 중지하였습니다. 상점으로 문의하시기 바랍니다.
Unsafe attempt to initiate navigation for frame with origin 'http://localhost:9000' from frame with URL 'https://api.tosspayments.com/proxy/pages/setup/live_ck_XjExPeJWYVQZlQOXR0vr49R5gvNL/gN60L1adJYyZqmkKeP8gWkvDBdNRDj8bQRxB9lG5DnzWE7pM'. The frame attempting navigation is targeting its top-level window, but is neither same-origin with its target nor has it received a user gesture. See https://www.chromestatus.com/feature/5851021045661696.
Uncaught DOMException: Failed to set the 'href' property on 'Location': The current window does not have permission to navigate the target frame to 'http://localhost:9500/payment/toss_pay_fail?code=PAY_PROCESS_ABORTED&message=%EC%97%85%EC%B2%B4%20%EC%82%AC%EC%A0%95%EC%9C%BC%EB%A1%9C%20%EC%9D%B8%ED%95%B4%20%EA%B2%B0%EC%A0%9C%EB%A5%BC%20%EC%9D%BC%EC%8B%9C%20%EC%A4%91%EC%A7%80%ED%95%98%EC%98%80%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EC%83%81%EC%A0%90%EC%9C%BC%EB%A1%9C%20%EB%AC%B8%EC%9D%98%ED%95%98%EC%8B%9C%EA%B8%B0%20%EB%B0%94%EB%9E%8D%EB%8B%88%EB%8B%A4.&orderId=ojim0xu5wIS_SXfMH5XwoF'.
at https://api.tosspayments.com/proxy/pages/setup/live_ck_XjExPeJWYVQZlQOXR0vr49R5gvNL/gN60L1adJYyZqmkKeP8gWkvDBdNRDj8bQRxB9lG5DnzWE7pM:47:41
@tosspayments/payment-sdk 를 이용해서 결제합니다.
결제 함수는 아래와 같습니다.
저 함수가 실행되면 아래와 같은 에러 납니다.
KnownError: 업체 사정으로 인해 결제를 일시 중지하였습니다. 상점으로 문의하시기 바랍니다.
Unsafe attempt to initiate navigation for frame with origin 'http://localhost:9000' from frame with URL 'https://api.tosspayments.com/proxy/pages/setup/live_ck_XjExPeJWYVQZlQOXR0vr49R5gvNL/gN60L1adJYyZqmkKeP8gWkvDBdNRDj8bQRxB9lG5DnzWE7pM'. The frame attempting navigation is targeting its top-level window, but is neither same-origin with its target nor has it received a user gesture. See https://www.chromestatus.com/feature/5851021045661696.
Uncaught DOMException: Failed to set the 'href' property on 'Location': The current window does not have permission to navigate the target frame to 'http://localhost:9500/payment/toss_pay_fail?code=PAY_PROCESS_ABORTED&message=%EC%97%85%EC%B2%B4%20%EC%82%AC%EC%A0%95%EC%9C%BC%EB%A1%9C%20%EC%9D%B8%ED%95%B4%20%EA%B2%B0%EC%A0%9C%EB%A5%BC%20%EC%9D%BC%EC%8B%9C%20%EC%A4%91%EC%A7%80%ED%95%98%EC%98%80%EC%8A%B5%EB%8B%88%EB%8B%A4.%20%EC%83%81%EC%A0%90%EC%9C%BC%EB%A1%9C%20%EB%AC%B8%EC%9D%98%ED%95%98%EC%8B%9C%EA%B8%B0%20%EB%B0%94%EB%9E%8D%EB%8B%88%EB%8B%A4.&orderId=ojim0xu5wIS_SXfMH5XwoF'.
at https://api.tosspayments.com/proxy/pages/setup/live_ck_XjExPeJWYVQZlQOXR0vr49R5gvNL/gN60L1adJYyZqmkKeP8gWkvDBdNRDj8bQRxB9lG5DnzWE7pM:47:41

