I wanna have paypal payment and others, but if some one choose paypal, i need to charge a fee of 3% because paypal is gonna charge me for that transaction, I have modified the function \"displayPaymentForm\" on dtregister.php.
created new variable:
$amountpaypal = $amount +(($amount * 3)/100);
I wanna have paypal payment and others, but if some one choose paypal, i need to charge a fee of 3% because paypal is gonna charge me for that transaction, I have modified the function "displayPaymentForm" on dtregister.php.
created new variable:
$amountpaypal = $amount +(($amount * 3)/100);
Replaced:
$p->add_field(\'amount\', "$amount");
For:
$p->add_field(\'amount\', "$amountpaypal");
It is working for me, but I just want to ask you if I am gonna have some issues with the IPN validation or something else?
or maybe if there is any better way to do this.
Would it be good to have the payment fee as configuration in the future.
Thanks
I NEED this function immediately ... can I get a little more instruction on "where" to put the variable? I\'m not totally ignorant about code ... but this is a little beyond me figuring out where to put it in thousands of line of code.
Line number please?