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} -
- The payment page is not available in the OT&E environment. Please - login to the production Registrar Console. -