Change in some messages in checkout page and Org phone and toll free not required...
authorChuck Scott <cscott@gaslightmedia.com>
Mon, 11 Jun 2018 13:27:20 +0000 (09:27 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Mon, 11 Jun 2018 13:27:20 +0000 (09:27 -0400)
classes/data/dataManagement.php
views/front/registrations/checkout.html

index 8616293..b71dc4b 100644 (file)
@@ -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'
             ),
 
index 8e5101c..a00ba5d 100644 (file)
                         $('#payPalPaymentWarningMessage').html('<br>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('<br>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