Forums / All Other Contributions/Addons / Beta Testing: "Surcharge Fee" addon

Beta Testing: "Surcharge Fee" addon

Views: 5,688

Results 1 to 20 of 24
2 Aug 2008, 3:47 PM
#1
cadforte avatar

cadforte

New Zenner

Join Date:
Jun 2008
Posts:
15
Plugin Contributions:
1

Beta Testing: "Surcharge Fee" addon

Yes, the infamous surcharge fee. Use at your own risk, accepting the Terms of Service of this module in the Readme. This is acceptable in some places, so it IS a legitimate add-on, and can have uses other than credit card and Paypal (never legitimate) surcharges. It is fairly vastly featured, but does not recalculate tax.

2 Aug 2008, 4:12 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Beta Testing: "Surcharge Fee" addon

Please submit your contributions to the downloads area.
Guidelines can be reviewed here: https://www.zen-cart.com/tutorials/index.php?article=11

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

3 Aug 2008, 5:53 AM
#3
cadforte avatar

cadforte

New Zenner

Join Date:
Jun 2008
Posts:
15
Plugin Contributions:
1

Re: Beta Testing: "Surcharge Fee" addon

The Beta (RC1 - Awaiting Acceptance) has been submitted for review. I posted it here because it is just that, a beta. It has not been tested on any other machines - and it (optionally, for full functionality,) modifies several Zencart core files. The cc surcharge add-on in the Zencart download library didn't work for me.

I would like it to be tested, and I took it so far beyond what I needed, with database entries for all the variables so others can use it easily to meet their needs, I want to add any functionality that is desired, namely including tax recalculation.

Perhaps someone post a piece of sample code for an order total module to properly alter the tax for a modified order total (during order total calculation)?

I could also use a way to record the surcharge in the database so that invoices can be based on what actually happened and not what would happen if the order happened at that time (seems like a flaw in Zencart unless I am wrong, the order invoice/history should be static,) and a way to refund the fee. Is there a refund add-on I could use? Both of these goals could be add-ons on their own....

I also want to add product type specifications, and need to do this for my reverse tax module, but that I don't need help with.

I will post the link when it is available. In the meantime, you can contact me to request it if you desire.

11 Dec 2008, 3:09 AM
#4
doubletiger avatar

doubletiger

Zen Follower

Join Date:
Apr 2005
Posts:
199
Plugin Contributions:
0

Re: Beta Testing: "Surcharge Fee" addon

Hi, Cadforte

I've just tested your "Surcharge Fee by Payment Method Order Total Module" mod, to add surcharge for worldpay, It replaced cc with worldpay, it appears working. However, there is a problem, the surcharge appears too soon, on the payment information page, where lists all of payment methods, the surcharge appears. This will confuse customers - they will think there is a surcharge regardless which payment method cusotmer use. What I want is only after customer select worldpay, then either surcharge appears or surcharge appears when cusotmer select worldpay and click "continue checkout".

can you please change the code to stop surcharge appears too soon? (one stage too early)

many thanks!

26 Apr 2009, 4:46 AM
#5
biju avatar

biju

New Zenner

Join Date:
Sep 2008
Location:
Kochi/INDIA
Posts:
6
Plugin Contributions:
0

Re: Beta Testing: "Surcharge Fee" addon

I have installed this module on a test site running ZenCart 1.3.7. Everything is working fine till the order confirmation page. On clicking the Submit order button, it lands on the payment gateway page where the total order value is again added by the SURCHARGE Fee Percent .

for example if

Sub-Total:Rs.2,360.00
VAT 4% + 1% SSC on VAT: Rs.95.34
Express Courier (1 x 1.00Kgs) :Rs.50.00
Online Payment Processing Fee* (3.5%):Rs.87.69
Total:Rs.2,593.03

All the above is correctly displayed in the order confirmation page, but when you click order submit button and reach Payment Gateway Page the order value becomes Rs.2683.78, which is 3.5% more than the total on the order confirmation page.

How can I correct this error?

3 Jun 2009, 2:15 PM
#6
timryc01 avatar

timryc01

New Zenner

Join Date:
Jun 2007
Posts:
17
Plugin Contributions:
0

Re: Beta Testing: "Surcharge Fee" addon

doubletiger:

Hi, Cadforte

I've just tested your "Surcharge Fee by Payment Method Order Total Module" mod, to add surcharge for worldpay, It replaced cc with worldpay, it appears working. However, there is a problem, the surcharge appears too soon, on the payment information page, where lists all of payment methods, the surcharge appears. This will confuse customers - they will think there is a surcharge regardless which payment method cusotmer use. What I want is only after customer select worldpay, then either surcharge appears or surcharge appears when cusotmer select worldpay and click "continue checkout".

can you please change the code to stop surcharge appears too soon? (one stage too early)

many thanks!

Hi, has anyone solved this? I have 3 payment methods, one credit card, one cheque and one paypal. I set the default payment method to credit card which we don't want to do a surcharge on however the option still comes up.

We only want to charge this on paypal, now the text below paypal is fine, saying by selecting this option you agree to 2.9% surcharge etc.

I agree with this comment above, the surcharge appear come in too early, the next stage would be better. Anyone found a solution to this?

Thanks for your help.

Tim

4 Jun 2009, 10:20 AM
#7
mcpisik avatar

mcpisik

Zen Follower

Join Date:
Jan 2007
Location:
Mount Maunganui, New Zealand
Posts:
417
Plugin Contributions:
0

Re: Beta Testing: "Surcharge Fee" addon

Same here on the "too early" part.
Mr Creator can you help?

15 Jun 2009, 10:35 PM
#8
tommyboybid avatar

tommyboybid

New Zenner

Join Date:
Jun 2009
Posts:
7
Plugin Contributions:
0

Re: Beta Testing: "Surcharge Fee" addon

anyone help with this

I am having the same issue.

Only slight fix i have is to move the surchage below the total amount

So the total is calculated without surcharge,

But then this is displayed on the conformation page, and invoices and it is messing woth my totals in my reports

I have noticed if you select a payment method that does not have a surcharge then click next, and then go back, the page displays as i would expect it to

I did try another surcharge module, but could not get it to work

PLease if anyone can help

16 Jun 2009, 9:29 AM
#9
timryc01 avatar

timryc01

New Zenner

Join Date:
Jun 2007
Posts:
17
Plugin Contributions:
0

Re: Beta Testing: "Surcharge Fee" addon

Hi all, I thought I had fixed this problem with a slight tweak with the code. Basically I set the default payment method of credit card rather then having none selected on the payment screen. I thought this would fix it, as per the message above they mention if you select any other payment other then paypal and then go to confirmation and then back to payment the surcharge disappears. So I think I am perhaps part of the way there, maybe some other code tweaks might just work.

I'll let you know my findings.

Also i think part of our problem is that in 'most' countries adding a surcharge is not allowed in the T&C's of the payment provider. However this is allowed in the UK and Australia!

Cheers

Tim

24 Sep 2009, 12:54 PM
#10
ferid avatar

ferid

New Zenner

Join Date:
Jun 2005
Posts:
65
Plugin Contributions:
0

Re: Beta Testing: "Surcharge Fee" addon

Has anyone been able to fix the problem with the surcharge showing to soon?
I also installed this module and facing the same problem you have.
Hope someone is able to fix this issue :(

29 Sep 2009, 11:45 AM
#11
ferid avatar

ferid

New Zenner

Join Date:
Jun 2005
Posts:
65
Plugin Contributions:
0

Re: Beta Testing: "Surcharge Fee" addon

To bad nobody fixed the problem :(

20 Jul 2010, 6:41 PM
#12
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Beta Testing: "Surcharge Fee" addon

That wasn't a problem but a configuration setting. You can turn off the display - that was for information purposes only.

I'm trying to update the module to 1.3.9d. Anyone reading this thread who has experience or knowledge of this mod, please let me know.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

26 Jul 2010, 11:04 AM
#13
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Beta Testing: "Surcharge Fee" addon

I've made the changes necessary for the most recent version of 1.39d. These changes are for the core files, classes/order.php and order_total.php. The credit card mod will work without those changes but updated files are a must and I will post the updated version.

By the way, if you think it doesn't and you are using NAB transact, they now require selecting the surcharge option in one's admin.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

26 Jul 2010, 4:04 PM
#15
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Beta Testing: "Surcharge Fee" addon

oh, my, Jimmy, that one I didnt' know existed. That's for shipping so I don't see how it applies here but I needed that! Thanks!

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

24 Aug 2010, 12:41 PM
#16
shadowcast avatar

shadowcast

Zen Follower

Join Date:
Nov 2009
Posts:
106
Plugin Contributions:
0

Re: Beta Testing: "Surcharge Fee" addon

hi guys, does any know what are these???

(Code, Lowercase, Listed on Payment Modules Screen & in Module PHP

Trying to configure it.

18 Jan 2011, 9:14 AM
#17
pinatz avatar

pinatz

New Zenner

Join Date:
May 2010
Posts:
9
Plugin Contributions:
0

Re: Beta Testing: "Surcharge Fee" addon

delia:

I've made the changes necessary for the most recent version of 1.39d. These changes are for the core files, classes/order.php and order_total.php. The credit card mod will work without those changes but updated files are a must and I will post the updated version.

By the way, if you think it doesn't and you are using NAB transact, they now require selecting the surcharge option in one's admin.

Hello!! I'm using 1.3.9.. but what are the moddifies that I have to make in theese modules?
Bye

Thanks
Matteo

18 Jan 2011, 2:30 PM
#18
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Beta Testing: "Surcharge Fee" addon

rats, I never posted the updated module and it's been so long that I'm not sure that I even made any changes at all. I don't see date evidence that I did edit it.

Have you tried installing it?

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

18 Jan 2011, 2:35 PM
#19
pinatz avatar

pinatz

New Zenner

Join Date:
May 2010
Posts:
9
Plugin Contributions:
0

Re: Beta Testing: "Surcharge Fee" addon

delia:

rats, I never posted the updated module and it's been so long that I'm not sure that I even made any changes at all. I don't see date evidence that I did edit it.

Have you tried installing it?

Hi. Yes I installed it. The paypal taxes are alway 0% when I select paypal like method of payment :(

Could you help me?

Matteo

18 Jan 2011, 2:40 PM
#20
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Beta Testing: "Surcharge Fee" addon

you mean paypal surcharge? You aren't supposed to add surcharge for Paypal. Against the rules.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo