Solved

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

Posted on 2011-03-16
9
400 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
  • 4
9 Comments
 
LVL 108

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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

This article discusses four methods for overlaying images in a container on a web page
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
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.

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now