使用PayPal API通过交易ID获取付款 [英] Get payment by transaction ID using PayPal API

查看:443
本文介绍了使用PayPal API通过交易ID获取付款的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个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?

推荐答案

听起来像您只需要使用经典API,特别是

Sounds like you just need to use the classic API, specifically GetTransactionDetails.

这篇关于使用PayPal API通过交易ID获取付款的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆