Spree-Mercado-Pago-payment-method icon indicating copy to clipboard operation
Spree-Mercado-Pago-payment-method copied to clipboard

Undefined method `m_method'

Open aanfuso opened this issue 11 years ago • 2 comments

I get this error when returning from "MercadoPago" either because the state of the transaction was rejected, confirmed or pending.

NoMethodError (undefined method `m_method' for #ActiveRecord::Relation:0x007ff73304bca8)

on this line

https://github.com/manuca/Spree-Mercado-Pago-payment-method/blob/master/app/controllers/spree/mercado_pago_controller.rb#L22

I could not find this method anywhere. I do not know what it actually does.

aanfuso avatar Oct 18 '13 03:10 aanfuso

Thanks for reporting.

Can you specify Spree version. I've been trying to catch up as there have been some changes in latest Spree versions, the last time I tested the gem was on the 1.3 branch of Spree.

manuca avatar Oct 18 '13 19:10 manuca

I'm using version 1.3 of spree.

aanfuso avatar Oct 18 '13 19:10 aanfuso