Reputation: 2760
I am implementing windows form application in C# which uses Paypal API to get transaction details from Paypal. I am getting it in every time interval for which i have implemented Windows Service, its successfully getting transaction details from Paypal and updating local database. Is there any way i can get only New transaction details instead of getting all transaction? I know that we can apply filter at database while inserting by transaction no., and retrieve transaction through start and end date, but every time retrieving large transaction i don't think is a good solution.
Upvotes: 0
Views: 736
Reputation: 1394
Is there any reason the database can't be updated before the request is sent to PayPal? The typical process I see is:
This way all payments will be updated real-time and there won't be any need to get all transaction details within a specific time frame.
Upvotes: 1