使用PayPal API通过交易ID获取付款 [英] Get payment by transaction ID using PayPal API
问题描述
我有一个PayPal交易ID,但不知道与其关联的付款ID.付款不一定是由REST API创建的.我想使用交易ID查询付款.
I have a PayPal transaction ID, but don't know what payment ID is associated with it. The payment was not necessarily created by the REST API. I would like to query for the payment using the transaction ID.
REST API文档建议按交易ID查找销售额为仅当它们是使用REST API创建的和除了ID之外,别无其他方式检索付款.
The REST API docs suggest that looking up sales by transaction IDs is only possible if they were created using the REST API and don't list any way to retrieve a payment except by its ID.
我是否可以使用API来确定交易所属的付款?
Is it possible for me to use the API to determine what payment a transaction belongs to?
推荐答案
Sounds like you just need to use the classic API, specifically GetTransactionDetails.
这篇关于使用PayPal API通过交易ID获取付款的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!