Reputation: 153
I'm trying to set up programmatic refunds using the NVP RefundTransaction API in the PayPal Sandbox.
I'm using a modified version of this PHP script to make my call. The API returns this error:
'L_ERRORCODE0' => string '10009'
'L_SHORTMESSAGE0' => string 'Transaction refused'
'L_LONGMESSAGE0' => string 'You do not have a verified ACH'
'L_SEVERITYCODE0' => string 'Error'
PayPal's documentation for this code and error message says:
This error occurs because you do not have sufficient funds in your PayPal balance to cover the amount of the refund and your PayPal account does not have an associated verified bank account. Be sure that you have sufficient funds in your PayPal balance and that you have verified the associated bank account.
However, the PayPal Sandbox account associated with the API credentials that I'm using has a "Bank Account" with an Account Number and Routing Number, and a PayPal "Balance" of 99999 GBP.
I don't know whether it's relevant to mention this, but "Payment Review" is set to OFF. Also, the request is being made in USD, but I've tried changing this GBP with no change in outcome.
My "Live" account has a balance of 0.0, and no associated bank account (at present). I don't see that this should matter, but I thought I'd mention it for completeness. I've double-checked that I am making the call to the Sandbox API and not the Live API.
Any ideas on what might be going wrong? Thank you.
Upvotes: 0
Views: 1145
Reputation: 30467
Confirm the sandbox email address of the receiver account:
Log into it and go to https://www.sandbox.paypal.com/businessprofile/settings/email
You can resend a confirmation message from there if necessary.
Read the notification via https://developer.paypal.com/developer/notifications/ , and sign in using the link provided to confirm the email
If this does not solve your problem, update your question with the full API error message, which should always include a correlation ID or debug_id among other things.
Upvotes: 1