MN Forum

Full Version: Set the minimum charge
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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 ..
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
hi hello, can you help me?
why my pes pro in admin panel SQL Error: Unknown column 'paid' in 'where clause': ??
Well, you will have to ask admin about that. Smile

Where are you getting that error?
(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!
(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.
Brilliant, nice mod , thanks ask
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.
(04-19-2013, 12:01 AM)mart Wrote: [ -> ]Hidden content for guests
FYI junior member was title and not my username. Sleepy

Welcome, everybody.
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!
Pages: 1 2