网站付款专业版(贝宝)iframe [英] Website Payments Pro (Paypal) Iframe

查看:63
本文介绍了网站付款专业版(贝宝)iframe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Magento CE 1.6.2,并试图使用Website Payments Pro系统.

I’m using Magento CE 1.6.2 and am attempting to use Website Payments Pro system.

我经历了结帐过程,选择Paypal PRO链接作为我的付款方式,收到消息下订单后将要求您输入付款详细信息",转到我查看具有以下内容的订单的页面点击下订单"按钮.

I go through the checkout process, select Paypal PRO link as my payment method, get the message "You will be required to enter your payment details after you place an order", get to the page where I review the order that has the "Place Order" button on it.

当我单击下订单"时,我期望以iframe形式获得Paypal按钮,但什么也没有出现.页面永远不会改变.

When I click "Place Order" my expectation is to get the paypal button in a iframe form but nothing appear. The page never changes.

如果我在后端签入,则订单在Magento中显示为待付款".

If I check in the back end the order appears in Magento as "Pending Payment".

我应该提到我正在使用一个测试的PayPal帐户执行此操作,并且我给PayPal打电话,他们认为我的所有设置都是正确的,尽管我不确定我是否设置正确.

I should mention that I am doing this with a test PayPal account and that I called PayPal and they believe that all my settings are correct although I am unsure if I have the settings right.

是否有任何关于为什么我在单击下订单"后不被引导到页面来输入我的付款信息的想法?网站付款专业版和Magento 1.6.2是否存在错误?

Any thoughts on why I’m not being directed to a page to enter my payment info after clicking "Place Order"? Is there a bug with the Website Payments Pro and Magento 1.6.2?

http://minus.com/lbkpOV6gikF0bs

我已启用DEBUG模式,并且已在payment_hosted_pro.log中阅读了PAYPAL API的正确响应.

I have enabled the DEBUG mode and I have read in the payment_hosted_pro.log a correct response of the PAYPAL API.

2012-04-05T23:10:41+00:00 DEBUG (7): Array
(
    [url] => https://api-3t.sandbox.paypal.com/nvp
    [BMCreateButton] => Array
        (
            [METHOD] => BMCreateButton
            [BUTTONCODE] => TOKEN
            [BUTTONTYPE] => PAYMENT
            [L_BUTTONVAR0] => subtotal=14.88
            [L_BUTTONVAR1] => tax=0.00
            [L_BUTTONVAR2] => shipping=5.00
            [L_BUTTONVAR3] => invoice=100000050
            [L_BUTTONVAR4] => address_override=false
            [L_BUTTONVAR5] => currency_code=EUR
            [L_BUTTONVAR6] => buyer_email=jdoe@gmail.com
            [L_BUTTONVAR7] => billing_first_name=John
            [L_BUTTONVAR8] => billing_last_name=Doe
            [L_BUTTONVAR9] => billing_city=New York
            [L_BUTTONVAR10] => billing_state=New York
            [L_BUTTONVAR11] => billing_zip=0000
            [L_BUTTONVAR12] => billing_country=US
            [L_BUTTONVAR13] => billing_address1=no street
            [L_BUTTONVAR14] => billing_address2=
            [L_BUTTONVAR15] => first_name=John
            [L_BUTTONVAR16] => last_name=Doe
            [L_BUTTONVAR17] => city=New York
            [L_BUTTONVAR18] => state=New York
            [L_BUTTONVAR19] => zip=0000
            [L_BUTTONVAR20] => country=US
            [L_BUTTONVAR21] => address1=no street
            [L_BUTTONVAR22] => address2=
            [L_BUTTONVAR23] => paymentaction=authorization
            [L_BUTTONVAR24] => notify_url=http://www.magento.it/paypal/ipn/
            [L_BUTTONVAR25] => cancel_return=http://www.magento.it/paypal/hostedpro/cancel/
            [L_BUTTONVAR26] => return=http://www.magento.it/paypal/hostedpro/return/
            [L_BUTTONVAR27] => lc=IT
            [L_BUTTONVAR28] => template=templateD
            [L_BUTTONVAR29] => showBillingAddress=false
            [L_BUTTONVAR30] => showShippingAddress=false
            [L_BUTTONVAR31] => showBillingEmail=false
            [L_BUTTONVAR32] => showBillingPhone=false
            [L_BUTTONVAR33] => showCustomerName=false
            [L_BUTTONVAR34] => showCardInfo=true
            [L_BUTTONVAR35] => showHostedThankyouPage=false
            [VERSION] => 72.0
            [USER] => ****
            [PWD] => ****
            [SIGNATURE] => ****
            [BUTTONSOURCE] => Varien_Cart_WPP_IT
        )

    [response] => Array
        (
            [WEBSITECODE] => <form action="https://securepayments.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="HSS-IC0YjKMf1wXUUGEyDIpUTWddXlgnXvVl">
<input type="image" src="https://www.sandbox.paypal.com/en_US/i/btn/btn_paynow_LG.gif" border="0" name="submit" alt="PayPal - Il sistema di pagamento online più facile e sicuro!">
<img alt="" border="0" src="https://www.sandbox.paypal.com/it_IT/i/scr/pixel.gif" width="1" height="1">
</form>

            [EMAILLINK] => https://securepayments.sandbox.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=HSS-IC0YjKMf1wXUUGEyDIpUTWddXlgnXvVl
            [HOSTEDBUTTONID] => HSS-IC0YjKMf1wXUUGEyDIpUTWddXlgnXvVl
            [TIMESTAMP] => 2012-04-05T23:10:41Z
            [CORRELATIONID] => bb7df94045217
            [ACK] => Success
            [VERSION] => 72.0
            [BUILD] => 2764190
        )

    [__pid] => 5980
)

为什么在一页结帐中看不到"Website Payments Pro"表单?

Why I cannot see the Website Payments Pro form in the onepage checkout?

  • Magento 1.6
  • 新安装
  • 未安装自定义模板

致谢

推荐答案

最终解决

我已经解决了始终在全新安装中启用调试模式的棘手问题,检查了文件和文件夹的权限,并对其进行了测试,以购买目录中的测试产品.

I have solved the tricly problem enabling the Debug mode in always in a fresh install, checked the right permissions of the files and folders and testing it to buying a test product in my catalog.

看看我在系统中获得的/var/log文件夹.记录此消息:

Take a look the /var/log folder I get in the system.log this message:

2012-04-06T06:39:06 + 00:00 CRIT(2):无效的模板文件:frontend/base/default/template/paypal/hostedpro/iframe.phtml 我已经检查了frontend/base/default/template/paypal/目录,并且没有任何hostedpro目录!在全新安装的Magento中,这确实很奇怪!

2012-04-06T06:39:06+00:00 CRIT (2): Not valid template file:frontend/base/default/template/paypal/hostedpro/iframe.phtml I have checked the directory frontend/base/default/template/paypal/ and there is not any hostedpro directory!! This is really odd in a fresh install of Magento!

我已经创建了目录,并且仅上传了frontend/base/default/template/paypal/hss/iframe.phtml文件,现在它也可以正常工作了!

I have created the directory and uploaded just the frontend/base/default/template/paypal/hss/iframe.phtml file and now it works as well!

这是一个真正的Magento Bug!

This is a real Magento Bug!!

这篇关于网站付款专业版(贝宝)iframe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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