From 5ec99bd0c64dd3e270d07b631d06f9baeb1bf814 Mon Sep 17 00:00:00 2001 From: Chuck Scott Date: Mon, 11 Jun 2018 09:27:20 -0400 Subject: [PATCH] Change in some messages in checkout page and Org phone and toll free not required in management --- classes/data/dataManagement.php | 4 ++-- views/front/registrations/checkout.html | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/classes/data/dataManagement.php b/classes/data/dataManagement.php index 8616293..b71dc4b 100644 --- a/classes/data/dataManagement.php +++ b/classes/data/dataManagement.php @@ -174,7 +174,7 @@ class GlmDataRegistrationsManagement extends GlmDataAbstract 'reg_org_phone' => array ( 'field' => 'reg_org_phone', 'type' => 'text', - 'required' => true, + 'required' => false, 'use' => 'a' ), @@ -182,7 +182,7 @@ class GlmDataRegistrationsManagement extends GlmDataAbstract 'reg_org_toll_free' => array ( 'field' => 'reg_org_toll_free', 'type' => 'text', - 'required' => true, + 'required' => false, 'use' => 'a' ), diff --git a/views/front/registrations/checkout.html b/views/front/registrations/checkout.html index 8e5101c..a00ba5d 100644 --- a/views/front/registrations/checkout.html +++ b/views/front/registrations/checkout.html @@ -652,6 +652,7 @@ $('#payPalPaymentWarningMessage').html('
You canceled the PayPal Payment. Payment is required to submit your {$terms.reg_term_registration_plur}. If you don\'t wish to pay with PayPal, click the button below and select another payment method.'); }, onError: function(err) { +console.log(err); $('#payPalPaymentWarningMessage').html('
There was a problem with your PayPal Payment. Payment is required to submit your {$terms.reg_term_registration_plur}. If you\'re unable to pay with PayPal, click the button below and select another payment method.'); }, // Wait for the payment to be authorized by the customer -- 2.17.1