Skip to content
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

getting Internal Error for trying to refund #78

Open
ohadperry opened this issue Jan 29, 2014 · 0 comments
Open

getting Internal Error for trying to refund #78

ohadperry opened this issue Jan 29, 2014 · 0 comments

Comments

@ohadperry
Copy link

Hi, I have used this like so:

pp = PaypalAdaptive::Request.new("staging")

refund_data =  {
          receiverList:           {receiver: [amount:50]},
          requestEnvelope:        {errorLanguage: 'en_US', detailLevel: 'ReturnAll'},
          currencyCode:           'USD',
          transactionId:          "3LB17176J1579470G"
      }

pp.refund(refund_data)

the result is:

{"responseEnvelope"=>{"timestamp"=>"2014-01-29T04:43:15.462-08:00", 
"ack"=>"Failure", "correlationId"=>"64008dca7cba5", "build"=>"7935900"}, 
"error"=>[{"errorId"=>"520002", "domain"=>"PLATFORM",
 "subdomain"=>"Application", "severity"=>"Error", 
"category"=>"Application", "message"=>"Internal Error"}]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant