(09-26-2015, 10:57 PM)darkrisingx Wrote: Installed on a test system to see what the results was here is my findings.
Each load of invoices page logs errors.
[Sat Sep 26 08:50:36.727805 2015] [:error] [pid 27804] [client ***] PHP Notice: Undefined index: error in /var/sentora/hostdata/zadmin/public_html/***/functions/xbilling.php on line 150
[Sat Sep 26 08:50:36.733701 2015] [:error] [pid 27804] [client *] PHP Notice: Undefined index: invoice in /var/sentora/hostdata/zadmin/public_html/***/functions/xbilling.php on line 244
Paypal method seems to be broken.
Code:<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="***">
<input type="hidden" id="payment_method_id" name="custom" value="1">
<input type="hidden" name="lc" value="{{country_code}}">
<input type="hidden" name="item_name" value="{{invoice_desc}}">
<input type="hidden" name="amount" value="{{invoice_amount}}">
<input type="hidden" name="invoice" value="{{invoice_id}}">
<input type="hidden" name="currency_code" value="{{currency}}">
<input type="hidden" name="discount_rate" value="{{discount_rate}}">
<input type="hidden" name="notify_url" value="***">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_paynowCC_LG.gif:NonHosted">
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
Seems that the values are not being replaced with the correct values error on my part maybe ? business and notify_url are however replaced correctly.
For everyone having this issue, it is now resolved. Please download the frontend package again from xBilling Admin.
Respective source codes have also be updated on Github.
Remi - Software Engineer, Sentora Module Developer, Owner, imerLabs
Please mark threads as SOLVED if your problem has been resolved.
Do not PM Staff Members for help unless asked to do so, this is so that others can benefit from your solution.
Do a SEARCH before asking in the forums, a solution may already exist.
Do not PM Staff Members for help unless asked to do so, this is so that others can benefit from your solution.
Do a SEARCH before asking in the forums, a solution may already exist.