Sha256: 2f1eec4424206c85f868213f7f4fa42476d02967428524bd23d014243dda4475
Contents?: true
Size: 512 Bytes
Versions: 21
Compression:
Stored size: 512 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
21 entries across 21 versions & 3 rubygems
Version | Path |
---|---|
activemerchant-1.116.0 | lib/active_merchant/billing/gateways/in_context_paypal_express.rb |