PayPal Integration - refusing money
We have integrated PayPal into our webshop and are already using the live key. When customers pay for a product, the order is marked as paid in the webshop, and the money is deducted from the customer. However, 15 minutes later, the amount is refunded with the reason "Denied." On the Toss Dashboard, there are no transactions visible at all.
17 Replies
⏳ 잠시만 기다려주세요! 곧 답변드리겠습니다
오류 문의일 경우 아래 정보를 미리 전달해주시면, 빠른 답변에 도움이 됩니다.
- 주문번호(orderId) :
- 문의 내용 :
(img를 함께 첨부해주시면 도움이됩니다)
* 계약관련 내용은 1544-7772로 문의주세요.
* 주말/공휴일에는 답변이 늦을 수 있어요.
Can you share us the orderId of the order?
From our webshop?
No the orderId value to request open the paypal window.
The last orderId we opened the paypal window is this: "40702" because we request the paypal window with the orderid of the order
So this can be the problem yeah? Because i see the request needs string of between 6 and 64 characters, consisting of uppercase letters, numbers, special characters
I’m not sure yet. I requested the information to check the logs, but the information is not unique enough. Could you please check the following two points as well?
The time when the given orderId was used
Your mid (or clientKey)
2025-05-19 - 06:14
(UTC+2) Hungarian timezone
MID: shinkiukj4
after paypal authentication the successURL was called. but you did not call confirm API after that.
To complete the payment process you must need to request confirm api, please check it.
❤️ 기술문의 경험이 어떠셨나요?!
간단히 코멘트 남겨주세요! 제품 발전에 큰 힘이 됩니다.
Okay, now i call the confirm api but give me this error: "{
"code": "FORBIDDEN_REQUEST",
"message": "허용되지 않은 요청입니다."
}"
order_id: wc_40739
MID: shinkiukj4
Im using the "API Individual Integration Key" keys
how can i solve this?
Test MID: tshinkiukj4
Which document are you looking for?
Are you integrating payment widget?
No, im integrating paypal with redirecting
When you request order you send amount as 50.7
But when you confrim the order, it was 72500.00
yeah because paypal only accepts USD or am I wrong?
yes.
Then why are you send request as amount:72500 at the confirmAPI
Thank you! I solved it based on your help.
No prob.