Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 1734 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

Paypal - return url

Thread title: Paypal - return url
Closed Thread    
    Thread tools Search this thread Display Modes  
02-16-2006, 07:16 PM
#1
schroder is offline schroder
schroder's Avatar
Status: Member
Join date: Nov 2004
Location:
Expertise:
Software:
 
Posts: 159
iTrader: 0 / 0%
 

schroder is on a distinguished road

  Old  Paypal - return url

I'm hoping someone has dealt with this before.

I am trying to do this:

Form1 -> paypal -> Form2 (follow up form)

Form2 is suppose to use the invoice id from Form1. Does anyone know if there is a way to transfer the invoice id from form2 -> form2?

And what about using a cookie? I've found using a session isn't working out, and I know I can use a cookie, but I'm a little nervous about security.

02-21-2006, 09:41 AM
#2
yabsoft is offline yabsoft
Status: Junior Member
Join date: Dec 2005
Location:
Expertise:
Software:
 
Posts: 33
iTrader: 0 / 0%
 

yabsoft is on a distinguished road

  Old

there are a field in form1 called "custom",you can pass the invoice id with it,when the payment is done,paypal will send the "custom" back!

02-21-2006, 04:43 PM
#3
patrickPaul is offline patrickPaul
Status:
Join date: Dec 2004
Location: California, US
Expertise:
Software:
 
Posts: 406
iTrader: 1 / 100%
 

patrickPaul is on a distinguished road

Send a message via AIM to patrickPaul Send a message via MSN to patrickPaul Send a message via Yahoo to patrickPaul

  Old

Schroder,

There is no secure way to send such data, as all return links will have to put it through $_GET. I would suggest using cookies and use a verification so set the return link in the Paypal form to return.php?verify=j125as7 (And check that it matches the cookie before extracting the other cookie data).

However, please keep in mind that not all browsers accept cookies. What specific issues were you having with using sessions? I don't see a reason why it wouldn't work...

Regards,
Patrick

02-21-2006, 04:50 PM
#4
schroder is offline schroder
schroder's Avatar
Status: Member
Join date: Nov 2004
Location:
Expertise:
Software:
 
Posts: 159
iTrader: 0 / 0%
 

schroder is on a distinguished road

  Old

I ended up just using paypal's IPN method, since that way I can confirm the transaction actually went through.

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed