Methods
- P
Instance Public methods
perform(charge) Link
Source: show
# File engines/api/app/jobs/api/application_fee_refunder_job.rb, line 5 def perform(charge) Stripe::ApplicationFee .list(charge:) .data .select { |f| f.application == app_id } .map(&:id) .each { |id| Stripe::ApplicationFee.create_refund(id) } rescue Stripe::InvalidRequestError end