-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cybersource refund request returned ApiException: (400) when refunding a PayPal purchase #1047
Comments
Please disregard the part in my above comment where I mentioned the issue might be the amount. The issue is related to the The things I'd suggest verifying are:
Based on point#2, We might also want to see the associated transaction objects with this order in Django Admin. There should ideally be one transaction object having @pdpinch Could you try to refund this order through Django Admin, Just to check if there is any issue with the refunds through the sheets flow. |
I tried through the django admin and got another 500 error: I also tried making a PayPal order in RC. I was surprised to find that it points to sandbox.paypal.com and not the live service. Unfortunately, I go the same error as you did. |
Hmm, This looks like the same issue, The |
I think a Zoom call might be helpful to check if we can see any specific logs that might be coming from Paypal or if there is something specific wrong to this transaction only, At this point, seeing the logs, CyberSource seems to be complaining about the |
I put through a PayPal refund through the EBC manually, and I noticed that I had to enter the refund amount. Are we passing the refund amount through the API? |
Yes, The refund implementation does that and it's flexible in two ways. (Reference)
There might be another thing to look for while refunding through EBC, We need to reflect that in our database too just like the implementation does that, e.g. Ideally we should:
|
Sentry Issue: MITXONLINE-2DA
The text was updated successfully, but these errors were encountered: