MN Forum
Set the minimum charge - Printable Version

+- MN Forum (http://forum.mn-shop.com)
+-- Forum: Products (http://forum.mn-shop.com/forum-products.html)
+--- Forum: Feature Request (http://forum.mn-shop.com/forum-feature-request.html)
+---- Forum: PES Pro (http://forum.mn-shop.com/forum-pes-pro.html)
+---- Thread: Set the minimum charge (/thread-set-the-minimum-charge.html)

Pages: 1 2


Set the minimum charge - Ghost - 04-15-2013

Hello to all,

I was thinking that I think might be useful to set a minimum charge money ..


Example I want my users need to recharge minimum € 5

So my idea is to add an option that allows us to set a minimum amount of charge ...

I hope it will be helpful ..


Greetings ..


RE: Set the minimum charge - ask - 04-15-2013

I've done this myself to suit my needs as well as lower amount consumes most of the money as tax only.

Do this:

1. Open bank.php and find:

PHP Code:
Hidden content for guests 

Then edit "($cash < 1)" to any of the minimum amount you want. For example, if you want €5, replace it with "($cash < 5)" (without quotes, of course).

Next, open "system/payments/paypal/add_cash.php", find:

PHP Code:
Hidden content for guests 

Here to edit it with your minimum amount, i.e. for €5, replace above line with:

PHP Code:
Hidden content for guests 

We needed to edit above file because if to stop direct access of that file and abuse the minimum money requirements by editing cash amount.

So by editing above last file, even if he would enter 0.01, it would be automatically set to 5 euros as minimum. Smile


RE: Set the minimum charge - ongoltse - 04-15-2013

hi hello, can you help me?
why my pes pro in admin panel SQL Error: Unknown column 'paid' in 'where clause': ??


RE: Set the minimum charge - ask - 04-15-2013

Well, you will have to ask admin about that. Smile

Where are you getting that error?


RE: Set the minimum charge - Admin - 04-15-2013

(04-15-2013, 03:00 PM)ongoltse Wrote: Hidden content for guests

What script version you have? Send me an PM with your Order ID, domain name and cPanel access, I will take a look.

Regards!


RE: Set the minimum charge - Ghost - 04-16-2013

(04-15-2013, 02:56 PM)ask Wrote: Hidden content for guests


Thanks for your help, now I upgrade ..


Ps .. Dear admin would be nice to implement this, because otherwise I have to repeat the change when upgrading to a newer version ..

Anyway, thank you.


Greetings.


RE: Set the minimum charge - stevehead - 04-17-2013

Brilliant, nice mod , thanks ask


RE: Set the minimum charge - mart - 04-19-2013

I think this is a good request. Even tho we have a way to do as specified by Junior Member, I still think it would be great to have it as a core feature to help us save time when upgrading.


RE: Set the minimum charge - ask - 04-19-2013

(04-19-2013, 12:01 AM)mart Wrote: Hidden content for guests
FYI junior member was title and not my username. Sleepy

Welcome, everybody.


RE: Set the minimum charge - stevehead - 04-19-2013

All on this thread

Just to let you know we implemented the above and our income for last two days has nearly doubled, plus less Paypal fees!