Menu
Feedback
Start here

Known issues

Known issues
When settleId is sent as null and code as 'refund-manually' our gateway performs a double refund.
Payments
ID: 615050
No Fix
Published on7/11/2022
Last updated on2/16/2024
1 min read

Summary

The PPP documentation indicates that when the refund process did not work, the provider must respond with a null to this field, and also when the refund must be performed manually, the code field must have the value “refund-manually”.

The problem is that each triggers a refund, causing it to be doubled.

Simulation

Send code="refund-manually" and settled=null in the settlement response with PPP.

Workaround

Do not send "refund-manually" in the code field, rather just send the settled as null.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback