Pay pal custom, or pass through varaible. and how it works

Does a paypal pass through variable "custom" that I added to a the  button, after user pays pass to the custom value to the  designated finish page? The one I created for after the payment. If so, is it in the query string or post. In other words how do i accesses it from the page.

Who is Participating?
dejaanbuConnect With a Mentor Commented:
The values are returned from paypal based on the form's method which is set as either "get"" or "post". If you have set the form's method as "get", then the custom value should have been returned  in the querystring.

Btw, are you getting all other sucess/failure parameters?
Andrew AngellCo-Owner / DeveloperCommented:
During the checkout you can store data like that in a session variable so it's easily accessible throughout the whole flow.  No need to pull it back out of any API response.

Once the flow is completely done, though, and you're working within IPN, GetTransactionDetails, etc. then you can see the CUSTOM value and use it accordingly.
bmanmike39Author Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.