可能的付款状态值 [英] Possible payment status values

查看:140
本文介绍了可能的付款状态值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个网站上在线销售PDF,在该网站上,用户通过贝宝付款后可以通过电子邮件获得下载链接.

在上述情况下,可能的贝宝付款状态值是什么? 我只能想到Complete& InComplete.在这里使用Processing是否有意义?

解决方案

在开发之前,您应该使自己熟悉PayPal IPN和PDT概念.阅读 IPN和PDT变量.这是该文档页面上的付款状态可能性:

payment_status

付款状态:

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.

我通常获得的最常见状态是CompletedPending. Pending的常见原因是买卖双方使用不同的货币,例如:您以美元出售,买方以英镑付款,贝宝会将交易标记为待处理",并在几天后清除.我的一位客户希望我处理与Completed相同的Pending,因为他只出售数字商品(PDF文件),并且延迟付款不承担任何风险,这与有形商品的商人不同.

您可以在中获取完整的PayPal文档.此页面.

应注意,payment_status变量以前只是st.贝宝显然已将st变量更改为payment_status.

I am working on a website to sell PDF's online, where user can get the download link by email after paying through paypal.

What could be the possible paypal payment status values for the above scenario? I can only think of Complete & InComplete. Does using Processing make sense here?

解决方案

Before developing, you should make yourself familiar with PayPal IPN and PDT concept. Read the documentation of IPN and PDT Variables. Here is the payment status possibilities from that document page:

payment_status

The status of the payment:

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.

The most common status that I usually get is Completed and Pending. Common cause of Pending is the usage of different currency between buyer and seller, e.g: You sell in USD, buyer pay with GBP, PayPal will mark the transaction as Pending and it will be cleared after a few day. One of my client want me to handle Pending same as Completed, since he just sell digital goods (PDF file) and possess no risk if the payment is delayed, unlike merchant with physical goods.

You can get complete PayPal documentation in this page.

It should be noted that the payment_status variable used to just be st. Paypal has apparently changed the st variable to payment_status.

这篇关于可能的付款状态值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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