本文介绍了如何查看结算协议是否有效或取消?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 PayPal 中使用参考交易 API,但不确定在结算时结算协议是否有效.如果结算协议被取消,我想提前知道.

I am using Reference Transaction API in PayPal and not sure whether Billing Agreement is active or not while billing. I would like to know in advance if Billing Agreement is cancelled.

我想知道关于结算协议取消电话的回拨电话.

I am wondering to have callback call on Billing agreement cancel call.

推荐答案

要检查账单协议的状态,您可以使用 BAUpdate API (NVP: METHOD=BillAgreementUpdate).

to check the status of a Billing Agreement you can use the BAUpdate API (NVP: METHOD=BillAgreementUpdate).

通常该 API 用于删除结算协议,但如果您在没有 BillingAgreementStatus 字段的情况下使用它,它会返回结算协议的当前状态,让您知道结算协议是否仍然有效.

Normally this API is used to delete a Billing Agreement, but if you use it without the BillingAgreementStatus field, it returns the current status of Billing Agreement, allowing you to know if a Billing Agreement is still valid or not.

事实上,如果结算协议不再有效,Paypal 将回复错误代码 10201结算协议已取消"

In fact if a Billing Agreement is no longer valid, Paypal will respond with an errorcode 10201 "Billing Agreement was cancelled"

source 参考交易的 API 操作,Angell EYE PayPal NVP CodeIgniter 库 (PHP)

source API Operations for Reference Transactions, Angell EYE PayPal NVP CodeIgniter Library (PHP)

问候

这篇关于如何查看结算协议是否有效或取消?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-23 20:04