Search client transactions data

好久不见. 提交于 2019-12-13 13:27:55

问题


I'm building an application that resembles personal financing. For that, I need to fetch information about that customer's transactions.


I managed to run the GetBasicPersonalData example within the permissions service.

Here it says that requesting TRANSACTION_SEARCH will allow me to use TransactionSearch on behalf of the customer.

There is no such endpoint and calling the NVP service with METHOD=TransactionSearch and similarly constructed X-PAYPAL-AUTHORIZATION header doesn't do it either.

How can I use the token and token secret retrieved from the permissions service to list that customer's transactions?


Update: According to FAQ#6 here, the X-PAYPAL-AUTHORIZATION is supposed to be used to replace the USER, PWD, and SIGNATURE params. When I call the nvp service that way I get:

TIMESTAMP=2016%2d11%2d07T15%3a35%3a36Z&CORRELATIONID=f50b7296c2d28&ACK=Failure&VERSION=94%2e0&BUILD=24616352&L_ERRORCODE0=10002&L_SHORTMESSAGE0=Authentication%2fAuthorization%20Failed&L_LONGMESSAGE0=You%20do%20not%20have%20permissions%20to%20make%20this%20API%20call&L_SEVERITYCODE0=Error


回答1:


I'd like to share below useful documents for your reference:

TransactionSearch API guide here;

TransactionSearch API reference here;

PayPal API Endpoint here(Refere Merchant APIs);



来源:https://stackoverflow.com/questions/40403516/search-client-transactions-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!