Skip to content

Handle Stripe invoice.payment_succeeded webhook event #537

@joshsmith

Description

@joshsmith

Problem

  • We should handle the invoice.payment_succeeded event
  • We store the invoice in a local table
field :amount_due
field :application_fee

field :id_from_stripe
field :charge_id_from_stripe
field :customer_id_from_stripe
field :subscription_id_from_stripe

belongs_to :user # can figure it out through customer
belongs_to :subscription

# any other fields that make sense
  • we then track the event. tracking should contain a user id

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions