Closed webxjoin closed 1 year ago
This is going to be because you setup your callback incorrectly.
This is going to be because you setup your callback incorrectly.
you are right
Please note that if you run Xera on Free Hosting, callbacks may not work.
If you are using ifastnet hosting you need to change callback URL from https://yourdomain.com/c/mofh to http://yourdomain.com/c/mofh in mofh control panel.
And then it will work.
Have you tested this? This should only work if you not have a SSL cert, which is reccomendet with Xera,
even if you have a valid ssl certificate some doesn't support https post request from other sites.
Well with a redirect that shouldnt work but idk
yup with redirection that won't work.
All the settings are correct but callback not working
callback is not working
callback is not working
Please share your xera url, a screenshot of the callback url configuration i xera and a screenshot from myownfreehost. Also where are you hosting xera on?
okay
XERA
MOFH Panel
Please share your Xera URL.
why
For example to check wether you got proper SSL, or have an https redirect.
For example to check wether you got proper SSL, or have an https redirect.
you are right
callback response does not work on https redirection.
ill try some stuff. https works with MOFH callback usually
okay how can know if i have https redirect
okay how can know if i have https redirect
Go to http://yoursite.com and see if you get reidrected to https://youtsite.com
Same issue Even its on http
Well basically:
That is i should remove the force redirect to https?
That is i should remove the force redirect to https?
That is i should remove the force redirect to https?
What callback? U mean that force redirect to https na?
My .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .*$ index.php?/$1 [L]
</IfModule>
# Force redirect from http to https
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://freewh.gq/$1 [R,L]
I understans what u are saying But how shall I exclude it? I don't know .htaccess Like i have to make a rule which will exclude the callback url from force https?
https://stackoverflow.com/questions/35598608/exclude-specific-url-from-https-redirect
i did not understand the article
Bru now i reinstalled Xera on a subdomain I configured everything I didnt put force redirect via cloudflare or .htaccess And, i also checked going to http version of the api, and it works! You can try: http://client.freewh.gq/c/mofh But the account is still on pending
Should i try with http://client.freewh.gq/index.php/c/mofh instead of http://client.freewh.gq/c/mofh ?
@mahtab2003 bro i need ur help
Bru now i reinstalled Xera on a subdomain I configured everything I didnt put force redirect via cloudflare or .htaccess And, i also checked going to http version of the api, and it works! You can try: http://client.freewh.gq/c/mofh But the account is still on pending
Should i try with http://client.freewh.gq/index.php/c/mofh instead of http://client.freewh.gq/c/mofh ?
@mahtab2003 bro i need ur help
@OnionDev1885 you should use http://client.freewh.gq/c/mofh
Bru now i reinstalled Xera on a subdomain I configured everything I didnt put force redirect via cloudflare or .htaccess And, i also checked going to http version of the api, and it works! You can try: http://client.freewh.gq/c/mofh But the account is still on pending Should i try with http://client.freewh.gq/index.php/c/mofh instead of http://client.freewh.gq/c/mofh ? @mahtab2003 bro i need ur help
@OnionDev1885 you should use http://client.freewh.gq/c/mofh
I am using that only But still account stays on pending status I tested the api and it works The account is activated in mofh panel but not in Xera panel Even tho force redirect to https is disabled on whole site + i gave the callback url in http
There is a problem between the callback and the database
There is a problem between the callback and the database
let me try a few tweaks
There is a problem between the callback and the database
fixed
There is a problem between the callback and the database
let me try a few tweaks
fixed
Thank you everyone for your time
welcome
@OnionDev1885 said: fixed
How was it fixed? Did you take any additional steps or was disabling the HTTPS redirect what was needed?
@4yx
I did some changes:
Disabled Force Redirect to https Added some lines of .htaccess to fix some errors Made the callback url to http on mofh panel
My .htaccess file: Code: (for direct copy paste)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [NC,L]
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .*$ index.php?/$1 [L]
</IfModule>
@4yx
I did some changes:
Disabled Force Redirect to https Added some lines of .htaccess to fix some errors Made the callback url to http on mofh panel
My .htaccess file: Code: (for direct copy paste)
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php [NC,L] </IfModule> <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule .*$ index.php?/$1 [L] </IfModule>
Thank you for providing the contents and adding them in code format!
There was no replies so this issue is considered to be resolved
This is the biggest problem since I replaced whmcs with Xera. I have to manually activate account through database.