/    Sign up×
Community /Pin to ProfileBookmark

paypal IPN help quick plz…

hi
i have problem with using paypal IPN from my digital commerce site

when i process order process and complete it from my site then go to paypal site for transaction, every this is ok till here

when i click on cancel ( first screen of paypal ), it return back to my site [B]error.php[/B] page. it is ok

the problem is: it expires all the session associated with my site last page(before going to paypal)

and also this problem occurs to other paypal IPN actions like success or IPN notifications

can anybody tell me why my session goes to expire and also guide me to what to do with [B]PAYPAL IPN[/B] and perhaps a tutorial tooo

thanks buddy in advance………..

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@chestertbJan 28.2009 — Paypal IPN notifications will be outside your session, because the communication is directly between Paypal's server and your server. Sadly, that means you can't rely on session variables to transfer information. Use Paypal's 'custom' field instead.

Cheers

CTB
×

Success!

Help @mahfooz spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.2,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,
)...