Skip to content

Nil object #48

Closed
vinceh opened this Issue Mar 27, 2012 · 0 comments

2 participants

@vinceh
vinceh commented Mar 27, 2012

When I try pay_response.success?, I get this error

You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.[]

I used the sample code using a new PaypalAdaptive::Request and then using pay_respond = pay_request.pay(data).

I'm using the sandbox account, and I set up my .yml without a ssl cert file. Am I doing something wrong?

@tc tc closed this Nov 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.