Welcome, Guest ( Customer Panel | Login )




 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
1904 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
0 Item(s)
$0.00