PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

No transaction ids, Paypal data not being saved.

s2Member Plugin. A Membership plugin for WordPress®.

No transaction ids, Paypal data not being saved.

Postby gungho » September 2nd, 2011, 11:37 am

I am pulling my hair out trying to figure out what I have setup wrong here.

My team and I have fully tested s2member using the sandbox. It works swimmingly in the sandbox mode.

As soon as we set it to live, and people order no paypal data is saved to the users account. No transaction id is being created when I look at the IPN history in my paypal account.

Also the payment notification API is not sending the payment notification to the affiliate script.

What am I doing wrong?

I use my paypal account for several sites, products, etc.

So I am using the button to pass all return data. But I have checked and rechecked the API info, IPN data, etc.

I will pay to get it up and running today.
User avatar
gungho
Registered User
Registered User
 
Posts: 10
Joined: August 24, 2011

Re: No transaction ids, Paypal data not being saved.

Postby Cristián Lávaque » September 2nd, 2011, 8:32 pm

The affiliate tracking didn't work because s2Member didn't recognize the transaction.

Could you please post the code for your PayPal button?

Did you create it over at PayPal? If so, recreate it following these instructions viewtopic.php?f=36&t=309#p1333 or PayPal won't notify s2Member about the transactions.

Or simple use s2Member's shortcode for the PayPal button. WP Admin -> s2Member -> PayPal Buttons

I hope this helps. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: No transaction ids, Paypal data not being saved.

Postby gungho » September 2nd, 2011, 9:06 pm

Here is the code I am using. It was generated in s2member and converted into a shortcode so I can get the image to display properly.
Code: Select all
return '<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="jared@gunghoinc.com" />
<input type="hidden" name="cmd" value="_xclick-subscriptions" />
<input type="hidden" name="notify_url" value="http://backlinkuniversity.com/?s2member_paypal_notify=1" />
<input type="hidden" name="cancel_return" value="http://backlinkuniversity.com/" />
<input type="hidden" name="return" value="http://backlinkuniversity.com/?s2member_paypal_return=1" />
<input type="hidden" name="rm" value="2" />
<input type="hidden" name="lc" value="" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="custom" value="backlinkuniversity.com" />
<input type="hidden" name="currency_code" value="USD" />
<input type="hidden" name="page_style" value="paypal" />
<input type="hidden" name="charset" value="utf-8" />
<input type="hidden" name="item_name" value="Backlink University" />
<input type="hidden" name="item_number" value="1" />
<input type="hidden" name="invoice" value="'.S2MEMBER_VALUE_FOR_PP_INV().'" />
<input type="hidden" name="on0" value="'.S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0.'" />
<input type="hidden" name="os0" value="'.S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0.'" />
<input type="hidden" name="on1" value="'.S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON1.'" />
<input type="hidden" name="os1" value="'.S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS1.'" />
<input type="hidden" name="modify" value="0" />
<input type="hidden" name="src" value="1" />
<input type="hidden" name="srt" value="" />
<input type="hidden" name="sra" value="1" />
<input type="hidden" name="a1" value="7.00" />
<input type="hidden" name="p1" value="7" />
<input type="hidden" name="t1" value="D" />
<input type="hidden" name="a3" value="47.00" />
<input type="hidden" name="p3" value="1" />
<input type="hidden" name="t3" value="M" />
<input type="image" src="http://backlinkuniversity.com/wp-content/uploads/2011/08/orange_add-to-cart3.png" style="width:auto; height:auto; border:0;" alt="PayPal®" />
</form>';
User avatar
gungho
Registered User
Registered User
 
Posts: 10
Joined: August 24, 2011

Re: No transaction ids, Paypal data not being saved.

Postby Cristián Lávaque » September 2nd, 2011, 11:06 pm

That's PHP then, not the code from your page, right?

I saw the HTML for the button in backlinkuniversity.com and it looks fine.

Could you please post the log entries for the transactions that had this problem, please? x'ing any private info, of course. WP Admin -> s2Member -> PayPal Options -> Account Details -> Enable Logging
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: No transaction ids, Paypal data not being saved.

Postby gungho » September 2nd, 2011, 11:55 pm

Here is the most recent transaction that didn't go through properly for some reason.

Code: Select all
WordPress® v3.2.1 :: s2Member® v110815
Memory 39.60 MB :: Real Memory 41.50 MB :: Peak Memory 40.47 MB :: Real Peak Memory 41.50 MB
backlinkuniversity.com/?s2member_paypal_notify=1
User-Agent:
array (
  'mc_gross' => '7.00',
  'invoice' => '4e60cb5e5982e~99.200.221.41',
  'protection_eligibility' => 'Ineligible',
  'payer_id' => '69MTPNAV4NNPN',
  'payment_date' => '13:00:07 Sep 02, 2011 PDT',
  'payment_status' => 'Completed',
  'charset' => 'windows-1252',
  'first_name' => 'kevin',
  'option_selection1' => 'backlinkuniversity.com',
  'option_selection2' => '99.200.221.41',
  'mc_fee' => '0.50',
  'notify_version' => '3.2',
  'subscr_id' => 'S-18D47634A0151071B',
  'custom' => 'backlinkuniversity.com',
  'payer_status' => 'unverified',
  'business' => 'jared@gunghoinc.com',
  'verify_sign' => 'AOcnNXW8n-3ERv4.atUU3mGmSzkEAt6PZGqOeXkhhNevO.7aw8i0IH-S',
  'payer_email' => 'REMOVED FOR PRIVACY',
  'option_name1' => 'Originating Domain',
  'option_name2' => 'Customer IP Address',
  'txn_id' => '55M77685RS860951K',
  'payment_type' => 'instant',
  'last_name' => 'gagnon',
  'receiver_email' => 'jared@gunghoinc.com',
  'payment_fee' => '0.50',
  'receiver_id' => 'TQZMHM2EQ34PU',
  'txn_type' => 'subscr_payment',
  'item_name' => 'Backlink University',
  'mc_currency' => 'USD',
  'item_number' => '1',
  'residence_country' => 'US',
  'transaction_subject' => '',
  'payment_gross' => '7.00',
  'ipn_track_id' => 'wZNOqZJMwtjJZrzbk27qGA',
  'options' => '',
  's2member_log' =>
  array (
    0 => 'IPN received on: Fri Sep 2, 2011 8:00:13 pm UTC',
    1 => 's2Member POST vars verified through a POST back to PayPal¬Æ.',
    2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
    3 => 's2Member `txn_type` identified as ( `subscr_payment|recurring_payment` ).',
    4 => 'Sleeping for 5 seconds. Waiting for a possible ( `subscr_signup|subscr_modify|recurring_payment_profile_created` ).',
    5 => 'Awake. It\'s Fri Sep 2, 2011 8:00:18 pm UTC. s2Member `txn_type` identified as ( `subscr_payment|recurring_payment` ).',
    6 => 'Skipping this IPN response, for now. The Subscr. ID is not associated with a registered Member.',
    7 => 'Re-generating. This IPN will go into a Transient Queue; and be re-processed during registration.',
  ),
  'subscr_gateway' => 'paypal',
  'ccaps' => NULL,
  'level' => '1',
  'ip' => '99.200.221.41',
)
User avatar
gungho
Registered User
Registered User
 
Posts: 10
Joined: August 24, 2011

Re: No transaction ids, Paypal data not being saved.

Postby gungho » September 3rd, 2011, 12:15 pm

I have been trying to use the Paypal shortcode button instead of my button, but now I remember why we had to create our own. For some reason the Paypal short will not load on any page of my site.

Even when it's on the Member Options Page.

Does Paypal shortcodes have to be on the Member Options Page?

I want the paypal button to be on the homepage of the site, no where else.

Is there some sort of conflict preventing it from loading?

Here is the page I am testing the shortcode.

http://backlinkuniversity.com/order/

Would upgrading to Pro resolve these issues? And let me just put the checkout form on the page?
User avatar
gungho
Registered User
Registered User
 
Posts: 10
Joined: August 24, 2011

Re: No transaction ids, Paypal data not being saved.

Postby gungho » September 3rd, 2011, 12:28 pm

I added my button back on the homepage of the site, until I can get a fix. I have check the code over and over and it appears to be generating the proper button code.

But when the IPN gets notified it's not finding the user and thus not updating their paypal info for the subscription.

Looking forward to your insight I really need to get this fixed, customers data not being save, affiliate sales currently not being tracked. This is going to affect my reputation if I can get it resolved soon.
User avatar
gungho
Registered User
Registered User
 
Posts: 10
Joined: August 24, 2011

Re: No transaction ids, Paypal data not being saved.

Postby Cristián Lávaque » September 3rd, 2011, 2:12 pm

You could use pro-forms, but only if you don't want to use buttons. The buttons should work.

I saw your button test and saw the HTML for it in the source. It's not showing in the page because there are some tags that were messed up. I think your theme is parsing the post in a weird way. Try, as a test, to use TwentyEleven and see if the button shows up.

You can try TrueEdit with all content filters disabled except do_shortcode in its settings. https://wordpress.org/extend/plugins/trueedit/

The IPN log entry looks fine. Do you have entries in the return log? /wp-content/plugins/s2member-logs/paypal-rtn.log
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: No transaction ids, Paypal data not being saved.

Postby gungho » September 3rd, 2011, 2:33 pm

Here it is

Code: Select all

WordPress® v3.2.1 :: s2Member® v110815
Memory 34.99 MB :: Real Memory 35.25 MB :: Peak Memory 35.16 MB :: Real Peak Memory 35.25 MB
backlinkuniversity.com/?s2member_paypal_return=1&tx=55M77685RS860951K&st=Completed&amt=7.00&cc=USD&cm=backlinkuniversity%2ecom&item_number=&sig=j3BzlOSfBQF2jPOKrRfjdeT%2fDk13nPzcvnOsEk%2bTCjoInm1C4hXiKUtMidjlopPaP%2bF1Zb3C5atgBVLwpnCqhuuDe%2f9fFQ%2bWGK4XcJo2b4VUzW4HQu3DF6BKomHA2IRvmP28qLCwJmmDxH3VPG7lSO8qR%2bd1Yh0ySeRsy5JBplM%3d
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0) Gecko/20100101 Firefox/7.0
array (
  'mc_gross' => '7.00',
  'invoice' => '4e60cb5e5982e~99.200.221.41',
  'protection_eligibility' => 'Ineligible',
  'recur_times' => '4146620565',
  'payer_id' => '69MTPNAV4NNPN',
  'payment_date' => '13:00:07 Sep 02, 2011 PDT',
  'payment_status' => 'Completed',
  'charset' => 'windows-1252',
  'first_name' => 'kevin',
  'option_selection1' => 'backlinkuniversity.com',
  'option_selection2' => '99.200.221.41',
  'mc_fee' => '0.50',
  'subscr_id' => 'S-18D47634A0151071B',
  'custom' => 'backlinkuniversity.com',
  'payer_status' => 'unverified',
  'business' => 'HID FOR PRIVACY',
  'payer_email' => 'HID FOR PRIVACY',
  'option_name1' => 'Originating Domain',
  'option_name2' => 'Customer IP Address',
  'txn_id' => '55M77685RS860951K',
  'payment_type' => 'instant',
  'last_name' => 'HID FOR PRIVACY',
  'receiver_email' => 'HID FOR PRIVACY',
  'payment_fee' => '0.50',
  'receiver_id' => 'TQZMHM2EQ34PU',
  'txn_type' => 'subscr_payment',
  'item_name' => 'Backlink University',
  'mc_currency' => 'USD',
  'item_number' => '1',
  'residence_country' => 'US',
  'payment_gross' => '7.00',
  's2member_log' =>
  array (
    0 => 'Return-Data received on: Fri Sep 2, 2011 8:00:22 pm UTC',
    1 => 's2Member POST vars verified through a POST back to PayPal¬Æ.',
    2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
    3 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup|subscr_payment` ).',
    4 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup|subscr_payment` ) w/o update vars.',
    5 => 'Registration Cookies set on ( `web_accept|subscr_signup|subscr_payment` ) w/o update vars.',
    6 => 'Transient Tracking Cookie set on ( `web_accept|subscr_signup|subscr_payment` ) w/o update vars.',
    7 => 'Redirecting Customer to Signup Page. They need to Signup/Register now.',
  ),
  'subscr_gateway' => 'paypal',
  'eotper' => NULL,
  'ccaps' => NULL,
  'level' => '1',
  'ip' => '99.200.221.41',
)


Will the button short codes work on any page of the site or just the one configured as Member Options Page?
User avatar
gungho
Registered User
Registered User
 
Posts: 10
Joined: August 24, 2011

Re: No transaction ids, Paypal data not being saved.

Postby Cristián Lávaque » September 3rd, 2011, 7:51 pm

Anywhere where shortcodes are accepted by the WordPress installation where s2Member is for that membership. So you can use the button's shortcode in any post or page you want in that installation.

The transaction log looks fine, no errors, it set the cookie for that user to register his account. I don't understand... Could you explain again what the problem is? Step by step, what happens when someone orders?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: No transaction ids, Paypal data not being saved.

Postby gungho » September 3rd, 2011, 11:30 pm

When they order they get an account created just fine, but when I look at their user info it doesn't store the Paypal subscription id, and it's not notifying the Affiliate Script to credit the sale.

I don't get it either. We have tested very thoroughly with the sandbox, and it worked fine. Switched it live, and it doesn't store the paypal data or credit the affiliates with a sale. In my Paypal account they don't have transaction ids show in the IPN history, so I figured this was the problem.
User avatar
gungho
Registered User
Registered User
 
Posts: 10
Joined: August 24, 2011

Re: No transaction ids, Paypal data not being saved.

Postby Cristián Lávaque » September 4th, 2011, 11:38 pm

I see. Yes, it's weird.

Could you, as a test, create another WordPress installation in a directory of that same server and install only s2Member, configure PayPal with logging, create the button and try a live purchase? See if the level is set, if the tracking tracks, etc?

If that works, then your problem with the current installation may be plugin conflict. You should disable them all and try a test purchase, if that works enable a group of plugins and test again, until you activate a plugin that causes the problem to come back, then you'll know where the conflict is and can figure out how to solve it.

I hope that helps.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron