Browse files

BUGFIX Fixed DPS URLs as per migration guide here: http://www.payment…

  • Loading branch information...
1 parent 0d15c22 commit 4ef01a665e0c94edc7a833037c269240e4c82b38 @halkyon halkyon committed Jul 20, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 code/DPSPayment/DPSAdapter.php
  2. +1 −1 tests/DPSPayment/DPSPaymentTest.php
View
4 code/DPSPayment/DPSAdapter.php
@@ -18,8 +18,8 @@ class DPSAdapter extends Controller{
// URLs
- public static $pxPost_Url = 'https://www.paymentexpress.com/pxpost.aspx';
- public static $pxPay_Url = 'https://www.paymentexpress.com/pxpay/pxaccess.aspx';
+ public static $pxPost_Url = 'https://sec.paymentexpress.com/pxpost.aspx';
+ public static $pxPay_Url = 'https://sec.paymentexpress.com/pxpay/pxaccess.aspx';
public static $allowed_currencies = array(
'CAD'=>'Canadian Dollar',
View
2 tests/DPSPayment/DPSPaymentTest.php
@@ -317,7 +317,7 @@ function testDPShostedPurchase(){
DPSAdapter::set_mode('Unit_Test_Only');
$url = $purchase->dpshostedPurchase(array());
DPSAdapter::set_mode('Normal');
- $this->assertContains("https://www.paymentexpress.com/pxpay/pxpay.aspx?userid=", $url);
+ $this->assertContains("https://sec.paymentexpress.com/pxpay/pxpay.aspx?userid=", $url);
}
}

0 comments on commit 4ef01a6

Please sign in to comment.