I am using papal_adaptive gem. I provided my paypal sandbox account details in papal_adaptive.yml file. When I call pay_request = PaypalAdaptive::Request.new
, it throws the error below:
You have a nil object when you didn't expect it! You might have expected an instance of ActiveRecord::Base. The error occurred while evaluating nil.[]