Questions tagged [payola]

The Payola (payola-payments) rubygem is for accepting payments with stripe in Rails applications.

The Payola (payola-payments) rubygem is for accepting payments with stripe in Rails applications.

GitHub

17 questions
4
votes
1 answer

Rails Payola: add a coupon to an existing subscription

We're working on a SaaS product that uses Payola to handle payment, and we'd like to add a referral promotion. Adding the coupon to the referee is simple enough (hidden field on the form with the coupon code), but there doesn't seem to be any…
mfhholmes
  • 225
  • 2
  • 8
3
votes
1 answer

Payola issue: undefined method `amount' for nil:NilClass

I'm just learning how to use Payola to create Subscriptions for my RoR 5.1.5 test app. I'm following along with the instructions on the wiki. I've set up the sample form taken from the example on the Wiki and dropped it right into…
acoustic_north
  • 815
  • 11
  • 31
2
votes
1 answer

Payola gem with Stripe - Updating payola_subscription table

I just started looking at the payola gem and having an issue. The gem creates a table called payola_subscription, which is supposed to record subscription creation, cancellation, etc. So far, when I create a new subscription, it is recorded in this…
Alex
  • 193
  • 1
  • 2
  • 12
2
votes
0 answers

Payola: Stripe token can't be blank

I go to subscriptions/new, put my CC info and I get this: No background worker installed. No turbolinks. What's wrong? Subscription_controller.rb class SubscriptionsController < ApplicationController # bring in the `render_payola_status` helper. …
sparkle
  • 7,530
  • 22
  • 69
  • 131
1
vote
0 answers

undefined method `amount' for nil:NilClass with Payola

I've been following this tutorial for Payola. I've tested adding my own plans and they do appear on my dashboard and on my console. However, when I go to create a subscription, I get the following error: undefined method `amount' for…
Edie W.
  • 667
  • 2
  • 9
  • 24
1
vote
1 answer

Payola Gem, getting No route matches [GET] "/payola/events"

I'm using Payola-payments 1.5.1 with Rails 5.0.1 and running into the following error when I attempt to make a payment on a Stripe test-mode account: No route matches [GET] "/payola/events" Payola has a route to "/payola/events" which leads to the…
1
vote
1 answer

Payola worker fails with 'relation "payola_subscriptions" does not exist'

UPDATE I've posted a 30$ bounty for whoever fixes this. I'm using the Checkout button and posting the result to payola/subscribe/PLAN_CLASS/PLAN_ID.json This is my initializers/payola.rb Payola.configure do |config| config.background_worker =…
Alfredo Re
  • 122
  • 7
1
vote
0 answers

ActionMailer works for Devise but not for Mailboxer

My application is configured to use actionmailer to send emails. I have the smtp settings in production.rb as follows: ActionMailer::Base.smtp_settings = { address: 'smtp.zoho.com', port: 465, user_name: ENV['ZOHO_USERNAME'], …
Alex
  • 193
  • 1
  • 2
  • 12
1
vote
1 answer

Rails Stripe Subscriptions, Webhooks, and Payola

I am currently using rails-stripe-membership-saas to set up my SaaS site. I currently have plans set up in Stripe that corresponds with rails to sign users up for a certain plan, all of which have a 14-day trial. I need help figuring out how to not…
Kevin
  • 177
  • 1
  • 15
0
votes
0 answers

Why are stripeTokens no longer being generated for my registration form?

I migrated most of Payola to Rails 5.2, and I was able to create subscriptions for users without issue up until this point. I'm puzzled at why my form is unable to generate stripeTokens and store them with the form. I receive the error stripeToken…
Cole Phiper
  • 349
  • 1
  • 13
0
votes
1 answer

How do I update the subscription and sales table after receiving stripe webhook responses with Payola?

I'm able to receive Web hook responses from Stripe, through Payola's StripeEvent method blocks. Each response renders me a 200 OK HTTP header when I click the test webhooks button on the Stripe dashboard. The issue that I am having, is the…
Cole Phiper
  • 349
  • 1
  • 13
0
votes
1 answer

Use Engine Routes inside of Rails.application.routes.draw Rails 5.2

I'm currently using a custom build of a gem that hasn't been updated to work with Rails 5.2 as of now. I've extracted the core files and now I'm faced with an issue where I need to access the routes for the engine internally. All folders for the…
0
votes
1 answer

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…
dhruv mehta
  • 67
  • 11
0
votes
1 answer

Receiving GUID Null Status on create for Payola Stripe Subscription Model

I'm having trouble figuring out why I am receiving {"guid":null,"status":"pending","error":"Email can't be blank"} after I attempt to create a user. Even though, all of the input fields are correct. I cannot get past this point. My server log…
valcod3r
  • 321
  • 4
  • 14
0
votes
1 answer

How to add price upon checking a check_box in Ruby on Rails

I am working on a paid ad job board, and am using #Payola-Payments (Implementation of Stripe Payment Processor with Rails Application) to charge each job post on the app.. This is what I like to do: When a check_box is checked, I want the price the…
Afolabi Olaoluwa
  • 1,898
  • 3
  • 16
  • 37
1
2