question

s-jacobs avatar image
0 Likes"
s-jacobs asked ·

Which to use MonetaryDetails or ExternalTransaction to fetch paypal transactions?

I have been using MonetaryDetails object..... and for a particular scenario (completed paypal transaction) I noticed this object has a count of 0 but the ExternalTransaction object has a count of 1 .... in the eBay API docs I was told to use MonetaryDetails instead of the "deprecated" ExternalTransaction object (see link below). Why are these objects inconsistently populated if they are suppose to represent the same underlying transactional data? Most of the time I see both objects are in fact populated with the same data but for this particular scenario only ExternalTransaction object was populated. Which seems strange since ExternalTransaction is suppose to be the object that is deprecated why the inconsistency? Do I have to add logic to check both objects (this seems silly)? I don't want to have to manually check to see if I'm correctly pulling down the Paypal transactions because I don't trust eBay API calls.... Both objects should be populated 100% of the time with the correct transactional data. Ref: http://developer.ebay.com/DevZone/XML/docs/reference/ebay/GetItemTransactions.html *"Note: In an upcoming release, MonetaryDetails will replace the ExternalTransaction container, so you are encouraged to start using MonetaryDetails now. "*
monetarydetailsexternaltransaction
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

shulmani_developer.support avatar image
0 Likes"
shulmani_developer.support answered ·
hi, API is what we refer to, although the snapshots that you provided are from your application, we need the raw xml response to investigate it and get hold of the logs. The next this happens, can you immediately open a support ticket with us. We will investigate the issue . If its a bug at our end , you will not be charged. Cheers!!
· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

s-jacobs avatar image
0 Likes"
s-jacobs answered ·

So this is strange... now MonetaryDetails is populated with the correct transaction values....

http://prntscr.com/2pza4r

The strange part is that it took ~ 5-6 days after the actual auction sale.

and you have might think this was user error but I have the screen shots with comment time stamps to prove it ...

· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

s-jacobs avatar image
0 Likes"
s-jacobs answered ·

I think that is the problem. No transactionID was generated even though the transaction occurred (I am using the GetSellerTransactions API call not the Orders API call). For eBay Item: "151218916766". See screenshots below for illustration of the problem.

http://prntscr.com/2pidvc (notice OrderLineItem value == "151218916766-0" http://prntscr.com/2pibb3 (notice transactionID =="0" even though a transaction occurred) http://prntscr.com/2pibxa (empty MoneTaryDetails collection) http://prntscr.com/2picvu (however ExternalTransaction is populated with the correct values)

I am using the c# SDK "GetSellerTransactions" call
· 1 · Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Ignore the point about TransactionID == "0". This was an auction sale.
0 Likes 0 · ·
shulmani_developer.support avatar image
0 Likes"
shulmani_developer.support answered ·
Hi, Both the MonetaryDetails and the ExternalTransaction containers should return the same details. Please provide me the Orderid so that I can see what the issue is . If you cannot share the information here, please open a support ticket with us at https://go.developer.ebay.com/developers/ebay/forums-support/support so that we can assist you. Cheers!!!
· 1 · Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Any luck with this? I am not sure what to do. I suppose I can check both objects but would have to refactor my code a lot (would rather not do this).
0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.