Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-20T05:04:52-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=16440 2011-12-20T05:04:52-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16440&p=57018#p57018 <![CDATA[Re: Integration using IPN with Proxy Key]]> WP Admin -> s2Member -> PayPal Buttons -> Shortcode Attributes -> custom


2 => 'Unable to verify `$_SERVER["HTTP_HOST"]`. Please check the `custom` value in your Button Code. It MUST start with your domain name.'


Jason explains how to add it to a button created in PayPal, I think the info may be helpful: viewtopic.php?f=36&t=309#p1333

Statistics: Posted by Cristián Lávaque — December 20th, 2011, 5:04 am


]]>
2011-12-20T04:19:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16440&p=57010#p57010 <![CDATA[Re: Integration using IPN with Proxy Key]]> Statistics: Posted by Michelle — December 20th, 2011, 4:19 am


]]>
2011-12-20T03:33:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16440&p=57003#p57003 <![CDATA[Re: Integration using IPN with Proxy Key]]>
http://www.primothemes.com/forums/viewtopic.php?f=36&t=3154&p=57001&hilit=ipn#p57001

I'm hoping for some more information on the IPN with proxy key methodology soon...

Statistics: Posted by jesseAe — December 20th, 2011, 3:33 am


]]>
2011-12-20T01:07:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16440&p=56995#p56995 <![CDATA[Re: Integration using IPN with Proxy Key]]>
thank you!!!

Statistics: Posted by Michelle — December 20th, 2011, 1:07 am


]]>
2011-12-19T16:58:32-05:00 http://www.primothemes.com/forums/viewtopic.php?t=16440&p=56957#p56957 <![CDATA[Integration using IPN with Proxy Key]]>
So, I have ejunkie setup for all my products, and that is testing perfectly.

I have one product that I want to use s2Member for – to provide secure, time limited access to ecourse materials including videos, pdfs and word docs.

For this product I have set it up in ejunkie to send transaction data to a URL and to redirect after the purchase is completed.

The redirect sends the buyer to the login page at http://example.com/?s2member_paypal_return=1

The Payment Variable Information URL is the info copied from s2Member -> PayPal Options -> IPN with Proxy Key with item number added for membership level 1 :
http://example.com/?s2member_paypal_notify=1&s2member_paypal_proxy=[proxy-gateway]&s2member_paypal_proxy_verification=74ed62d8b30b7f19811595bc9cf8f48e&item_number=1

When I test the purchase (with a 0.01 price) I go through the ejunkie process to the Paypal checkout and am then redirected to a plain grey page with:
“Thank you! ( you MUST check your email before proceeding ). * Note: It can take ( up to 15 minutes ) for Email Confirmation with important details. If you don't receive email confirmation in the next 15 minutes, please contact Support. “

But, I don’t receive an email with login details.

When I review the logs in s2Member I get:
Paypal-ipn-log:
Code:
PHP v5.2.17 :: WordPress® v3.2.1 :: s2Member® v111105
Memory 14.37 MB :: Real Memory 14.50 MB :: Peak Memory 14.40 MB :: Real Peak Memory 14.50 MB
example.com/testwp/?s2member_paypal_notify=1&s2member_paypal_proxy=[proxy-gateway]&s2member_paypal_proxy_verification=74ed62d8b30b7f19811595bc9cf8f48e&item_number=1
User-Agent:
array (
  'item_number' => '1033842'
  'Shipping_calculation_mode' => 'FlatRate'
  'mc_gross' => '0.01'
  'invoice' => '41exdo8lyvy4tc4kope14ic8owkkk4wsoscw0ks'
  'protection_eligibility' => 'Ineligible'
  'item_number1' => '1033842'
  'payer_id' => 'GFDTBKQHG3FZL'
  'tax' => '0.00'
  'payment_date' => '13:29:41 Dec 19
  'payment_status' => 'Completed'
  'charset' => 'utf-8'
  'shipping_option_name' => 'Selected'
  'mc_shipping' => '0.00'
  'mc_handling' => '0.00'
  'first_name' => 'Michelle'
  'mc_fee' => '0.01'
  'notify_version' => '3.4'
  'insurance_option_selected' => '0'
  'custom' => ''
  'payer_status' => 'verified'
  'business' => 'email@example.com'
  'shipping_option_amount' => '0.00'
  'num_cart_items' => '1'
  'mc_handling1' => '0.00'
  'verify_sign' => 'Aqy9LmkL6yF3aba.PuD5tQDCxvmeAGxWtLgJT4BdVTLl2j-WF7zrgrqw'
  'payer_email' => 'email@example.com'
  'mc_shipping1' => '0.00'
  'txn_id' => '8B842209LM1743222'
  'payment_type' => 'instant'
  'last_name' => 'M'
  'item_name1' => 'Test Product for s2Member integration'
  'receiver_email' => 'email@example.com'
  'payment_fee' => '0.01'
  'quantity1' => '1'
  'insurance_amount' => '0.00'
  'receiver_id' => 'B7AUK5CLYDHZ8'
  'txn_type' => 'cart'
  'mc_gross_1' => '0.01'
  'mc_currency' => 'USD'
  'residence_country' => 'NZ'
  'transaction_subject' => '[%eci30685662|7efb301e10eci%]'
  'payment_gross' => '0.01'
  'shipping_is_default' => '1'
  'ipn_track_id' => 'ktvjtC2rpz9UGV4gJiV1IQ'
  'item_name' => 'Test Product for s2Member integration'
  'quantity' => '1'
  'option_name1' => ''
  'option_selection1' => ''
  'option_name2' => ''
  'option_selection2' => ''
  'option_name3' => ''
  'option_selection3' => ''
  'charset_original' => 'windows-1252'
  'charset_converted' => 'true'
  'buyer_ip' => '60.234.250.177'
  'handshake' => 'b6e9600c9a0ef8145b46fd3a6fe78b5e'
  'discount_codes' => ''
  'from_name' => 'Example Business’
  'from_email' => 'email@example.com'
  'mailing_list_status' => 'true'
  'client_shipping_method_id' => '0'
  'item_cart_position' => '1'
  'sku' => ''
  'expiry_hours' => '0'
  'max_downloads' => '5'
  'ej_txn_id' => '11749982'
  'proxy_verified' => '[proxy-gateway]'
  's2member_log' =>
  array (
    0 => 'IPN received on: Mon Dec 19
    1 => 's2Member POST vars verified with a Proxy Key'
    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' => '[proxy-gateway]'
  's2member_paypal_proxy' => '[proxy-gateway]'
  's2member_paypal_proxy_verification' => '74ed62d8b30b7f19811595bc9cf8f48e'
)


And from Paypal-rtn-log:

Code:
PHP v5.2.17 :: WordPress® v3.2.1 :: s2Member® v111105
Memory 12.27 MB :: Real Memory 12.50 MB :: Peak Memory 12.36 MB :: Real Peak Memory 12.50 MB
example.com/?s2member_paypal_return=1&txn_id=8B842209LM1743222&item_number=1033842&payer_email=email%40example.com&first_name=Michelle&last_name=Millichip&quantity=1&currency=USD&payment_status=Completed&gross=0.01&hash=8e97c6d7704a341c8534cfa985b412eb
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML
array (
  'subscr_gateway' => 'paypal'
  's2member_log' =>
  array (
    0 => 'No Return-Data. Customer must wait for Email Confirmation.'
    1 => 'Redirecting Customer to the Home Page. Customer must wait for Email Confirmation.'
    2 => 'Note. This can sometimes happen when/if you are offering a free Trial Period. There are times when a Payment Gateway will NOT supply s2Member with any data immediately after checkout. When/if this happens
    3 => 'array (
  \'s2member_paypal_return\' => \'1\'
  \'txn_id\' => \'8B842209LM1743222\'
  \'item_number\' => \'1033842\'
  \'payer_email\' => \’email@example.com\'
  \'first_name\' => \'Michelle\'
  \'last_name\' => \'Millichip\'
  \'quantity\' => \'1\'
  \'currency\' => \'USD\'
  \'payment_status\' => \'Completed\'
  \'gross\' => \'0.01\'
  \'hash\' => \'8e97c6d7704a341c8534cfa985b412eb\'
)'
  )
)


The user does not get added to WordPress/s2Member.

I'm relatively tech savvy, but I’m afraid this is outside my knowledge and I need some help.

Can someone point me in the right direction PLEASE???

Any assistance will be greatly appreciated. THANKS!!

Statistics: Posted by Michelle — December 19th, 2011, 4:58 pm


]]>