Welcome to WebmasterWorld Guest from 3.227.2.109

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

with paypal , sending a variable

just a small query

     
12:28 am on Feb 10, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 8, 2003
posts:1419
votes: 0


Hi,

We have two option for our users,

1) Annual Charge
2) One time charge

People chooses a specific category for the listing and then clicks on paypal button, it takes you to paypal and then you can pay the money.

The problem is when they are coming back to our thanks page from paypal I am not able to track which category they choosed. How can I send a variable to Paypal? and does it returns the variable to me?

This is the first time I am trying to implement the paypal. Please help

Thanks
Aji

11:29 am on Feb 10, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 11, 2004
posts:71
votes: 0


i have been asking the same question in several forums matey still no answer
11:33 am on Feb 10, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Dec 8, 2004
posts:500
votes: 0


use one of these hidden fields to transfer your variables

[paypaldev.org...]

12:57 am on Feb 11, 2005 (gmt 0)

Senior Member from DE 

WebmasterWorld Senior Member 10+ Year Member

joined:May 25, 2002
posts:930
votes: 6


You might take the custom variable...

&custom=YOURCAT

And then you MUST turn on the Payment Data transfer or the IPN. I prefer to use the IPN functions of paypal, because they are quite safe from hack tries...

If you use the Payment Data Transfer, PayPal jumps back to your configured THANKYOU page with the variable in the request string and you can look it up in your PHP ...
cheers,
P!

1:50 pm on Feb 11, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 8, 2003
posts:1419
votes: 0


Yeah we have done this using optional variables but is IPN better or PDT?
9:06 pm on Feb 11, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Dec 8, 2004
posts:500
votes: 0


IPN is more advanced and thus less easy to entirely understand. If you get all what you want from PDT, why make it more complicated?
6:37 am on Feb 12, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 8, 2003
posts:1419
votes: 0


Very True, I am opting for PDT but security and reliability wise which one is better.

Thanks
Aji

6:00 pm on Feb 12, 2005 (gmt 0)

Preferred Member

10+ Year Member

joined:Dec 8, 2004
posts:500
votes: 0


afaik both are equally secure, but be sure to ask it to confirm in the payypal developer forums too. I used it for a bit, but I decided to finish the other parts of my site first :)