lib/active_merchant/billing/gateways/payflow_express.rb in activemerchant-1.4.2 vs lib/active_merchant/billing/gateways/payflow_express.rb in activemerchant-1.5.0
- old
+ new
@@ -6,10 +6,10 @@
module Billing #:nodoc:
class PayflowExpressGateway < Gateway
include PayflowCommonAPI
include PaypalExpressCommon
- self.test_redirect_url = 'https://test-expresscheckout.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token='
+ self.test_redirect_url = 'https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token='
self.homepage_url = 'https://www.paypal.com/cgi-bin/webscr?cmd=xpt/merchant/ExpressCheckoutIntro-outside'
self.display_name = 'PayPal Express Checkout'
def authorize(money, options = {})
requires!(options, :token, :payer_id)