?
Solved

this is a theorical question dealing with combining ebay api and paypal ipn

Posted on 2011-03-16
9
Medium Priority
?
406 Views
Last Modified: 2013-11-10
this is a theorical question dealing with combining ebay api and paypal ipn


selling items on ebay and getting paypal ipn

If I sell to a customer more than once I can not tell which order to add the paypal payment to

I can choose to add paypal payment to ebay order that is the oldest (but that order may be months old)

I can choose to add paypal payment to ebay order that is the newest (but that order may have a customer adding paypal for shipping on an older order)
0
Comment
Question by:rgb192
[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
  • 4
9 Comments
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 total points
ID: 35159172
Got a neglected question alert on this.  Not sure this is 100% on target but I will try to answer with a design pattern that I have used for similar things in the past.

You can generate some kind of unique id, and make it part of the product order identification.  Let's say you sell baseball bats and you have maybe 20 SKUs in your inventory.  In the order for baseball bat numbered  BB-32-19 you might add the unique id so that the product number or name looked something like BB-32-19-X423.  In this scheme, the X423 is a unique key to a row in a data base table.  In the row, you have information about who ordered and what they ordered.

Does that make sense for your needs?
0
 

Author Comment

by:rgb192
ID: 35201534
but if another paypal payment ip arrives it doesnt have the 'X423' attached to it

paypal ipn will only have customer name, customer address, customer phone number, customeremail, ebayitem number, ebayusername


so customer could have purchased one bat and then another bat 2 weeks later and system will not know which bat to attach the new paypal payment

or customer could have sent additional paypal to ship first bat
0
 

Author Comment

by:rgb192
ID: 35298495
but if another paypal payment ip arrives it doesnt have the 'X423' attached to it

paypal ipn will only have customer name, customer address, customer phone number, customeremail, ebayitem number, ebayusername


so customer could have purchased one bat and then another bat 2 weeks later and system will not know which bat to attach the new paypal payment

or customer could have sent additional paypal to ship first bat
0
 

Author Closing Comment

by:rgb192
ID: 35341332
Ray answered the question.  Thanks
0
 

Author Closing Comment

by:rgb192
ID: 35341333
Ray answered the question.  Thanks
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

This article discusses how to implement server side field validation and display customized error messages to the client.
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

800 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