Ramya
Ramya3mo ago

⚡ 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.
22 Replies
토스페이먼츠 BOT
⏳ 잠시만 기다려주세요! 곧 답변드리겠습니다
오류 문의일 경우 아래 정보를 미리 전달해주시면, 빠른 답변에 도움이 됩니다.
- 주문번호(orderId) : - 문의 내용 :
(img를 함께 첨부해주시면 도움이됩니다)
* 계약관련 내용은 1544-7772로 문의주세요. * 주말/공휴일에는 답변이 늦을 수 있어요.
Minsu Kim
Minsu Kim3mo ago
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.
Ramya
RamyaOP3mo ago
Its for flutter mobile app
토스페이먼츠 BOT
❤️ 기술문의 경험이 어떠셨나요?!
간단히 코멘트 남겨주세요! 제품 발전에 큰 힘이 됩니다.
Ramya
RamyaOP3mo ago
Its for flutter mobile app
Minsu Kim
Minsu Kim3mo ago
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
Kimoon Lee
Kimoon Lee3mo ago
Could you try it with
Kimoon Lee
Kimoon Lee3mo ago
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.
Kimoon Lee
Kimoon Lee3mo ago
our sample first?
Ramya
RamyaOP3mo ago
can i know how to fix this error - {"result":"ERROR","data":null,"error":{"code":"1000","message":"처리 중 오류가 발생했습니다","data":{"bypassMessage":true}}}
Minsu Kim
Minsu Kim3mo ago
Could you let us know the MID, or client key that you used?
Ramya
RamyaOP3mo ago
merchant id is gecmal9yml
Kimoon Lee
Kimoon Lee3mo ago
when was the right time you got the this error?
Kimoon Lee
Kimoon Lee3mo ago
could you check customerphone number is only numeric?
Ramya
RamyaOP3mo ago
+91 1234567890
Kimoon Lee
Kimoon Lee3mo ago
please use only numeric value.
Ramya
RamyaOP3mo ago
91 1234567890 is this correct
Minsu Kim
Minsu Kim3mo ago
No You should pass the phone number in Korean format 01xxxxxxxxx (e.g. 01012345678)
Ramya
RamyaOP3mo ago
ok
Minsu Kim
Minsu Kim3mo ago
The foreign phone numbers are not supported And, customer’s phone number is only required when the payment is VIRTUAL_ACCOUNT So please consider remove them, or ensure the phone number is always in Korean format
Ramya
RamyaOP3mo ago
Thanks, its working

Did you find this page helpful?