Skip to content

Commit

Permalink
Use PayPal sandbox for Payflow Pro Express Checkout testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Cody Fauser committed Oct 6, 2009
1 parent 39e6eb0 commit e2a5408
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
= ActiveMerchant CHANGELOG

* Update to PayPal Sandbox URL for testing Payflow Pro Express Checkout. See Express Checkout for Payflow Pro guide [cody]
* Provide a C_STATE value of "Outside United States" for SageGateway when processing international customers [cody]
* PayPal Website Payments Pro Canada supports Amex [cody]
* Add line item support for LinkpointGateway. [Tony Primerano]
Expand Down
2 changes: 1 addition & 1 deletion lib/active_merchant/billing/gateways/payflow_express.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ 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'

Expand Down
2 changes: 1 addition & 1 deletion test/unit/gateways/payflow_express_test.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'test_helper'

class PayflowExpressTest < Test::Unit::TestCase
TEST_REDIRECT_URL = 'https://test-expresscheckout.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=1234567890'
TEST_REDIRECT_URL = 'https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=1234567890'
LIVE_REDIRECT_URL = 'https://www.paypal.com/cgibin/webscr?cmd=_express-checkout&token=1234567890'

TEST_REDIRECT_URL_WITHOUT_REVIEW = "#{TEST_REDIRECT_URL}&useraction=commit"
Expand Down

0 comments on commit e2a5408

Please sign in to comment.