Sha256: 28182bf70898c5734d3d71fb30dbff006936df7ca039b2ac46dc7aa84512a4e9
Contents?: true
Size: 510 Bytes
Versions: 64
Compression:
Stored size: 510 Bytes
Contents
module ActiveMerchant #:nodoc: module Billing #:nodoc: class InContextPaypalExpressGateway < PaypalExpressGateway self.test_redirect_url = 'https://www.sandbox.paypal.com/checkoutnow' self.live_redirect_url = 'https://www.paypal.com/checkoutnow' def redirect_url_for(token, options = {}) options = {review: true}.update(options) url = "#{redirect_url}?token=#{token}" url += '&useraction=commit' unless options[:review] url end end end end
Version data entries
64 entries across 64 versions & 2 rubygems