Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RevenueCat integration for IAP from iOS #535

Closed
wants to merge 1 commit into from
Closed

Conversation

joemasilotti
Copy link
Owner

@joemasilotti joemasilotti commented Jul 1, 2022

Goal: respond to RevenueCat's webhook calls to add a Pay subscription for that user.

To-dos

  • Ensure Businesses::Subscription can handle multiple price_ids to account for App Store + Stripe identifiers
  • Rename Businesses::Subscription#price_id so it makes more sense with non-Stripe payment processors
  • Introduce annual plan?
  • Rename RevenueCat plan names to remove "_plan" to match .with_identifier
  • Split out RevenueCat to development + production
  • Double check that a fake processor can work (for now)

@joemasilotti joemasilotti changed the title WIP: RevenueCat integration for IAP from iOS RevenueCat integration for IAP from iOS Jul 1, 2022
@@ -0,0 +1,24 @@
module Webhooks
class RevenueCatController < ApplicationController
skip_before_action :verify_authenticity_token, only: :create

Check failure

Code scanning / CodeQL

CSRF protection weakened or disabled High

Potential CSRF vulnerability due to forgery protection being disabled or weakened.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant