Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how to create unique ID for a customer before directing him/her to paypal

Posted on 2011-09-29
5
Medium Priority
?
231 Views
Last Modified: 2012-05-12
How can we create a unique ID for a customer before the customer is directed to paypal and retreving this ID if the payment is successful. I am usnig .net
0
Comment
Question by:mmalik15
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 15

Expert Comment

by:Eyal
ID: 36818002
Guid.NewGuid();
0
 

Author Comment

by:mmalik15
ID: 36818017
thanks for this. Can you give me an exmaple where we have passed a unique ID to paypal site and retreived it after the paypal payment
0
 
LVL 15

Accepted Solution

by:
Eyal earned 2000 total points
ID: 36818120
pass it in the custom field (see page 116 in the attached file) integration-guide.pdf
0
 

Author Comment

by:mmalik15
ID: 36818449
thanks for the comments
from the attached file I guess its the invoice variable i need to set but i m looking for an example how can  you set it at runtime in c# and retreive it
0
 
LVL 15

Expert Comment

by:Eyal
ID: 36818480
I'm not sure invoice number is the field you need to use.

you have a field named custom
if you set it in the initial request you will get it after the transaction completes

I did it very long ago and don't remember exactly how to do it (I have used this document). to test in the sandbox there you can play with it as much as you want
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question