Sha256: 3763fe5c8f89cafc5d0e37be6987a9d842a0caa55686b9a9379e6cc4f81b9b3b
Contents?: true
Size: 520 Bytes
Versions: 14
Compression:
Stored size: 520 Bytes
Contents
module Spree class Recurring < ActiveRecord::Base class StripeRecurring < Spree::Recurring module ApiHandler module SubscriptionEventApiHandler def retrieve_event(event_id) begin Stripe::Event.retrieve(event_id) rescue error_class => e logger.error "Stripe Event error: #{e.message}" errors.add :base, "Stripe Event error: #{e.message}" nil end end end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems