PayPal Express Checkout option
I need to setup PayPal Express as another option for payment on this site and when I originally ran the checkout wizard I think PayPal was added.
On the test page (checkout2.php) the PayPal button is near the bottom, but when I click on it I am redirected to the pp_checkout_failure.php page.
On that page I have error reporting in place and it see the following errors:
Notice: Undefined variable: eCart1 in /home/aerialda/public_html/pp_checkout_failure.php on line 9
Fatal error: Call to a member function IsEmpty() on a non-object in /home/aerialda/public_html/pp_checkout_failure.php on line 9
What I need to accomplish overall is to have PayPal as an option to make payment and then have it return to the site with the order success and send a universal email receipt with the link to download the purchase. That is how it is currently setup, but the payment method is using PayPal Pro to process the payments on the site. That function will stay in place.