This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[MODULE] xBilling
RE: [MODULE] xBilling
hi when i try to download front end config files i get to a page panel.mydomain.com/?module=xbilling&action=FetchConfig
and then its a blank page and nothing happens did someone fix that?
                       
Reply
Thanks given by:
RE: [MODULE] xBilling
Hmm, not sure. I just tested it on mine and it worked. Huh
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
RE: [MODULE] xBilling
(03-23-2018, 09:25 AM)TGates Wrote: Hmm, not sure. I just tested it on mine and it worked. Huh

do you maybe have a modified version or something? because i cant save the website config or download it. i tried using other billing software like tht and boxbilling but tht didint connect and boxbilling doesnt support sentora.
                       
Reply
Thanks given by:
RE: [MODULE] xBilling
(03-23-2018, 05:07 PM)timce2000 Wrote: do you maybe have a modified version or something? because i cant save the website config or download it. i tried using other billing software like tht and boxbilling but tht didint connect and boxbilling doesnt support sentora.

I'll try and see if my files match the original package. May take a day or two.
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
RE: [MODULE] xBilling
I just tested mine again and it worked 100%

Account created, PayPal paid and returned as updated paid invoice, account was activated, email received with login information, new user login worked.

Only things to test is if the renewal emails work and if auto-suspend works. Problem is that will take about a month Confused

I will still try to compare my frontend and module to the current github versions.

Finally getting somewhere! Big Grin

I have update my github with the files I am using for xbilling and the frontend: https://github.com/TGates71?tab=repositories

It is set to use live PayPal. To use PayPal sandbox, edit ipn_listener.php (lines 52/53) and comment out line 52 and uncomment line 53. You must also edit the PayPal URL inside Sentora>xBilling>Payment Options>PayPal> Form HTML and change the PayPal URL accordingly:
Sandbox:
Code:
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">

Live:
Code:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">

Also, this is my complete Form HTML data (sandbox):
Code:
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post" target="_top">
    <input type="hidden" name="cmd" value="_xclick">
    <input type="hidden" id="payment_method_id" name="custom" value="">
    <input type="hidden" name="business" value="{{business_email}}">
    <input type="hidden" name="lc" value="{{country_code}}">
    <input type="hidden" name="item_name" value="{{invoice_desc}}">
    <input type="hidden" name="invoice" value="{{invoice_id}}">
    <input type="hidden" name="amount" value="{{invoice_amount}}">
    <input type="hidden" name="currency_code" value="{{currency}}">
    <input type="hidden" name="discount_amount" value="{{discount_rate}}">
    <input type="hidden" name="notify_url" value="{{notify_url}}">
    <input type="hidden" name="return" value="{{return}}?invoice={{invoice_id}}">
    <input type="hidden" name="button_subtype" value="services">
    <input type="hidden" name="no_note" value="0">
    <input type="hidden" name="bn" value="PP-BuyNowBF:btn_buynowCC_LG.gif:NonHostedGuest">
    <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: Ron-e
RE: [MODULE] xBilling
WOW!! thanx man this works perfectly maybe update the zpp on the repo would fix the original one
                       
Reply
Thanks given by:
RE: [MODULE] xBilling
(04-02-2018, 06:47 PM)timce2000 Wrote: WOW!! thanx man this works perfectly maybe update the zpp on the repo would fix the original one

I do not have access to his repo. But I may be able to get in touch with him and have him upload it to his repo. Or, I could rename it and place it on my repo. (xbilling2 or something) I will see what I can come up with.

Only part I am not sure on is if it will do what it needs to when its time to invoice - (suspend/update/etc.) Have to wait a month to see LOL

PS: It sent activation emails to my testing gmail account. Big Grin
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:
RE: [MODULE] xBilling
(04-05-2018, 05:36 AM)TGates Wrote: I do not have access to his repo. But I may be able to get in touch with him and have him upload it to his repo. Or, I could rename it and place it on my repo. (xbilling2 or something) I will see what I can come up with.

Only part I am not sure on is if it will do what it needs to when its time to invoice - (suspend/update/etc.) Have to wait a month to see LOL

PS: It sent activation emails to my testing gmail account. Big Grin

hi when i add the frontend and the config.php to the site directory i get this error

array(4) { ["type"]=> int(2) ["message"]=> string(68) "fopen(http:///api/xbilling): failed to open stream: operation failed" ["file"]=> string(86) "/var/sentora/hostdata/zadmin/public_html/store_haxoda_com/classes/xmwsclient.class.php" ["line"]=> int(112) } Problem reading data from http:///api/xbilling

how can i fix it whats the problem
                       
Reply
Thanks given by:
RE: [MODULE] xBilling
(07-18-2018, 09:07 PM)timce2000 Wrote: Problem reading data from http:///api/xbilling

no idea, but thats a strange url.
Maybe look in the configuration of your install?

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
Thanks given by:
RE: [MODULE] xBilling
(07-18-2018, 09:07 PM)timce2000 Wrote: hi when i add the frontend and the config.php to the site directory i get this error

array(4) { ["type"]=> int(2) ["message"]=> string(68) "fopen(http:///api/xbilling): failed to open stream: operation failed" ["file"]=> string(86) "/var/sentora/hostdata/zadmin/public_html/store_haxoda_com/classes/xmwsclient.class.php" ["line"]=> int(112) } Problem reading data from http:///api/xbilling

how can i fix it whats the problem

The URL seems to not be set. Check the config.php
This is basic troubleshooting....
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
[Request] BoxBilling api module. cyber1995 4 13 ,405 10-23-2021, 05:29 AM
Last Post: sparkrack
Module Repo Beta Chris L 3 7 ,239 08-13-2021, 02:32 AM
Last Post: Chris L
Cloud module repo spoonman 0 2 ,550 02-28-2021, 01:34 AM
Last Post: spoonman

Forum Jump:


Users browsing this thread: 1 Guest(s)