Payment-widget got error DUPLICATED_ORDER_ID
https://docs.tosspayments.com/guides/v2/payment-widget/integration
I’m using the payment-widget. When the backend receives the confirmation request with the following data:
{
orderId: 'd440c5e8-26b4-4**',
amount: 500000,
paymentKey: 'web_c202511*'
}
I then call the API v1/payments/confirm for check the results and I receive the status: "WAITING_FOR_DEPOSIT". Then i waited a few seconds. After that, I called v1/payments/confirm again and got the error DUPLICATED_ORDER_ID.
How can I know when the order has been fully paid?
연동하기 | 토스페이먼츠 개발자센터
토스페이먼츠의 간편한 결제 연동 과정을 한눈에 볼 수 있습니다. 각 단계별 설명과 함께 달라지는 UI와 코드를 확인해보세요.
16 Replies
⏳ 잠시만 기다려주세요! 곧 답변드리겠습니다
오류 문의일 경우 아래 정보를 미리 전달해주시면, 빠른 답변에 도움이 됩니다.
- 주문번호(orderId) :
- 문의 내용 :
(img를 함께 첨부해주시면 도움이됩니다)
* 계약관련 내용은 1544-7772로 문의주세요.
* 주말/공휴일에는 답변이 늦을 수 있어요.
Why did you do that "After that, I called v1/payments/confirm again"
you already request it and get an reponse properly.
because i got status WAITING_FOR_DEPOSIT
so i need check success or pending
it is a virtual account. that means you need to deposit money to this VA to comfirm the payment.
Do you know how the VA works in korea?
because i got a confirm request in backend. and i have paymentKey, orderId, amount from body.
Does that mean the money has been transferred to VA and is pending right?
YES VA is the account for the payment. so the user must deposit his money to the account then the payment is confirmed.
And we give you the updated body via webhook after the payment is confirmed
In the other terms, VA requires webhook configuration
i got it. and i have one question
success page will be opened even though there is no payment to VA yet. right?
yes
❤️ 기술문의 경험이 어떠셨나요?!
간단히 코멘트 남겨주세요! 제품 발전에 큰 힘이 됩니다.
hi Toss team. i have a question.
i'm using Payment-widget so where can i get VA from this popup

What is the url of the screenshot?
I'm following this documentation:
https://docs.tosspayments.com/guides/v2/payment-widget/integration?frontend=react&backend=node
I’m not using a webhook for this flow, but since users can pay via VA, I need to add a webhook for that. So I need to check where I can select the VA option in this popup
연동하기 | 토스페이먼츠 개발자센터
토스페이먼츠의 간편한 결제 연동 과정을 한눈에 볼 수 있습니다. 각 단계별 설명과 함께 달라지는 UI와 코드를 확인해보세요.
So you have the admin page of payment widget. could you share the MID?
yes help me check web_cpo_kmg