latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Jeremy Waite

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Unable to verify $_SERVER["HTTP_HOST"]

By:  Bor Antolic in: Community Forum

voices: 3
replies: 11

3 years, 7 months ago  Jeremy Waite

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Friday May 17th, 2013 at 9:05 pm #50151

I am having the same problem. I’m using PayPal Pro Forms with custom=”www.[mydomain].com” in the form schortcode. I am getting the Unable to verify $_SERVER[“HTTP_HOST”] error in my IPN log when issuing a refund through PayPal and it will not downgrade the user even though I have set all the settings to do so. I have also checked that the PayPal IPN address is

http://www.[mydomain].com/?s2member_paypal_notify=1

(with the www). We can manually downgrade users, but I would still like a resolution.

Here is my IPN log:

LOG ENTRY: Fri May 17th, 2013 @ precisely 2:38 pm UTC
PHP v5.2.17 :: WordPress® v3.5.1 :: s2Member® v130513 :: s2Member® Pro v130513
Memory 29.63 MB :: Real Memory 29.75 MB :: Peak Memory 29.72 MB :: Real Peak Memory 29.75 MB
www.mydomain.com/?s2member_paypal_notify=1
User-Agent: 
array (
  'mc_gross' => '0.01',
  'protection_eligibility' => 'Ineligible',
  'payer_id' => 'XXXXEKNRCHLEY',
  'tax' => '0.00',
  'payment_date' => '07:38:20 May 17, 2013 PDT',
  'payment_status' => 'Completed',
  'charset' => 'windows-1252',
  'first_name' => 'Name',
  'mc_fee' => '0.01',
  'notify_version' => '3.7',
  'custom' => '',
  'payer_status' => 'unverified',
  'business' => 'myemail@gmail.com',
  'quantity' => '1',
  'verify_sign' => 'XXXXsxE7AMEBXH6XGnoaYeZvMyu3AUjrjdVXL0QiZlRtsa4--NmXXXXX',
  'payer_email' => 'customeremail@gmail.com',
  'txn_id' => '88M6XXXXSG006210C',
  'payment_type' => 'instant',
  'last_name' => 'Waite',
  'receiver_email' => 'myemail@gmail.com',
  'payment_fee' => '0.01',
  'receiver_id' => 'SWDQXXxxxxx7S',
  'txn_type' => 'web_accept',
  'item_name' => '',
  'mc_currency' => 'USD',
  'item_number' => '',
  'residence_country' => 'US',
  'receipt_id' => '1049-xxxx-0488-xxxx',
  'handling_amount' => '0.00',
  'transaction_subject' => '',
  'payment_gross' => '0.01',
  'shipping' => '0.00',
  'ipn_track_id' => '79xxxxxxe3f2',
  's2member_log' => 
  array (
    0 => 'IPN received on: Fri May 17, 2013 2:38:23 pm UTC',
    1 => 's2Member POST vars verified through a POST back to PayPal®.',
    2 => 'Unable to verify `$_SERVER["HTTP_HOST"]`. Please check the `custom` value in your Button Code. It MUST start with your domain name.',
  ),
  'subscr_gateway' => 'paypal',
)
Viewing 1 replies (of 1 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.