Is there away to setup "Different payment methods for different Customers"
IE: new registered customer only has PAYPAL
Custmer that the Store Admin has entered can be on account or Cheque
Thanks
JB
Is there away to setup "Different payment methods for different Customers"
IE: new registered customer only has PAYPAL
Custmer that the Store Admin has entered can be on account or Cheque
Thanks
JB
You could use the Customer Groups ... make a Group for those allowed to use other Payment modules then test for that in the payment module and disable the Payment module if the customer is not in the Group ...
If you already use Customer Groups for other things then you would need to customize the customer database and add a new field that can be updated on the customer information to flag customers that are allowed other payment modules ...
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: v1.5.5]
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!
Sorry .. I can not find in the Payment Modules how to enable or disable the payment for a specific group
-group one to only have PayPal
-group two to only have cheque
we created two groups under the group pricing discount could not find any other way to create the different groups
Thanks for your help
JB
Let's say you want the Check/Money Order moneyorder ...
You can customize the code for:
/includes/modules/payment/moneyorder.php
with the code in RED:
and now only those in customers_group_pricing 2 can see the Check/Money Order moneyorder payment module ...Code:if ((int)MODULE_PAYMENT_MONEYORDER_ORDER_STATUS_ID > 0) { $this->order_status = MODULE_PAYMENT_MONEYORDER_ORDER_STATUS_ID; } // bof: Only allow for customers_group_pricing 2 if (!IS_ADMIN_FLAG) { global $db; $group_query = $db->Execute("select customers_group_pricing from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$_SESSION['customer_id'] . "'"); if ($group_query->fields['customers_group_pricing'] != '2') { $this->enabled = false; } } // eof: Only allow for customers_group_pricing 2 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: v1.5.5]
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!
Ajeh, thanks for posting this!
Is there any way to change the name of a payment module?
For example, can I "rename" Check/Moneyorder payment module so that when a customer sees it it lists itself as "Invoice Payment" rather than "Check/Moneyorder" during the checkout process?
Thanks so much for your help!
Live again! http://spritelygoods.com Rebuilt on ZC v 1.5.1 from 1.3.0.2
All of the Payment modules have language files that you can customize using your templates and overrides ...
Peek in the:
/includes/languages/english/modules/payment/moneyorder.php
and copy to:
/includes/languages/english/modules/payment/your_templates_dir/moneyorder.php
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: v1.5.5]
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 again Ajeh.
You don't happen to have any insight as to why the old "Invoice" payment method from version 1.3 was dropped, do you? I'm just wondering as I realized it isn't one of the standard payment types included in the 1.5 download.
Live again! http://spritelygoods.com Rebuilt on ZC v 1.5.1 from 1.3.0.2
ah, nevermind that previous question. Seems some of the quirks of previous versions of ZC have been handled :) especially around downloadable products which were a bit of a hassle with the old invoice system.
Live again! http://spritelygoods.com Rebuilt on ZC v 1.5.1 from 1.3.0.2
a hint for anyone who is adding this to their code:
the value for the customer_groups_pricing refers to the group pricing ID number...not the group name.
:)
Live again! http://spritelygoods.com Rebuilt on ZC v 1.5.1 from 1.3.0.2
Bookmarks