Link to home
Start Free TrialLog in
Avatar of iDeej
iDeejFlag for Australia

asked on

Paypal variables

Hello,

We are selling a product through paypal. I need paypal to pass back a code that I can check against to a page when the payment is complete.

I tried using the custom variable when creating the button:

custom=FJ12345

and then I tried to read it on the other side with $_POST['custom'].

This did not work. Could somebody explain to me how I can do this or at least point me in the right direction.

Thanks,

Daniel.
Avatar of pavar
pavar

try checking the PayPal API knowledge base

https://cms.paypal.com/us/cgi-bin/?&cmd=_render-content&content_ID=developer/howto_api_reference

a sample of your code would make it easier to find a solution
Avatar of iDeej

ASKER

Thanks pavar,

I've looked into this a little further and found out my code was a long way short of what is needed. Could you tell me the quickest way to learn about IPN Data transfer and the hidden variables. Is it worth doing the certification course?
ASKER CERTIFIED SOLUTION
Avatar of pavar
pavar

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of iDeej

ASKER

Thanks pavar,

This will be helpful.