flutter 연동후 에러
안녕하세요.
flutter로 개발된 web에서 결제 테스트 진행입니다.
결제창 팝업, 결제인증후 최종 단계에서 결제창이 로딩UX만 계속 돌고 있습니다.
브라우져 콘솔에 보면 아래와 같은 에러가 찍혀 있습니다.
flutter로 개발된 web에서 결제 테스트 진행입니다.
결제창 팝업, 결제인증후 최종 단계에서 결제창이 로딩UX만 계속 돌고 있습니다.
브라우져 콘솔에 보면 아래와 같은 에러가 찍혀 있습니다.
_app-8a07ff99ed40f1f1.js:29 Unsafe attempt to initiate navigation for frame with origin 'https://dev-web.dararara.com' from frame with URL 'https://payment-gateway-sandbox.tosspayments.com/pc/direct?token=10966d288bcb4f0791829ce64c85034c14decf3240424a7e9636be51a1351adf&authType=KMPI&cardCode=21>id=a251211EHT1t9BsNsppBLDa8ZEzycN2HGCXoX65'. The frame attempting navigation is neither same-origin with the target, nor is it the target's parent or opener.
_app-8a07ff99ed40f1f1.js:29 Uncaught SecurityError: Failed to set a named property 'href' on 'Location': The current window does not have permission to navigate the target frame to 'https://dev-web.dararara.com/order/payment/success?v=9f53b48057b18378d11604ab141849186eb749977dcef7846a0b5c81472739b9&paymentType=NORMAL&orderId=6a4a2ea6-d4ac-426e-9513-5de85cb6d1c5&paymentKey=tgen_20251211132654rPWN9&amount=3218'.
at _app-8a07ff99ed40f1f1.js:29:9811
at _app-8a07ff99ed40f1f1.js:29:9886
at y (_app-8a07ff99ed40f1f1.js:29:9903)
at 7277-180a7af8ca9a5613.js:1:31372
at e (7277-180a7af8ca9a5613.js:1:39686)
(anonymous) @ _app-8a07ff99ed40f1f1.js:29
(anonymous) @ _app-8a07ff99ed40f1f1.js:29
y @ _app-8a07ff99ed40f1f1.js:29
(anonymous) @ 7277-180a7af8ca9a5613.js:1
e @ 7277-180a7af8ca9a5613.js:1
postMessage
(anonymous) @ result-65b4971a10f4d66a.js:1
Promise.then
(anonymous) @ result-65b4971a10f4d66a.js:1
onSuccess @ result-65b4971a10f4d66a.js:1
await in onSuccess
i @ result-65b4971a10f4d66a.js:1
(anonymous) @ result-65b4971a10f4d66a.js:1
uI @ framework-a79e23d076e15596.js:9
oU @ framework-a79e23d076e15596.js:9
o @ framework-a79e23d076e15596.js:9
x @ framework-a79e23d076e15596.js:33
T @ framework-a79e23d076e15596.js:33_app-8a07ff99ed40f1f1.js:29 Unsafe attempt to initiate navigation for frame with origin 'https://dev-web.dararara.com' from frame with URL 'https://payment-gateway-sandbox.tosspayments.com/pc/direct?token=10966d288bcb4f0791829ce64c85034c14decf3240424a7e9636be51a1351adf&authType=KMPI&cardCode=21>id=a251211EHT1t9BsNsppBLDa8ZEzycN2HGCXoX65'. The frame attempting navigation is neither same-origin with the target, nor is it the target's parent or opener.
_app-8a07ff99ed40f1f1.js:29 Uncaught SecurityError: Failed to set a named property 'href' on 'Location': The current window does not have permission to navigate the target frame to 'https://dev-web.dararara.com/order/payment/success?v=9f53b48057b18378d11604ab141849186eb749977dcef7846a0b5c81472739b9&paymentType=NORMAL&orderId=6a4a2ea6-d4ac-426e-9513-5de85cb6d1c5&paymentKey=tgen_20251211132654rPWN9&amount=3218'.
at _app-8a07ff99ed40f1f1.js:29:9811
at _app-8a07ff99ed40f1f1.js:29:9886
at y (_app-8a07ff99ed40f1f1.js:29:9903)
at 7277-180a7af8ca9a5613.js:1:31372
at e (7277-180a7af8ca9a5613.js:1:39686)
(anonymous) @ _app-8a07ff99ed40f1f1.js:29
(anonymous) @ _app-8a07ff99ed40f1f1.js:29
y @ _app-8a07ff99ed40f1f1.js:29
(anonymous) @ 7277-180a7af8ca9a5613.js:1
e @ 7277-180a7af8ca9a5613.js:1
postMessage
(anonymous) @ result-65b4971a10f4d66a.js:1
Promise.then
(anonymous) @ result-65b4971a10f4d66a.js:1
onSuccess @ result-65b4971a10f4d66a.js:1
await in onSuccess
i @ result-65b4971a10f4d66a.js:1
(anonymous) @ result-65b4971a10f4d66a.js:1
uI @ framework-a79e23d076e15596.js:9
oU @ framework-a79e23d076e15596.js:9
o @ framework-a79e23d076e15596.js:9
x @ framework-a79e23d076e15596.js:33
T @ framework-a79e23d076e15596.js:33