payola subscription with rails

167 Views Asked by At

I am trying to implement the payola-payment subscription in a Rails project.

I have tried to use the gem payola-payments but after running bundle, I am facing the following error when running rake db:migrate:

NoMethodError: undefined method `event_retriever=' for StripeEvent:Module Did you mean? event_filter=

I have found a solution that suggests using gem 'payola-payments', :git => '[email protected]:payolapayments/payola.git', but after that I get a migration error:

NoMethodError: undefined method `[]' for #

Can any one help with this?

1

There are 1 best solutions below

1
On

Your version of payola-payment has a bug check it here : github.com/payolapayments

It is suggested to replace

gem 'payola-payments'

with

gem 'payola-payments', :git => '[email protected]:payolapayments/payola.git'

in you Gemfile.