Method: ActiveMerchant::Billing::InContextPaypalExpressGateway#redirect_url_for
- Defined in:
- lib/active_merchant/billing/gateways/in_context_paypal_express.rb
permalink #redirect_url_for(token, options = {}) ⇒ Object
[View source] [View on GitHub]
7 8 9 10 11 12 |
# File 'lib/active_merchant/billing/gateways/in_context_paypal_express.rb', line 7 def redirect_url_for(token, = {}) = { review: true }.update() url = "#{redirect_url}?token=#{token}" url += '&useraction=commit' unless [:review] url end |