From: Chuck Scott Date: Mon, 11 Jun 2018 13:27:20 +0000 (-0400) Subject: Change in some messages in checkout page and Org phone and toll free not required... X-Git-Tag: v1.0.1^2~4 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=5ec99bd0c64dd3e270d07b631d06f9baeb1bf814;p=WP-Plugins%2Fglm-member-db-registrations.git Change in some messages in checkout page and Org phone and toll free not required in management --- 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