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: Select all
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: Select all
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¤cy=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!!