如何用信用卡配置paypal支付

时间:2014-09-15 10:53:36

标签: php paypal payment-gateway

我尝试使用信用卡创建付款方式并获得PayPal的回复 成功的确认,但在IPN我瞄准获取和待处理的响应,为什么我尝试使用此付款时出现此错误

METHOD=DoDirectPayment
&VERSION=64
&PWD=1366191702
&USER=emial.gmail.com
&SIGNATURE=123.aqswdece-eddsfsdfsfsfsdfsdf
&AMT=5
&CURRENCYCODE=USD
&PAYMENTACTION=Authorization
&CREDITCARDTYPE=Visa
&ACCT=4514409288528467
&EXPDATE=52018
&CVV2=123
&FIRSTNAME=dasdjhasd
&LASTNAME=kjhadajshd
&STREET=sdadas
&CITY=kjhfkjhas
&STATE=jhsfkjhs
&COUNTRYCODE=BR
&ZIP=123
&IPADDRESS=127.0.0.1
&CUSTOM=hasib
&BUTTONSOURCE=PP-ECWizard

回复

[TIMESTAMP] => 2014-09-15T10:35:10Z
[CORRELATIONID] => c48d94194583f
[ACK] => Success
[VERSION] => 64
[BUILD] => 12786467
[AMT] => 5.00
[CURRENCYCODE] => USD
[AVSCODE] => X
[CVV2MATCH] => M
[TRANSACTIONID] => 43Y54124LX916011P

但我的问题是我的商业帐户没有收到任何金额。

我的IPN回复是

mc_gross] => 5.00
    [auth_exp] => 03:21:03 Oct 15, 2014 PDT
    [protection_eligibility] => Ineligible
    [payer_id] => 9KGRGK8Y9TS
    [tax] => 0.00
    [payment_date] => 03:21:03 Sep 15, 2014 PDT
    [payment_status] => Voided
    [charset] => windows-1252
    [first_name] => dasdjhasd
    [transaction_entity] => auth
    [notify_version] => 3.8
    [custom] => hasib
    [payer_status] => unverified
    [business] => debal_@gmail.com
    [quantity] => 1
    [verify_sign] => AVkS-8Ls6tx5AbNI99G2ey8uZF.MLmGc89-G9mNP
    [parent_txn_id] =>
    [txn_id] => 7T575390RR596494D
    [payment_type] => instant
    [remaining_settle] => 0
    [auth_id] => 7T575390RR596494D
    [last_name] => kjhadajshd
    [receiver_email] => debal_biz@gmail.com
    [auth_amount] => 5.00
    [receiver_id] => 7B79NQ4HXGZTW
    [txn_type] => web_accept
    [item_name] =>
    [mc_currency] => USD
    [item_number] =>
    [residence_country] => BR
    [test_ipn] => 1
    [receipt_id] => 2321-3124-0468-4638
    [handling_amount] => 0.00
    [transaction_subject] =>
    [payment_gross] => 5.00
    [auth_status] => Voided
    [shipping] => 0.00
    [ipn_track_id] => 182a6b385e18

1 个答案:

答案 0 :(得分:1)

在DoDirect API调用中,您正在传递" PAYMENTACTION = AUTHORIZATION"这意味着您必须通过登录PayPal帐户或通过API来获取付款。直到获得授权类型的交易,它将保持待处理状态29天,之后它将过期。如果您想在您的帐户中立即收到款项,请更改" PaymentAction = SALE" 。完成后,您将在帐户中看到资金,并且会在状态=已完成时发送ipn。