贝宝状态待定和交付 [英] Paypal Status Pending and Delivery

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

问题描述

我正在创建一个包含 paypal 即时付款的脚本.现在我在沙箱中收款.一切都很好.但是我不知道当状态为pending 时我会怎么做.我没有激活我的脚本.

I'm creating a script that includes paypal instant payment. Now i'm recieving money in sandbox. Everything is all right. But i don't know what will i do when the status is pending. I didn't activate my script.

我必须知道当我激活我的脚本时会发生什么.客户将订购.付款过程开始.当客户付款时,他/她会重定向我的网站.并且状态为待定.我会将这些数据写入我的数据库.

I have to know what will happen when i activate my script. A customer will order. And payment process starts. When customer paid, he/she redirects my website. And the status is pending. I'll write this data to my database.

接下来呢?我们会等到待处理状态改变吗?我们什么时候给客户送东西?

What about next ? Will we wait until the pending status change ? when will we send goodies to customer ?

推荐答案

付款状态为待处理还有另一个原因.如果您正在发送 doAuthorization,那么资金将始终处于待处理状态,直到您获得资金.

There is one other reason why the Payment status is pending. If you are sending doAuthorization then the funds will always be in a status of pending until you capture the funds.

直接来自 PayPal 文档:例如,未结算授权的 PaymentStatus 设置为Pending;,但其 PendingReason 设置为授权,与付款审核无关.

Directly from the PayPal Documentation: For example, an unsettled authorization's PaymentStatus is set to Pending; however, its PendingReason is set to authorization, which is not related to payment review.

您需要获取资金,或将付款操作设置为销售.授权所做的只是冻结卡上或 PayPal 帐户中的资金,但不会将资金发送到您的 PayPal 帐户.在获取授权之前,资金不会发送到您的 PayPal 帐户.

You will need to capture the funds, or set your payment action to Sale. All an authorization does is freeze the money on the card or in the PayPal account, but does not send the money to your PayPal Account. Funds are not sent to your PayPal account until the Authorization is Captured.

来自 PayPal 文档:要捕获授权,请发送此 API 调用:DoCapture

From the PayPal Documentation: To capture an authorization send this API Call: DoCapture

您将想要获取的金额和授权 ID 发送给 PayPal,实际资金将从消费者的资金来源转移到 PayPal 帐户.

You send the amount you want to capture and the Authorization ID to PayPal and the actual money is moved from the consumer's funding source to the PayPal account.

以防万一,这里是 Express Checkout 集成文档:
快速结账集成概述

Just in case you need it, here is the Express Checkout Integration documentation:
Express Checkout Integration Overview

这篇关于贝宝状态待定和交付的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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