duanqiaoren9975 2012-10-02 21:18
浏览 54

如何查看账单协议是有效还是取消?

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.

  • 写回答

1条回答 默认 最新

  • doujingxi3356 2013-05-30 13:11
    关注

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

    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.

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

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

    Regards

    评论

报告相同问题?

悬赏问题

  • ¥15 ubuntu虚拟机打包apk错误
  • ¥199 rust编程架构设计的方案 有偿
  • ¥15 回答4f系统的像差计算
  • ¥15 java如何提取出pdf里的文字?
  • ¥100 求三轴之间相互配合画圆以及直线的算法
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发