OK, thanks
OK, thanks
For PayPal IPN (Standard), you would need to customize the Payment Module file:
/includes/payment/paypal.php
and change this section of code to be:
Code:$this->enabled = ((MODULE_PAYMENT_PAYPAL_STATUS == 'True') ? true : false); // bof: custom code for order status if ($order->info['total'] <= 50.00) { // set to normal setting for orders less than or equal to $50 $this->order_status = MODULE_PAYMENT_PAYPAL_ORDER_STATUS_ID; } else { // set to pending for orders over $50 $this->order_status = 1; } // eof: custom code for order status if (is_object($order)) $this->update_status();
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Thank you so much!!!
I'm going to try it
Hugs,
Joanne
OK, just to be sure I'm going to do this right, I would find this:
and REPLACE with this:Code:$this->enabled = ((MODULE_PAYMENT_PAYPAL_STATUS == 'True') ? true : false); if ((int)MODULE_PAYMENT_PAYPAL_ORDER_STATUS_ID > 0) { $this->order_status = MODULE_PAYMENT_PAYPAL_ORDER_STATUS_ID; } if (is_object($order)) $this->update_status();
Is this correct?Code:$this->enabled = ((MODULE_PAYMENT_PAYPAL_STATUS == 'True') ? true : false); // bof: custom code for order status if ($order->info['total'] <= 50.00) { // set to normal setting for orders less than or equal to $50 $this->order_status = MODULE_PAYMENT_PAYPAL_ORDER_STATUS_ID; } else { // set to pending for orders over $50 $this->order_status = 1; } // eof: custom code for order status if (is_object($order)) $this->update_status();
Thanks so much for helping me!!
Joanne
That should work ... test it out to make sure this is working the way you need it ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Thanks so much for all your help - now I just have to find someone with $50 to test it for me
Hugs,
Joanne