⚡ Toss Payments Flutter SDK Issue
Hey everyone 👋,
I’m integrating tospayments_widget_sdk_flutter in my Flutter app. Using:
PaymentWidget
PaymentMethodWidget
AgreementWidget
Info:
Flutter: 3.32.6
tosspayments_widget_sdk_flutter: 2.1.2
Platform: Android / iOS / Web
Amount is integer (KRW) ✅
Problem:
Getting errors when rendering payment methods/agreements or requesting payment:
Uncaught (in promise) SyntaxError: "[object Object]" is not valid JSON
This is happening during the Toss Payments requestPayment call in your Flutter WebView.
11 Replies
⏳ 잠시만 기다려주세요! 곧 답변드리겠습니다
오류 문의일 경우 아래 정보를 미리 전달해주시면, 빠른 답변에 도움이 됩니다.
- 주문번호(orderId) :
- 문의 내용 :
(img를 함께 첨부해주시면 도움이됩니다)
* 계약관련 내용은 1544-7772로 문의주세요.
* 주말/공휴일에는 답변이 늦을 수 있어요.
First of all, if your project is also configured for web, you cannot use Toss Payments SDK, as we do not have a flutter web support.
Its for flutter mobile app
❤️ 기술문의 경험이 어떠셨나요?!
간단히 코멘트 남겨주세요! 제품 발전에 큰 힘이 됩니다.
Its for flutter mobile app
Thanks for reminder - we are checking this now
However it is difficult to check the issue as this is not the error from our side
@Ramya We don’t think this is our error, it is your app’s error
Please debug from your side more further
Could you try it with
GitHub
tosspayments-sample-v1/payment-widget/flutter at main · tosspaymen...
토스페이먼츠 SDK v1 샘플 프로젝트입니다. . Contribute to tosspayments/tosspayments-sample-v1 development by creating an account on GitHub.
our sample first?
can i know how to fix this error - {"result":"ERROR","data":null,"error":{"code":"1000","message":"처리 중 오류가 발생했습니다","data":{"bypassMessage":true}}}
Could you let us know the MID, or client key that you used?