Sha256: fc1fb75162964b7a32f642a5ecaaf235b9833d79c4d7593db859531eb58789d7

Contents?: true

Size: 310 Bytes

Versions: 13

Compression:

Stored size: 310 Bytes

Contents

module Spree
  class ApplePayDomainVerificationController < ::ActionController::Base
    def show
      gateway = Spree::Gateway::StripeApplePayGateway.active.last

      raise ActiveRecord::RecordNotFound unless gateway

      render plain: gateway.preferred_domain_verification_certificate
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
spree_gateway-3.11.0 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.10.0 lib/controllers/spree/apple_pay_domain_verification_controller.rb
archetype_spree_gateway-3.9.5.1 lib/controllers/spree/apple_pay_domain_verification_controller.rb
archetype_spree_gateway-3.9.5 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.9.4 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.9.3 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.9.2 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.9.0 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.8.0 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.7.5 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.7.4 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.7.3 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.7.2 lib/controllers/spree/apple_pay_domain_verification_controller.rb