(10-27-2015, 05:10 PM)TGates Wrote:(10-27-2015, 12:36 PM)coitam Wrote:(10-23-2015, 02:37 AM)TGates Wrote: I still have not gotten this to work yet. Will post when I do
I have a next question:
does module whmcs have any error??
No idea, never tried. Besides, this is an xBilling support forum
modpluz, hey Remmy! I also have an issue with receiving the emails (Ubuntu 14.04) although I am more interested in how the new/renewed/reactivated client account gets activated after successful payment? Currently, after payment is made, the invoice is not marked paid and the client is not activated.
Where in the code is the 'ClientEnable' function? I do not see it anywhere
Not specifically for you Tgates, but you just reminded me...
One thing I would like to point out on the account activation side of things is to make sure that the e-mail address you are using for your PayPal is the primary e-mail address and you are using it for your xBilling as when I was trying to fix my issues I noted that the IPN listener PHP file listens for PayPal to return the same business e-mail as listed in the xBilling config which might not happen if it's not the primary e-mail account in your PayPal, causing it to not activate the account and to not send out the e-mails.
For example:
In PayPal:
yourname@gmail.com (Primary)
payments@hostingservice.com (Secondary)
A client makes a payment to "payments@hostingservice.com" using your xBilling page.
You get PayPal's e-mail telling you you've received a payment at that e-mail address.
HOWEVER...
PayPal will send only the primary e-mail from your PayPal account to the IPN listener, "yourname@gmail.com" and as the IPN listener is looking for a match it will result in xBilling saying that the invoice is "unpaid" and no e-mails will be sent out.
This is the part of the line I am referring to in the IPN listener:
PHP Code:
if($payment_fields['business_email'] == $receiver_email
I hope this helps someone, somewhere, at some point! haha
My geeky side: thefuzz.xyz | Photo & Video: fuzzymannerz.co.uk