manuca/Spree-Mercado-Pago-payment-method

Undefined method `m_method'

aanfuso opened this issue · 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.

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.

I'm using version 1.3 of spree.