Paypal 可能的付款状态值

Paypal 可能的付款状态值,paypal,payment,Paypal,Payment,我正在一个网站上工作,以出售PDF的在线,在那里用户可以通过电子邮件获得下载链接后,通过贝宝支付 对于上述场景,可能的paypal支付状态值是什么? 我只能想到Complete和Complete。在这里使用处理有意义吗?在开发之前,您应该熟悉PayPal IPN和PDT的概念。阅读的文档。以下是该文档页面中的付款状态: 付款状态 付款状态: Canceled_Reversal: A reversal has been canceled. For example, you won a disput

我正在一个网站上工作,以出售PDF的在线,在那里用户可以通过电子邮件获得下载链接后,通过贝宝支付

对于上述场景,可能的paypal支付状态值是什么?
我只能想到
Complete
Complete
。在这里使用
处理
有意义吗?

在开发之前,您应该熟悉PayPal IPN和PDT的概念。阅读的文档。以下是该文档页面中的付款状态:

付款状态

付款状态:

Canceled_Reversal: A reversal has been canceled. For example, you won a dispute with the customer, and the funds for the transaction that was reversed have been returned to you.
Completed: The payment has been completed, and the funds have been added successfully to your account balance.
Created: A German ELV payment is made using Express Checkout.
Denied: You denied the payment. This happens only if the payment was previously pending because of possible reasons described for the pending_reason variable or the Fraud_Management_Filters_x variable.
Expired: This authorization has expired and cannot be captured.
Failed: The payment has failed. This happens only if the payment was made from your customer’s bank account.
Pending: The payment is pending. See pending_reason for more information.
Refunded: You refunded the payment.
Reversed: A payment was reversed due to a chargeback or other type of reversal. The funds have been removed from your account balance and returned to the buyer. The reason for the reversal is specified in the ReasonCode element.
Processed: A payment has been accepted.
Voided: This authorization has been voided.
我通常得到的最常见状态是
已完成
挂起
Pending
的常见原因是买卖双方使用不同的货币,例如:您以美元销售,买方以英镑支付,PayPal会将交易标记为Pending,并在几天后清算。我的一位客户希望我处理
待决
已完成
相同,因为他只销售数字商品(PDF文件),并且与拥有实物商品的商户不同,如果延迟付款,他不承担任何风险

您可以在中获得完整的PayPal文档

需要注意的是,
payment\u status
变量过去只是
st
。贝宝显然已将
st
变量更改为
payment\u状态

状态枚举 支付、授权或订单交易的状态。价值是:

创造。事务已成功创建

批准。客户批准了交易。在生成销售交易的销售标识、授权交易的授权标识或订单交易的订单标识时,状态将从“已创建”更改为“已批准”

失败了。事务请求失败

只读

可能值:已创建、已批准、已失败


是否创建了
最终的
付款状态
?我的意思是:在创建了
之后,我是否会收到
完成的
?由于创建的
只供德国客户使用,我不知道会发生什么。我的建议是,创建一个登台网站,为买家和卖家使用沙箱贝宝帐户。尝试进行交易并查看日志,您从Paypal获得的状态。@supersan
txn_type
表示交易类型。它是可选的,除非您需要处理特定类型的付款。以下是相关文档:截至2017年,这里有一个更新的状态链接。在此页面上搜索“付款状态”。