Zen Cart PayPal Pro不会留在现场

时间:2012-11-03 20:54:34

标签: paypal zen-cart

我们已经安装并正确配置了Paypal Express结账,工作正常。

然后我们安装了PayPal Payments Pro(美国),我们无法让系统通过api工作。每次我们点击确认订单,它都会将我们带到paypals网站,而不是现场处理订单。

可能导致此问题的原因。

PayPal Payments PRO DETAILS

Enable this Payment Module
True
Sort order of display.
1
Payment Zone
--none--
Set Order Status
Processing [2]
Set Unpaid Order Status
Pending [1]
Set Refund Order Status
Pending [1]
Payment Action
Final Sale
Transaction Currency
Only USD
Merchant Country
USA
Fraud Mgmt Filters - FMF
No
Live or Sandbox
live
Debug Mode
Off

EXPRESS CHECKOUT DETAILS

Enable this Payment Module
True
Sort order of display.
10
Payment Zone
--none--
Express Checkout Shortcut Button
Off
Set Order Status
Processing [2]
Set Unpaid Order Status
Pending [1]
Set Refund Order Status
Pending [1]
Express Checkout: Require Confirmed Address
No
Express Checkout: Select Cheapest Shipping Automatically
Yes
Express Checkout: Skip Payment Page
Yes
Express Checkout: Automatic Account Creation
Yes
Payment Action
Final Sale
Transaction Currency
Only USD
Store (Brand) Name at PayPal

Allow eCheck?
Instant Only
PayPal Page Style
Primary
API Signature -- Username
****************
API Signature -- Password
****************
API Signature -- Signature Code
****************
PayPal Mode
PayPal
Live or Sandbox
live
Debug Mode
Off

调试电子邮件

(live transaction) --> https://api-3t.paypal.com/nvp
Request Headers:
Array
(
    [0] => Content-Type: text/namevalue
    [1] => X-VPS-Timeout: 90
    [2] => X-VPS-VIT-Client-Type: PHP/cURL
    [3] => X-VPS-VIT-Integration-Product: PHP::Zen Cart(R) - PayPal/NVP
    [4] => X-VPS-VIT-Integration-Version: 1.5.1
)


Request Parameters: {SetExpressCheckout}
Array
(
    [AMT] => 10.00
    [ITEMAMT] => 10.00
    [L_NUMBER0] => GIFT 010
    [L_NAME0] => Gift Certificate $ 10.00 [29]
    [L_QTY0] => 1
    [L_AMT0] => 10.00
    [CURRENCYCODE] => USD
    [LOCALECODE] => US
    [ALLOWEDPAYMENTMETHOD] => InstantPaymentOnly
    [GIFTMESSAGEENABLE] => 0
    [GIFTRECEIPTEENABLE] => 0
    [GIFTWRAPENABLE] => 0
    [GIFTWRAPNAME] =>
    [GIFTWRAPAMOUNT] => 0
    [BUYEREMAILOPTINENABLE] => 0
    [CUSTOMERSERVICENUMBER] =>
    [BRANDNAME] => Elite Specialty Meats
    [PAYMENTACTION] => Sale
    [ALLOWNOTE] => 1
    [LANDINGPAGE] => Billing
    [NOSHIPPING] => 1
    [EMAIL] => info@website.com
    [SHIPTOPHONENUM] => 7159522602
    [RETURNURL] =>
https://www.website.org/ipn_main_handler.php?type=ec
    [CANCELURL] =>
https://www.website.org/index.php?main_page=checkout_shipping&ec_cancel=1
    [PAGESTYLE] => Primary
    [METHOD] => SetExpressCheckout
    [USER] => ******************
    [PWD] => ****************
    [VERSION] => 61.0
    [SIGNATURE] => ********************************************************
)


Response:
Array
(
    [TOKEN] => EC-3GP63978AS457874S
    [TIMESTAMP] => 2012-11-03T21:48:19Z
    [CORRELATIONID] => 6d65cddaebe3
    [ACK] => Success
    [VERSION] => 61.0
    [BUILD] => 4181146
    [CURL_ERRORS] =>
)

2 个答案:

答案 0 :(得分:0)

您发布了一个日志文件,显示您的网站正在运行SetExpressCheckout,这意味着您的客户通过快速结账选择“PayPal付款”,这确实会将他们带到PayPal的网站以登录并选择资金选项。

如果您正在进行专业交易(在您自己的网站上填写信用卡详细信息),则不会触发SetExpressCheckout呼叫。

答案 1 :(得分:0)

发生这种情况的原因很可能是因为您没有编辑PP Express模块​​中的设置。您必须从快速模块中选择Payflow而不是Express Checkout。您确实需要安装快速和专业模块,但奇怪的是,在快速模块中可以找到将它们保存在您的站点上的设置。