I made the change that you suggested. Then, I tested it.
On the checkout page, this error was displayed:
Fatal error: Call to undefined method WA_eCartBooks_Definition::WAEC_Shipping295() in /home/albooks/public_html/bookstore/checkout.php on line 523
The shopping cart page displayed:
Fatal error: Call to undefined method WA_eCartBooks_Definition::WAEC_Shipping295() in /home/albooks/public_html/bookstore/shopping-cart.php on line 353
Those errors were displayed so that customers would see them.
After that error display, there is nothing else on each page:
no text, no fields, and no buttons.
Previously, the page was operating correctly and people successfully ordered and used credit cards to purchase books. Even though nothing had been changed for months, about a week ago the site failed the PCI security compliance. (I guess because security is more strict than before.)
With that change, the cart didn't work at all.
So, I reverted to my version that at least will process payments. But, I'm now in the same situation. The form pages (for uploading documents and for credit card processing) cannot pass PCI security scans. (See previous posts.)
How can I make changes that will make those pages work properly AND be secure?