简体   繁体   中英

payola subscription with rails

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM