Solved

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

Posted on 2011-03-16
9
405 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 110

Accepted Solution

by:
Ray Paseur earned 500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

707 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