Just testing the refund feature and got a crash
res = PayPal.make_nvp_call(params, micropayment = self.total < 12)
Looks like PayPal.make_nvp_call() only takes a single parameter.
Anyone know why this micropayments was included and should micropayments go into the params?
2012-04-06T22:14:59+00:00 app[web.1]: ArgumentError (wrong number of arguments (2 for 1)):
2012-04-06T22:14:59+00:00 app[web.1]: lib/ruby-paypal/paypal.rb:274:in `make_nvp_call'
2012-04-06T22:14:59+00:00 app[web.1]: app/models/order.rb:398:in `refund'
2012-04-06T22:14:59+00:00 app[web.1]: app/models/order.rb:537:in `paypal_refund_order'
2012-04-06T22:14:59+00:00 app[web.1]: app/controllers/admin/orders_controller.rb:127:in `refund'