Pay Pal Mass Pay IPN - 付款(批次)状态和单笔付款状态

时间:2015-10-15 09:23:13

标签: paypal paypal-ipn masspay

我们使用MassPay API向用户发送付款。 我们的系统的工作方式是每个MassPay批次只包含一次付款。

我们的问题是它并不完全清楚MassPay IPN状态如何运作。

PayPal文档说有3种类型的IPN - 失败,已处理和已完成。

我不明白pay_status和status1的哪些状态组合是可能的:

  1. IPN可以返回(payment_status = DENIEDstatus1 = Completed)吗?
  2. status1 = FAILEDBLOCKED的IPN是否总是有payment_status = DENIED,反之亦然?
  3. a(payment_status = PROCESSED and status1 = COMPLETED)是否总是在带有(payment_status = COMPLETED and status1 = COMPLETED)的IPN之前?如果是,仅仅检查(payment_status = COMPLETED and status1 = COMPLETED)以将支出标记为我们系统上的“成功”是否足够?
  4. status1 = REVERSED or RETURNED的IPN是否始终有payment_status = COMPLETED
  5. status1 = PENDING的IPN是否总是有payment_status = PROCESSED
  6. 更具体地说,有助于了解哪个payment_status和status1组合甚至是可能的,以及每个可能的状态对的含义是什么?

    请参阅附表1

    以下是文字表格:

    payment_status    status1      Is Combination Possible?    Meaning
    
    Processed     Blocked        ?   
    Processed     Pending        ?
    Processed     Unclaimed    YES
    Processed     Reversed    ?
    Processed     Completed    YES             Will this always have COMPLETED+COMPLETED afterwards?
    Processed     Failed        ?
    Processed     Returned    ?
    
    Denied         Blocked        ?   
    Denied         Pending        ?
    Denied         Unclaimed    ?
    Denied         Reversed    ?
    Denied         Completed    ?           
    Denied         Failed        ?
    Denied         Returned    ?
    
    Completed     Blocked        ?   
    Completed     Pending        ?
    Completed     Unclaimed    ?
    Completed     Reversed    ?
    Completed     Completed    YES            Will this always be after Processed+Completed IPN?
    Completed     Failed        ?
    Completed     Returned    YES
    

0 个答案:

没有答案