0

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 => 'git@github.com:payolapayments/payola.git', but after that I get a migration error:

NoMethodError: undefined method `[]' for #

Can any one help with this?

SRack
  • 11,495
  • 5
  • 47
  • 60
dhruv mehta
  • 67
  • 11

1 Answers1

0

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 => 'git@github.com:payolapayments/payola.git'

in you Gemfile.

andoke
  • 184
  • 13
  • Thank you for your replay @andoke,but if i have tried with your suggestion and i am facing the issue like: NoMethodError: undefined method `event_retriever=' for StripeEvent:Module – dhruv mehta Mar 27 '18 at 04:34