diff --git a/java/com/google/domain/registry/ui/js/registrar/payment.js b/java/com/google/domain/registry/ui/js/registrar/payment.js index 9ad7be82b..6862fe5e2 100644 --- a/java/com/google/domain/registry/ui/js/registrar/payment.js +++ b/java/com/google/domain/registry/ui/js/registrar/payment.js @@ -189,11 +189,7 @@ registry.registrar.Payment.prototype.bindToDom = function(id) { */ registry.registrar.Payment.prototype.onSetup_ = function(response) { if (response.status != 'SUCCESS') { - // Check for hard-coded error message codes from backend. - if (response.message == 'sandbox') { - goog.soy.renderElement(this.content_, - registry.soy.registrar.payment.sandbox); - } else if (response.message == 'not-using-cc-billing') { + if (response.message == 'not-using-cc-billing') { goog.soy.renderElement(this.content_, registry.soy.registrar.payment.notUsingCcBilling); } else { diff --git a/java/com/google/domain/registry/ui/soy/registrar/Payment.soy b/java/com/google/domain/registry/ui/soy/registrar/Payment.soy index 3dd1dafd5..353667a69 100644 --- a/java/com/google/domain/registry/ui/soy/registrar/Payment.soy +++ b/java/com/google/domain/registry/ui/soy/registrar/Payment.soy @@ -115,17 +115,6 @@ {/template} -/** Page used to disable page in sandbox environment. */ -{template .sandbox} -
-

Payment Page Disabled

-

- The payment page is not available in the OT&E environment. Please - login to the production Registrar Console. -

-{/template} - - /** Page indicating customer is not on credit card billing terms. */ {template .notUsingCcBilling}
diff --git a/javatests/com/google/domain/registry/ui/js/registrar/payment_test.js b/javatests/com/google/domain/registry/ui/js/registrar/payment_test.js index 9d1916827..3c75aa439 100644 --- a/javatests/com/google/domain/registry/ui/js/registrar/payment_test.js +++ b/javatests/com/google/domain/registry/ui/js/registrar/payment_test.js @@ -53,20 +53,6 @@ function tearDown() { } -function testSandbox_showsDisabled() { - registry.testing.assertReqMockRsp( - '?', - '/registrar-payment-setup', - {}, - { - status: 'ERROR', - message: 'sandbox' - }); - assertContains('Payment Page Disabled', - goog.dom.getTextContent($$('reg-payment'))); -} - - function testRenderForm() { registry.testing.assertReqMockRsp( '?',