ramkumar
ramkumar2mo ago

Toss Payment widget issue

Hi Toss Society, We are implementing payment Widget in our site by using Javascript SDK method. We have Initialize the Toss payments SDK, created payment instance and followed the below document as mentioned. However, once once we choose any payment methods and proceed further er ate seeing below error. Could you please assist us on this? https://docs.tosspayments.com/guides/v2/payment-widget/integration?backend=java
연동하기 | 토스페이먼츠 개발자센터
토스페이먼츠의 간편한 결제 연동 과정을 한눈에 볼 수 있습니다. 각 단계별 설명과 함께 달라지는 UI와 코드를 확인해보세요.
No description
23 Replies
토스페이먼츠 BOT
⏳ 잠시만 기다려주세요! 곧 답변드리겠습니다
오류 문의일 경우 아래 정보를 미리 전달해주시면, 빠른 답변에 도움이 됩니다.
- 주문번호(orderId) : - 문의 내용 :
(img를 함께 첨부해주시면 도움이됩니다)
* 계약관련 내용은 1544-7772로 문의주세요. * 주말/공휴일에는 답변이 늦을 수 있어요.
이실장
이실장2mo ago
Is it only occured on specific payment method? Can you share us the orderId that you used to request payments?
pankaj.mahapatra@gspann.com
Thanks 이실장 for looking into it. It is happening for all three payments options that we are implementing (EasyPayment, CreditCard, VirtualBankTransfer), below are some of the orderIds - 00000607, 00000606
Kimoon Lee
Kimoon Lee2mo ago
I believe your chrome has some extentions that effects html and js Please delete related extentions then try it again.
pankaj.mahapatra@gspann.com
I have used chrome incognito and safari as well now I am getting below error -
No description
Ayaan
Ayaan2mo ago
Do not use Chrome Incognito Mode. Toss Payments and card companies, including easy-pay companies not supporting the chrome incognito. The way you can test Toss Payments service without any extension's intercept is go to chrome://settings/reset and click "Reset". It disables the extensions so it ensures there's no extension errors such you have experienced
pankaj.mahapatra@gspann.com
Hi @Ayaan - I am getting the same error in regular chrome after resetting my setting as mentioned, Would you be able to join for a quick call on this in order to resolve the issue?
No description
Ayaan
Ayaan2mo ago
is it naverpay? Naverpay's testbed server is unstable, please try it on live environment or with other payment methods.
pankaj.mahapatra@gspann.com
yes, Naverpay. We are in development phase for Toss Payment, this feature has not on live for our site. Let me try other payment options.
Ayaan
Ayaan2mo ago
The “TossPay” will work correctly on the test env. If you really need to test the easypay please try with TossPay
ramkumar
ramkumar5w ago
Hi Team, we are able to place order using bank transfer. However, we have a concern that when we close the payment window it should redirected the cancel url but is not happening. Cloud you assist on this? or let us know when fail URL will execute.
Kimoon Lee
Kimoon Lee5w ago
In Mobile devices, when you close the payment window, you can get failurl but not in PC/.
ramkumar
ramkumar5w ago
How to check Fail scenario in PC?
Ayaan
Ayaan5w ago
You can check by Promise catch() function requestPayment() function is Promise, and it rejects when payment window is closed
Ayaan
Ayaan5w ago
.catch(function (error) { // 에러 처리: 에러 목록을 확인하세요 // https://docs.tosspayments.com/reference/error-codes#failurl로-전달되는-에러 if (error.code === "USER_CANCEL") { // 결제 고객이 결제창을 닫았을 때 에러 처리 } });
API 에러 코드 | 토스페이먼츠 개발자센터
토스페이먼츠 API 사용할 때 발생할 수 있는 에러를 살펴보세요.