Author |
Topic |
|
tri-line
Starting Member
Denmark
30 Posts |
Posted - November 17 2006 : 06:44:37
|
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
|
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.
|
|
|
tri-line
Starting Member
Denmark
30 Posts |
Posted - November 28 2006 : 13:24:09
|
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 |
|
|
devshb
Senior Member
United Kingdom
1904 Posts |
Posted - November 28 2006 : 14:47:01
|
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 |
|
|
|
Topic |
|