On Tue, Jan 18, 2011 at 12:36 AM, Tran Cao Thai
<[email protected]> wrote:
> Hi cakers,
>
> I have been developed a Paypal payment system recently. When user
> finish the payment, paypal will return the ipn to the system (which
> include the session id of the user). My question is how can i find out
> the user from the server based on his session id in order to empty his
> shopping cart ?
Do you mean paypal's session, or yours? Are you submitting the session
id as a "passthru" variable?
<input type="hidden" name="rvar_session_id" value="<?=
$Session->read('sessID') ?>" />
In your controller, you should receive it back from PP as
$this->params['form']['rvar_session_id']
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php