Osclass forums
Support forums => Plugins => Plugin Payments => Topic started by: AdMeGreek on October 28, 2014, 02:13:41 am
-
Hi, I have an issue. If a user have for example 10eur at his wallet balance and try to make premium ad (cost 5 euro), he must click at "Pay with credits" right?
BUT when click that button, nothing happened, the page redirect to dashboard and the AD is still normal!! NOT premium.
Is this a bug???
If not have a balance and click paypal button, after that the ad is premium normally.
The problem is if he "pay with credits"
any help pleasE?
-
Ok, it seems that to remove ?a=".$amount." on line 109 (index.php - Paypal plugin) would suffice ...
function wallet_button($amount = '0.00', $description = '', $rpl = '||', $itemnumber = '101') {
echo '<a href="'.osc_render_file_url(osc_plugin_folder(__FILE__)."wallet.php&desc=".$description."&rpl=".$rpl."&inumber=".$itemnumber).'"><button class="ui-button-main">'.__("Payer avec mes crédits", "paypal").'</button></a><br />';
}
If it helps someone!
It worked for me!
Just remove ?a=".$amount."
-
@AdMeGreek
What is url of button?