PDA

View Full Version : [Solved] WHMCS payment module says: No HTTP Auth user/password passed! - how to fix



Fli
04-06-2017, 12:17 PM
ISSUE:


AUTH User:
AUTH Pass:

Error Message: No HTTP Auth user/password passed!

POST Fields

ipn_version=1.0
ipn_id=***
ipn_mode=httpauth
merchant=***
ipn_type=simple
txn_id=***
status=0
status_text=Waiting for buyer funds...
currency1=USD
currency2=BTC
amount1=0.5
amount2=0.00045
subtotal=0.5
shipping=0
tax=0
fee=1.0E-5
item_amount=0.5
item_name=***.com - Invoice #***
first_name=***
email=***@***.com
invoice=***
received_amount=0
received_confirms=0

SOLUTION:

HTTP Auth variables may not be enabled on your server. #1 recommendation would be to switch to HMAC mode in your CoinPayments account since it is more compatible and more secure as well.

Otherwise you can try adding this to your .htaccess in your website root to enable HTTP Auth:


<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
</IfModule>

I noticed that this rule should be at the end of the .htaccess else it caused "some" issues.