Sha256: 29168ef9906cea3533ff698be3cd12e1bc5ca9357de6fbd21cb3fa1e4977c83f

Contents?: true

Size: 307 Bytes

Versions: 9

Compression:

Stored size: 307 Bytes

Contents

module Spree
  class ApplePayDomainVerificationController < Spree::BaseController
    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

9 entries across 9 versions & 1 rubygems

Version Path
spree_gateway-3.7.1 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.7.0 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.6.7 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.6.5 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.6.4 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.6.1 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.6.0 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.4.1 lib/controllers/spree/apple_pay_domain_verification_controller.rb
spree_gateway-3.4.0 lib/controllers/spree/apple_pay_domain_verification_controller.rb