diff --git a/billing/integrations/world_pay_integration.py b/billing/integrations/world_pay_integration.py index acaad616..80b85de6 100644 --- a/billing/integrations/world_pay_integration.py +++ b/billing/integrations/world_pay_integration.py @@ -8,8 +8,8 @@ from django.utils.decorators import method_decorator from billing.forms.world_pay_forms import WPHostedPaymentForm -RBS_HOSTED_URL_TEST = "https://select-test.wp3.rbsworldpay.com/wcc/purchase" -RBS_HOSTED_URL_LIVE = "https://secure.wp3.rbsworldpay.com/wcc/purchase" +RBS_HOSTED_URL_TEST = "https://select-test.worldpay.com/wcc/purchase" +RBS_HOSTED_URL_LIVE = "https://secure.worldpay.com/wcc/purchase" # http://www.rbsworldpay.com/support/bg/index.php?page=development&sub=integration&c=WW diff --git a/billing/tests/world_pay_tests.py b/billing/tests/world_pay_tests.py index 96ec8284..f5188ef9 100644 --- a/billing/tests/world_pay_tests.py +++ b/billing/tests/world_pay_tests.py @@ -42,7 +42,7 @@ def assertFormIsCorrect(self, form, fields): parsed = urlparse.urlparse(form_action_url) self.assertEquals(parsed.scheme, 'https') - self.assertEquals(parsed.netloc, 'select-test.wp3.rbsworldpay.com') + self.assertEquals(parsed.netloc, 'select-test.worldpay.com') self.assertEquals(parsed.path, '/wcc/purchase') def testFormGen(self):