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: Bor Antolic

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


Topics I'm Subscribed To

Viewing 3 topics - 1 through 3 (of 3 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

Disable IPN per specific transaction

By:  Bor Antolic in: Community Forum

voices: 1
replies: 2

3 years, 10 months ago  Bor Antolic

s2member through Paypal charges shipping

By:  Bor Antolic in: Community Forum

voices: 1
replies: 0

4 years, 5 months ago  Bor Antolic

Viewing 3 topics - 1 through 3 (of 3 total)

Topics I've Started

Viewing 3 topics - 1 through 3 (of 3 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

Disable IPN per specific transaction

By:  Bor Antolic in: Community Forum

voices: 1
replies: 2

3 years, 10 months ago  Bor Antolic

s2member through Paypal charges shipping

By:  Bor Antolic in: Community Forum

voices: 1
replies: 0

4 years, 5 months ago  Bor Antolic

Viewing 3 topics - 1 through 3 (of 3 total)

My Latest Replies (From Various Topics)

Viewing 7 replies - 1 through 7 (of 7 total)
Author Replies
Author Replies
Posted: Wednesday Mar 13th, 2013 at 3:26 pm #44523
Bor Antolic
Username: yolle

Does the bellow excerpt mean, that I could change the Paypal IPN setting from the default one (http://www.mydomain.com/?s2member_paypal_notify=1) and everything would still work?
I think the reason why customers see the error after checking out with paypal after purchasing non-s2member related item (ERROR: Unable to verify $_SERVER[“HTTP_HOST”]. Please contact Support for assistance.) is because Paypal is trying to notify my site of the money transaction that s2member does not recognize. Would this make sense? How can I “disable” IPN notifications for all payments except s2member related purchases?

*Quick Tip* In addition to the default IPN settings inside your PayPal® account, the IPN URL is also set on a per-transaction basis by the special PayPal® Button Code that s2Member provides you with. In other words, if you have multiple sites operating on one PayPal® account, that’s OK. s2Member dynamically sets the IPN URL for each transaction. The result is that the IPN URL configured from within your PayPal® account, becomes the default, which is then overwritten on a per-transaction basis. In fact, PayPal® recently updated their system to support IPN URL preservation. One PayPal® account can handle multiple sites, all using different IPN URLs.

Posted: Wednesday Mar 13th, 2013 at 2:56 pm #44518
Bor Antolic
Username: yolle

Anyone? I am quite desperate :(

Posted: Thursday Mar 7th, 2013 at 4:48 pm #43991
Bor Antolic
Username: yolle

Hi!
I am still stuck with this problem.
Let me try to explain my problem again. Everything that is directly connected with s2member works o.k. That is, button generated with s2member and automatic custom capabilities and so on.
The problem is with non-s2member related products on my website. I sell items on my site and the buy buttons are generated by Paypal. However, when the customer checks out he/she receives an error Unable to verify $_SERVER[“HTTP_HOST”]
The payments come through alright, but many of the customers do not know it, so they make the same purchase twice, or want some confirmation from me ….
The reason, I guess, is that in Paypal preferences I followed your instructions and put in under notify URL options: http://xxxxxxx.com/?s2member_paypal_notify=1
I guess that even for the non-s2member items Paypal tries to notify my website of a transaction, but my page (or rather s2member) does not know what to do with this information.
So…
I hope you understand my problem…
Can you please help me?

Thanks

Posted: Monday Jan 21st, 2013 at 10:34 am #38582
Bor Antolic
Username: yolle

Hi!

I am very thanful for your help but I can’t seem to find the instructions you are refering to. And no, I have not followed any instructions when generating Paypal button at Paypal.

Posted: Sunday Jan 20th, 2013 at 4:23 am #38398
Bor Antolic
Username: yolle

Hi!
I guess we have misunderstood each other. It has always worked with s2member generated buttons.
The problem is that other buttons – generated with Paypal – do not work properly (they report the Unable to verify $_SERVER[“HTTP_HOST”] error). I guess this is because of the IPN settings in Paypal. Is there a way to bypass the default IPN settings in Paypal? I mean, as far as I know, one can write in a code when generating a button in Paypal, and there one can change IPN settings for that particular button. I just do not know how to do it.

Posted: Friday Jan 18th, 2013 at 4:31 pm #38173
Bor Antolic
Username: yolle

Hi!

With the s2member generated buttons it works ok.

Thanks!

Posted: Monday Jan 14th, 2013 at 12:08 pm #37470
Bor Antolic
Username: yolle

Thank you for your quick reply. I have made the server check with your tool and it is all o.k.
I have found out that even money requests to customers, that are sent through paypal, are reporting this error. Only the payment for subscriptions made with s2member come through with no error.
The site is http://www.lolabuland.com
The button is:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="paypal"><input type="hidden" name="cmd" value="_s-xclick" /> <input type="hidden" name="hosted_button_id" value="W4B287EY5B7U6" /> <input type="image" name="submit" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" alt="PayPal - The safer, easier way to pay online!" /> <img src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" alt="" width="1" height="1" border="0" /></form>

The s2member log:

PHP v5.2.17 :: WordPress® v3.5 :: s2Member® v121213
Memory 13.77 MB :: Real Memory 15.25 MB :: Peak Memory 13.86 MB :: Real Peak Memory 15.25 MB
www.lolabuland.com/?s2member_paypal_notify=1
User-Agent: 
array (
  'mc_gross' =&gt; '53.00',
  'protection_eligibility' =&gt; 'Ineligible',
  'address_status' =&gt; 'unconfirmed',
  'item_number1' =&gt; '7',
  'payer_id' =&gt; 'Dxxxxxx8',
  'tax' =&gt; '0.00',
  'address_street' =&gt; 'xxxxxx
50970',
  'payment_date' =&gt; '04:28:58 Jan 13, 2013 PST',
  'payment_status' =&gt; 'Completed',
  'charset' =&gt; 'UTF-8',
  'address_zip' =&gt; '',
  'mc_shipping' =&gt; '5.00',
  'mc_handling' =&gt; '0.00',
  'first_name' =&gt; 'xxxx
  'mc_fee' =&gt; '1.78',
  'address_country_code' =&gt; 'FI',
  'address_name' =&gt; 'xxxxx
  'notify_version' =&gt; '3.7',
  'custom' =&gt; '',
  'payer_status' =&gt; 'unverified',
  'business' =&gt; 'xxxx.xxx@gmail.com
  'address_country' =&gt; 'xxxxx',
  'num_cart_items' =&gt; '1',
  'mc_handling1' =&gt; '0.00',
  'address_city' =&gt; 'xxxxx',
  'verify_sign' =&gt; 'xxxxxx-bqb3lS',
  'payer_email' =&gt; 'x@gmail.com',
  'mc_shipping1' =&gt; '0.00',
  'tax1' =&gt; '0.00',
  'btn_id1' =&gt; '39026157',
  'txn_id' =&gt; '60005920GM0571824',
  'payment_type' =&gt; 'instant',
  'last_name' =&gt; 'xxxxx',
  'address_state' =&gt; 'xxxxx',
  'item_name1' =&gt; 'Ready Steady GO! DVD',
  'receiver_email' =&gt; 'xxxx@gmail.com',
  'payment_fee' =&gt; '',
  'shipping_discount' =&gt; '0.00',
  'quantity1' =&gt; '1',
  'insurance_amount' =&gt; '0.00',
  'receiver_id' =&gt; 'xxxxUEPKP7E',
  'txn_type' =&gt; 'cart',
  'discount' =&gt; '0.00',
  'mc_gross_1' =&gt; '48.00',
  'mc_currency' =&gt; 'EUR',
  'residence_country' =&gt; 'FI',
  'shipping_method' =&gt; 'Default',
  'transaction_subject' =&gt; 'Shopping CartReady Steady GO! DVD',
  'payment_gross' =&gt; '',
  'ipn_track_id' =&gt; '576c14cb6d363',
  's2member_log' =&gt; 
  array (
    0 =&gt; 'IPN received on: Sun Jan 13, 2013 12:29:02 pm UTC',
    1 =&gt; 's2Member POST vars verified through a POST back to PayPal®.',
    2 =&gt; 'Unable to verify `$_SERVER["HTTP_HOST"]`. Please check the `custom` value in your Button Code. It MUST start with your domain name.',
  ),
  'subscr_gateway' =&gt; 'paypal',
)

Thanks!

  • This reply was modified 3 years, 11 months ago by  Bor Antolic.
Viewing 7 replies - 1 through 7 (of 7 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.