Don*_*nia 76
在开发之前,您应该熟悉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.
Run Code Online (Sandbox Code Playgroud)
我通常得到的最常见的状态是Completed和Pending.常见的原因Pending是买方和卖方之间使用不同的货币,例如:您以美元出售,买方用英镑支付,PayPal会将交易标记为待定,并在几天后清算.我的一位客户希望我处理Pending相同的事情Completed,因为他只是出售数字商品(PDF文件)并且如果付款被延迟则没有风险,这与有实体商品的商家不同.
您可以在此页面中获得完整的PayPal文档.
应该注意的是,payment_status变量习惯于st.Paypal显然已将st变量更改为payment_status.
| 归档时间: |
|
| 查看次数: |
29564 次 |
| 最近记录: |