To DrByte - Boy are you right. From my error logs:
PHP Fatal error: main(): Failed opening required '.../cart/includes/languages/english/modules/payment/simplepaypal.php' (include_path='.:/usr/share/pear') in /cart/MYADMIN/orders.php on line 319
Moved the file and it works like a dream.
To Linda, DrByte, and the rest of the ZC Gurus: You are the best! ZC has worked flawlessly for us for over a year now. Knowledge and help run's wild here. Thank you for all you do and have done.
In case anyone else had the need...
We needed a way to offer our customers the option to pay via Paypal without a payment gateway. Here's what we did...
Clone the money order payment module:
1) Make a copy of /cart/includes/modules/payment/moneyorder.php and rename it. (we used simplepaypal.php)
Do a search and replace to change all instances of:
moneyorder to simplepaypal (OR YOUR FILE NAME) and
MONEYORDER to SIMPLEPAYPAL (OR YOUR FILE NAME)
Load the new file to /cart/includes/modules/payment/
2) Make a copy of /cart/includes/languages/english/modules/payment/moneyorder.php and rename it. (we used simplepaypal.php)
You need to edit lines lines 23-25. We changed:
PHP Code:
define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE', 'Check/Money Order');
define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION', 'Please make your check or money order payable to:<br />' . MODULE_PAYMENT_MONEYORDER_PAYTO . '<br /><br />Mail your payment to:<br />' . nl2br(STORE_NAME_ADDRESS) . '<br /><br />' . 'Your order will not ship until we receive payment.');
define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER', "Please make your check or money order payable to:" . "\n\n" . MODULE_PAYMENT_MONEYORDER_PAYTO . "\n\nMail your payment to:\n" . STORE_NAME_ADDRESS . "\n\n" . 'Your order will not ship until we receive payment.');
To:
PHP Code:
define('MODULE_PAYMENT_SIMPLEPAYPAL_TEXT_TITLE','Pay with Paypal');
define('MODULE_PAYMENT_SIMPLEPAYPAL_TEXT_DESCRIPTION', '<img src="images/paypal_logo.jpg" style="float: right;padding-right:20px;" width="37" height="23" alt="Paypal Logo" />' . '<span style="color:#CB002B;">IMPORTANT! - You will receive an email with your order total and Paypal instructions after we have processed your order.</span>' . '<br /><br />' . 'Your order will be held until payment has been received.');
define('MODULE_PAYMENT_SIMPLEPAYPAL_TEXT_EMAIL_FOOTER', 'You will receive an email with your order total and Paypal instructions after we have processed your order.' . '<br /><br />' . 'Your order will be held until payment has been received.');
*note the 3 changes from _MONEYORDER_ to _SIMPLEPAYPAL_.
Load the new file to /cart/includes/languages/english/modules/payment/
3) Go to ADMIN > MODULES > PAYMENT and install your newly cloned module.
That's it.
Why??
Our customers are extremely sensitive about shipping costs. When they request "ship my order the cheapest way" they mean it (and they check). So all of our orders require us to package their order, calculate the best shipping and notify them of the total cost (shipping + order) in the 2nd step of the process (pending). With this module/clone we simply include a link to pay via Paypal. It's not traditional but it works and it's what our customers want.