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

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

问题描述

我正在创建一个包含Paypal即时付款的脚本.现在,我在沙箱中收钱.一切都很好.但是我不知道状态待定时该怎么办.我没有激活我的脚本.

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设置为待处理;但是,其未解决的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

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

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