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.

Issue with xBilling
#5
RE: Issue with xBilling
Finally! I seemed to have found it!

In ipn_listener.php line 79:

PHP Code:
if (strcmp ($res"VERIFIED") == 0) { 

Changed to:
PHP Code:
if (strcmp ($res"verified") == 0) { 
And it works. strcmp is case sensitive.
May need to add a check to convert 'verified' to either upper or lower case to make sure this check always works regardless of upper/lower case.

@[modpluz],
UPDATE:
Everything seems to be working now. I updated the listener with the following fix:
In ipn_listener.php line 79:

PHP Code:
Code:
if (strcmp ($res, "VERIFIED") == 0) {
TO
PHP Code:
if ((strcmp ($res"VERIFIED") == 0) || (strcmp ($res"verified") == 0)) { 

I also updated the main signup to use the new 'I'm not a robot' verification.
Will post my changes to your Github 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:


Messages In This Thread
Issue with xBilling - by TGates - 08-20-2017, 11:14 AM
RE: Issue with xBilling - by modpluz - 08-21-2017, 02:55 AM
RE: Issue with xBilling - by TGates - 08-22-2017, 01:42 AM
RE: Issue with xBilling - by TGates - 08-22-2017, 03:12 AM
RE: Issue with xBilling - by TGates - 08-22-2017, 04:15 AM
RE: Issue with xBilling - by modpluz - 08-22-2017, 09:29 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
[MODULE] xBilling modpluz 239 746 ,296 04-17-2020, 11:37 PM
Last Post: emmarudd222@gmail.com
xbilling Wordpress samuelmed 1 4 ,454 11-13-2019, 09:27 AM
Last Post: TGates
[split] Issue with xBilling blackvai 1 4 ,710 04-03-2019, 11:39 PM
Last Post: TGates

Forum Jump:


Users browsing this thread: 2 Guest(s)