Sheetal
Sheetal6mo ago

Hi Toss Team, Had a query regarding the partial refund .

1. I am trying to initiate partail refund from the test enviroment, it gives me { "code": "NOT_ALLOWED_PARTIAL_REFUND_WAITING_DEPOSIT", "message": "입금 대기중인 ê²°ì œëŠ” 부분 환불이 불가합니다." } How do I complete the deposit in the test environment after placing the order. 2. If I am using webhook for cancellation, what all things need to be configured, what will be the reponse we will be getting.. How much time will it take to initiate the webhook? Please provide detail steps to configure webhook Thanks Sheetal Jain
18 Replies
토스페이먼츠 BOT
⏳ 잠시만 기다려주세요! 곧 답변드리겠습니다
오류 문의일 경우 아래 정보를 미리 전달해주시면, 빠른 답변에 도움이 됩니다.
- 주문번호(orderId) : - 문의 내용 :
(img를 함께 첨부해주시면 도움이됩니다)
* 계약관련 내용은 1544-7772로 문의주세요. * 주말/공휴일에는 답변이 늦을 수 있어요.
Ayaan이안
Ayaan이안6mo ago
Can you please let us know the orderId for the transaction that you got "not allowed partial refund waiting deposit" error please?
Sheetal
SheetalOP6mo ago
Hello, this is the transaction key tmcmk20240821195750vObL9
Kimoon Lee
Kimoon Lee6mo ago
It is a vitrual account payment and it was not deposited That's why the partial cancel is not working.
Sheetal
SheetalOP6mo ago
Yes we were testing the virtual account.. Is there any means by which we can make a deposit in test environment? For virtua; accounts And how about the 2nd question about the webhooks
Kimoon Lee
Kimoon Lee6mo ago
you can depoit it via our developer center. the webhook will be initiated in real-time.
Sheetal
SheetalOP6mo ago
Can you help me with the steps to deposit in developer center, I tried but didnt find any option there. For Webhook, cant we do in our test environment
Kimoon Lee
Kimoon Lee6mo ago
what is your MID?
For Webhook, cant we do in our test environment
No it is possible in test env here is the spec of webhook
Kimoon Lee
Kimoon Lee6mo ago
웹훅(Webhook) 연결하기 | 토스페이먼츠 개발자센터
토스페이먼츠 결제, 브랜드페이, 지급대행 상태에 변경사항이 있을 때 웹훅으로 실시간 업데이트를 받아보세요. 웹훅이란 데이터가 변경되었을 때 실시간으로 알림을 받을 수 있는 기능이에요.
Sheetal
SheetalOP6mo ago
does it mean, we cannot configure webhook for test envitonment
Kimoon Lee
Kimoon Lee6mo ago
No you can.
Ayaan이안
Ayaan이안6mo ago
You should be able to configure webhook for test env If there's other reason for not able to configure webhook on test env, please let us know - we will find how you can test it on other ways
Sheetal
SheetalOP6mo ago
Even if I am configuring for cancel , but I am not getting the response from the webhook.. only 3 steps to be followed right, registering the webhook.. Can you give me details about how the web hook gets triggreed.. Do we have to do any trigger from develop center?
Kimoon Lee
Kimoon Lee6mo ago
did you set up "CANCEL_STATUS_CHANGED" event?
Sheetal
SheetalOP6mo ago
Yes
Sheetal
SheetalOP6mo ago
If you can see the screenshot
No description
Kimoon Lee
Kimoon Lee6mo ago
You need to set up PAYMENT_STATUS_CHANGED NOT CANCEL_STATUS_CHANGED CANCEL_STATUS_CHANGED only works for internationally wallets
토스페이먼츠 BOT
❤️ 기술문의 경험이 어떠셨나요?!
간단히 코멘트 남겨주세요! 제품 발전에 큰 힘이 됩니다.

Did you find this page helpful?