Solved

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

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

Independent Software Vendors: 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

Suggested Solutions

Title # Comments Views Activity
Simple function not working 7 44
Wordpress and Wufoo 1 40
HTTPS Site Dropping the Domain Name causing "This Site Cannot Be Reached" Error. 5 41
Secure log in 'box' 4 16
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will learn how to count occurrences of each item in an array.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

697 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