Spree 1.0.1 will not load this gateway properly
dwcoltri opened this issue · 3 comments
dwcoltri commented
I'm unable to get this gem to load properly with Spree 1.0.1. I'm getting the error:
gems/spree_elavon_gateway-802ab1e3bf31/app/models/gateway/elavon.rb:1:in `<top (required)>': wrong argument type Module (expected Class) (TypeError)
Any pointers or ideas that you could provide would be greatly appreciated.
baracek commented
Unfortunately I haven't had time to test this in Spree 1.0.1, currently they run in spree 0.60.x
What this means:
- Spree migrated several rails releases since 0.60.x
- Spree has changed the extension engine several times since 0.60.x
It probably requires the extension to be created with the generator again and the code migrated into the new generated extension.
sfsekaran commented
I'm going to upgrade this gem very shortly. Stay tuned! https://github.com/sfsekaran/spree_elavon_gateway
sfsekaran commented
BTW I'm going to use it with Spree 1.1.3 at the moment. It should be a piece of cake to upgrade or downgrade it to be usable for other minor versions once I'm done.