Community Support Forums — WordPress® ( Users Helping Users ) — 2011-04-19T12:17:26-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=3143 2011-04-19T12:17:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3143&p=12934#p12934 <![CDATA[Re: Please help: nvalid profile ID 11552]]>

I xxxx'ed out several things, let me know if I missed anything.

Statistics: Posted by Cristián Lávaque — April 19th, 2011, 12:17 pm


]]>
2011-04-19T03:27:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3143&p=12924#p12924 <![CDATA[Re: Please help: nvalid profile ID 11552]]>
thanks for your reply, but unlucky nothing worked very well so i decided to reinstall wp 3.1.1 and now everything works aggain :D

*ps can you remove this topic because of the website data?

thanks,

Luc

Statistics: Posted by lucjager — April 19th, 2011, 3:27 am


]]>
2011-04-18T18:53:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3143&p=12878#p12878 <![CDATA[Re: Please help: nvalid profile ID 11552]]>
90% Resolved

Investigation completed.
~ My findings are listed below.

I verified that $_GET vars are NOT the issue.

Instead, it seems that you may have another plugin on your site that is interfering with the WordPress core framework functions get_transient() and set_transient(). On your installation, nothing happens upon return from checkout, because the temporary Express Checkout TOKEN that s2Member stores as a WordPress transient value is no longer available. This is not normal, and my guess is that another plugin you're running is somehow filtering and/or discarding the Express Checkout Token ( i.e. the Transient database entry ) long before it should.

This is a plugin conflict.

Suggestion resolution.
You already have the PHP Execution plugin installed ( so you're good there ).
I've created a Test Page on your site that reproduces this bug on your installation.
Inside the Test Page that I created ( it's a Draft ), I've added this code.
Code:
<?php
$array 
= array(1,3,4);
$token = "ExpressCheckoutToken";
set_transient("s2m_".md5("s2member_transient_express_checkout_".$token), $array, 10800);
print_r(get_transient("s2m_".md5("s2member_transient_express_checkout_".$token)));
?>
Upon previewing this page, you should see: array(1,2,3).

Now, to complete the test, comment this line out:
Code:
<?php
$array 
= array(1,3,4);
$token = "ExpressCheckoutToken";
// set_transient("s2m_".md5("s2member_transient_express_checkout_".$token), $array, 10800);
print_r(get_transient("s2m_".md5("s2member_transient_express_checkout_".$token)));
?>
Preview the page again, you should still see: array(1,2,3). If you don't still see this, and right now, you won't, because of this bug on your installation; then it means something else is discarding the Transient value when it should NOT be. So to find the bug, try disabling other plugins one at a time until this test succeeds; and you consistently see: array(1,2,3), even with the line commented out.

I would start by eliminating any caching plugins, as these would be the most likely culprits.
Not always, but it might be a good place to start.

Statistics: Posted by Jason Caldwell — April 18th, 2011, 6:53 pm


]]>
2011-04-18T16:40:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3143&p=12875#p12875 <![CDATA[Re: Please help: nvalid profile ID 11552]]> I'll be taking a look shortly.

Statistics: Posted by Jason Caldwell — April 18th, 2011, 4:40 pm


]]>
2011-04-18T15:23:54-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3143&p=12869#p12869 <![CDATA[Re: Please help: nvalid profile ID 11552]]> http://www.s2member.com/contact/

~ Thanks for your patience.

Statistics: Posted by Jason Caldwell — April 18th, 2011, 3:23 pm


]]>
2011-04-15T16:23:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3143&p=11808#p11808 <![CDATA[Re: Please help: nvalid profile ID 11552]]>
The explanation you gave is the problem because the server doesnt get the variables or something..

Statistics: Posted by lucjager — April 15th, 2011, 4:23 pm


]]>
2011-04-15T16:19:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3143&p=11807#p11807 <![CDATA[Re: Please help: nvalid profile ID 11552]]> Alright, I'm sorry for the delay Luc; it's been crazy here the last few days.

In this log entry, s2Member is redirecting a Customer through PayPal Express Checkout successfully, but when the Customer returns from checkout, they are just getting the same checkout form all over again, is that correct? If so, then yes, something is definitely wrong.

I can confirm that this functionality DOES work as expected ( just tested with s2Member Pro v1.5.8 ).

It almost seems like your site is not accepting $_GET vars in the query string after checkout is completed. For instance, this URL you provided contains variables that s2Member needs access to. If your server is configured in some way that is limiting s2Member's ability to read $_GET vars in the query string, you might have this problem.
Code:
https://www.xxxxxxxx.org/lowrate/?s2member_paypal_xco=s2member_pro_paypal_checkout_return&token=EC-xxxxxxxxxxxxxx&PayerID=xxxxxxxxxxxxxx

If this problem continues, please email me a Dashboard login and FTP access; we'll be happy to have a look for you. Also, what version of s2Member Pro are you running?

Statistics: Posted by Jason Caldwell — April 15th, 2011, 4:19 pm


]]>
2011-04-15T15:58:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3143&p=11806#p11806 <![CDATA[Re: Please help: nvalid profile ID 11552]]> Statistics: Posted by Jason Caldwell — April 15th, 2011, 3:58 pm


]]>
2011-04-13T04:42:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3143&p=9674#p9674 <![CDATA[Re: Please help: nvalid profile ID 11552]]>
but i still have this problem: after payment in paypal nothing happens it just returns to the registration page and no money has been written of or account has been created....

https://www.xxxxxxxxxx.org/lowrate/?s2m ... xxxxxxxxxx

this is from the api log

http://www.xxxxxxx.org/lowrate/
Code:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27
-------- Input vars: ( Wed Apr 13, 2011 9:38:58 am UTC ) --------
array (
  'METHOD' => 'SetExpressCheckout',
  'RETURNURL' => 'https://www.xxxxxx.org/lowrate/?s2member_paypal_xco=s2member_pro_paypal_checkout_return',
  'CANCELURL' => 'https://www.xxxxxx.org/lowrate/?s2member_paypal_xco=s2member_pro_paypal_checkout_cancel',
  'PAGESTYLE' => 'xxxxxx',
  'NOSHIPPING' => '1',
  'ALLOWNOTE' => '0',
  'PAYMENTREQUEST_0_PAYMENTACTION' => 'Sale',
  'PAYMENTREQUEST_0_DESC' => '1 yearMembership € 15,-',
  'PAYMENTREQUEST_0_CUSTOM' => 'www.xxxxxx.xxx',
  'PAYMENTREQUEST_0_CURRENCYCODE' => 'EUR',
  'PAYMENTREQUEST_0_ITEMAMT' => '15.00',
  'PAYMENTREQUEST_0_TAXAMT' => '0.00',
  'PAYMENTREQUEST_0_AMT' => '15.00',
  'L_PAYMENTREQUEST_0_NAME0' => '1 year Membership € 15,-',
  'L_PAYMENTREQUEST_0_NUMBER0' => '1::262 D',
  'L_PAYMENTREQUEST_0_AMT0' => '15.00',
  'VERSION' => '63.0',
  'USER' => 'XXX',
  'PWD' => 'XXX',
  'SIGNATURE' => 'XXX',
)
-------- Output string/vars: ( Wed Apr 13, 2011 9:38:59 am UTC ) --------
TOKEN=xxxxxxxxxxxxxxxxxxxxxxxx&TIMESTAMP=2011%2d04%2d13T09%3a38%3a59Z&CORRELATIONID=xxxxxxxxxxxxxxx&ACK=Success&VERSION=63%2e0&BUILD=1838679
array (
  'TOKEN' => 'xxxxxxxxxxxxxxxxxxxxxxxx',
  'TIMESTAMP' => '2011-04-13T09:38:59Z',
  'CORRELATIONID' => 'xxxxxxxxxxxxx',
  'ACK' => 'Success',
  'VERSION' => '63.0',
  'BUILD' => '1838679',
)

Statistics: Posted by lucjager — April 13th, 2011, 4:42 am


]]>
2011-04-12T20:04:16-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3143&p=9618#p9618 <![CDATA[Re: Please help: nvalid profile ID 11552]]> Statistics: Posted by Jason Caldwell — April 12th, 2011, 8:04 pm


]]>
2011-04-12T17:35:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3143&p=9593#p9593 <![CDATA[Re: Please help: nvalid profile ID 11552]]> Statistics: Posted by lucjager — April 12th, 2011, 5:35 pm


]]>
2011-04-12T17:32:20-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3143&p=9591#p9591 <![CDATA[Re: Please help: nvalid profile ID 11552]]>
Was it working well before? What changes have you made to your PayPal or s2Member settings? Does it happen with all transactions or only some? Do they have something in common?

Any extra information you could give will help.

Statistics: Posted by Cristián Lávaque — April 12th, 2011, 5:32 pm


]]>
2011-04-12T16:54:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=3143&p=9586#p9586 <![CDATA[Please help: invalid profile ID 11552]]>
Can you please help me?
// paypal-pro-api log file//

-------- Output string/vars: ( Sat Nov 6, 2010 7:20:44 pm UTC ) --------
TIMESTAMP=2010%2d11%2d06T19%3a20%3a53Z&CORRELATIONID=xxxxxxxxxxxxx&ACK=Failure&VERSION=63%2e0&BUILD=1584437&L_ERRORCODE0=11552&L_SHORTMESSAGE0=Invalid%20profile%20ID&L_LONGMESSAGE0=The%20profile%20ID%20is%20invalid&L_SEVERITYCODE0=Error
array (
'TIMESTAMP' => '2010-11-06T19:20:53Z',
'CORRELATIONID' => 'xxxxxxxxxxxxx',
'ACK' => 'Failure',
'VERSION' => '63.0',
'BUILD' => '1584437',
'L_ERRORCODE0' => '11552',
'L_SHORTMESSAGE0' => 'Invalid profile ID',
'L_LONGMESSAGE0' => 'The profile ID is invalid',
'L_SEVERITYCODE0' => 'Error',
'__error' => 'Error# 11552. Invalid profile ID. The profile ID is invalid.',
)

Statistics: Posted by lucjager — April 12th, 2011, 4:54 pm


]]>