Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-Cart 8.00 Issues
 PAYMENT CHOICES BY CUSTOMER
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

wesellnawon
Starting Member

USA
7 Posts

Posted - May 24 2017 :  22:17:53  Show Profile  Reply with Quote
Is there a way to offer payment choices to customers based on their log in or customer group?
Example: Some of our customers get Net 30 terms, some do not. I need to show net 30 terms as a payment option only for those that qualify.


Mitch Gordon

danielrichardson
VP-CART Super User

Australia
276 Posts

Posted - May 25 2017 :  05:09:50  Show Profile  Reply with Quote
seems it would need tweaking the code to allow this based on a customer''s account type

Edited by - danielrichardson on May 25 2017 05:20:55
Go to Top of Page

apswater
VP-CART Super User

444 Posts

Posted - May 25 2017 :  13:36:37  Show Profile  Visit apswater's Homepage  Reply with Quote
NSS
Go to Top of Page

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - May 26 2017 :  02:56:54  Show Profile  Reply with Quote
i can suggest you something here
first step you''ll gonna change your configurations-
*xallowotherpayments make sure it''s yes
*xotherpaymenttypes, include ''Net 30 terms'' into your existing ones...

then you can edit a file for this purpose based on customer group id
if you dont have a customer group for this, make sure you create one.
call it Group Name eg : Net30, n after you''ve added it, look at the customer group id..remember it

you will assign first the customers you want to this group better,,,

now i ''ll show you how to edit the checkout file to include the condition ..
open the shopcheckout.asp , and u need to search for the lines of coding below:

DisplayGateways
DisplayCreditCard
DisplayOtherPayment

u need to changing them to-

if getsess("groupid") <> "(put in customer group id here)" then
DisplayGateways
DisplayCreditCard
else
DisplayOtherPayment
end if

will it work for u ?

diego
Go to Top of Page

apswater
VP-CART Super User

444 Posts

Posted - May 26 2017 :  09:37:36  Show Profile  Visit apswater's Homepage  Reply with Quote
ill have to try this too.
Go to Top of Page

wesellnawon
Starting Member

USA
7 Posts

Posted - May 26 2017 :  10:53:09  Show Profile  Reply with Quote
Thanks Guys! I will give it a try and report back.
I hope you have a great weekend.

Mitch Gordon
Go to Top of Page

wesellnawon
Starting Member

USA
7 Posts

Posted - May 30 2017 :  13:25:22  Show Profile  Reply with Quote
Hi Diego,
I tried your code however it hides the entire pay by other methods no matter what I do. I need the cash and check options available to everyone and just the Net 30 to show along with the cash / check options for only some people. Is there a way I can use the custother1 field in the customer setup instead to do this? Thank you for all your help.

Mitch Gordon
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00