Toss payments 개발자 커뮤니티Tp개커Toss payments 개발자 커뮤니티
Powered by
이문행이
Toss payments 개발자 커뮤니티•2mo ago•
14 replies
이문행

flutter 연동후 에러

안녕하세요.
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&gtid=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&gtid=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
Toss payments 개발자 커뮤니티 banner
Toss payments 개발자 커뮤니티Join
Toss payments 개발자 커뮤니티입니다. 결제 연동하며 겪는 기술 문의부터, 결제 시장에 대한 다양한 정보까지 얻어가세요~
15,588Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

브랜드페이 결제 연동후 서버 Confirm 에러
박상영 매니저박박상영 매니저 / ❓┃연동개발-문의
5mo ago
Flutter URL scheme 에러 발생문의
dsudfoisjfojoDdsudfoisjfojo / ❓┃연동개발-문의
3y ago
tosspayments_sdk_flutter 에러 문의
ogtoOogto / ❓┃연동개발-문의
3y ago
에러목록에 없는 에러메세지
윤병인윤윤병인 / ❓┃연동개발-문의
10mo ago