VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 VP-ASP 6.00 Questions
 COD fee facility?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tri-line
Starting Member

Denmark
30 Posts

Posted - November 17 2006 :  06:44:37  Show Profile  Reply with Quote
Hello,

Is there a way to setup a fee on certain payment options?

I need to setup a special fee, only added when customer select COD as payment.

Best regards,
Kjeld

k-otic
Starting Member

49 Posts

Posted - November 22 2006 :  21:40:21  Show Profile  Reply with Quote
Haven't tried it... but you'd need to add code to shopcheckout.asp

In the sub getformfields try adding

if stroOther = "COD" then
SetSess "Handling",5
endif


see if that does what u want.
Go to Top of Page

tri-line
Starting Member

Denmark
30 Posts

Posted - November 28 2006 :  13:24:09  Show Profile  Reply with Quote
Thanks!

But I do not use the shopcheckout.asp. The check out page is a customized gateway checkout, where I would have to add 20,00 as fee for the COD choice.
I just don't know how to add an amount, when the customer has reached this page. But the COD runs under Other payment options. And this part has not been changed in the gateway page.

Best regards,
Kjeld
Go to Top of Page

devshb
Senior Member

United Kingdom
1898 Posts

Posted - November 28 2006 :  14:47:01  Show Profile  Visit devshb's Homepage  Reply with Quote
I think the main problem is that the order cost is calculated before you get to the payment-choice aspect, so you'd probably need to move that option so that it comes up before the final order confirmation page instead of after it, then maybe use handling-charge logic/options for it.

Simon Barnaby
Developer
[email protected]
www.BigYellowZone.com
Web Design, Online Marketing and VPASP addons
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000