Class: SolidusSubscriptions::ProcessInstallmentJob

Inherits:
ApplicationJob
  • Object
show all
Defined in:
app/jobs/solidus_subscriptions/process_installment_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(installment) ⇒ Object



7
8
9
10
11
# File 'app/jobs/solidus_subscriptions/process_installment_job.rb', line 7

def perform(installment)
  Checkout.new(installment).process
rescue StandardError => e
  SolidusSubscriptions.configuration.processing_error_handler&.call(e, installment)
end