简体   繁体   English

当使用带有Paypal Payments Pro的信用卡时,Magento不会重定向,但是快速选项可以很好地重定向

[英]Magento does not redirect when using a credit card with paypal payments pro, but the express option redirects fine

I did not set this up, we don't really have a test area, unfortunately the site is live and we are trying to fix something the developer left undone/untested. 我没有进行设置,我们实际上没有测试区域,不幸的是,该网站处于启用状态,并且我们正尝试修复开发人员未做/未做的事情。 We are using Magento version: 1.8.0.0. 我们使用的是Magento版本:1.8.0.0。 I have switched on and off many different settings and have not gotten any good results. 我打开和关闭了许多不同的设置,但没有得到任何好的结果。 It seems odd that I followed a tutorial to check the settings and everything matches up and the express portion works fine and the credit card portion does not redirect and it just sits there and does nothing = failure. 我按照教程检查设置似乎很奇怪,并且一切都匹配,快速部分工作正常,信用卡部分没有重定向,它只是坐在那儿,什么都不做=失败。 Can you please make suggestions on what the problem might be or if I need to contact PayPal, what can I suggest to them the problem might be if it is on their end. 您能否就可能出现的问题提出建议,或者如果我需要联系PayPal,我可以向他们建议什么问题(可能是问题已经解决了)。 I am not entirely familiar with setting up Magento payment gateways. 我对设置Magento付款网关并不完全熟悉。

Thank you for any help you can give us, 谢谢您能给我们的帮助,

Tracy 特蕾西

Not a Magento user nor dev (disclaimer). 不是Magento用户,也不是dev(免责声明)。

Redirect where? 重定向到哪里? Your "success/failure" page or to Paypal (like in Express Checkout)? 您的“成功/失败”页面还是贝宝(例如Express Checkout)?

Credit card (type of payment) won't/shouldn't redirect to Paypal, you are essentially sending the card data you collected at your web app and sending it off to Paypal for processing (try to AUTHORIZE and/or CAPTURE funds), and waiting for a response to that request. 信用卡(付款方式)不会/不应重定向到Paypal,实际上,您是将在Web应用程序上收集到的卡数据发送给Paypal,然后再发送给Paypal进行处理(尝试授权和/或捕获资金),并等待对该请求的回复。 User doesn't leave your site. 用户没有离开您的网站。

Do you have a Paypal Manager account..if IINM, you should if you have a "Pro" account that allows you to collect credit card data at your site (though this is something Paypal folk can better answer)? 您是否有Paypal Manager帐户。如果是IINM,则应该有一个“专业”帐户,该帐户可以让您在您的网站上收集信用卡数据(尽管Paypal员工可以更好地回答此问题)? It can be helpful to check if your system is actually sending the request to Paypal (gateway). 检查您的系统是否实际将请求发送到Paypal(网关)可能会有所帮助。 Or perhaps an error log in Magento? 还是Magento中的错误日志?

Hth... 嗯...

I had this exact same issue, and found that the problem was in the layout for checkout.xml in the iPhone template. 我遇到了完全相同的问题,发现问题出在iPhone模板中checkout.xml的布局中。

I added the following piece (without the ** marks) to app/design/frontend/default/iphone/layout/checkout.xml 我将以下内容(不带**标记)添加到app / design / frontend / default / iphone / layout / checkout.xml

<checkout_onepage_review translate="label">
    <label>One Page Checkout Overview</label>
    <!-- Mage_Checkout -->
    <remove name="right"/>
    <remove name="left"/>

    <block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml">
        <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
        <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
        <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
        <block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
        <block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before" translate="label">
            <label>Items Before</label>
        </block>
        **<block type="core/text_list" name="checkout.onepage.review.info.items.after" as="items_after" translate="label">
            <label>Items After</label>
        </block>**
        <block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
        <block type="core/template" name="checkout.onepage.review.button" as="button" template="checkout/onepage/review/button.phtml"/>
    </block>
</checkout_onepage_review>

Hope that helps others 希望对别人有帮助

Cheers Twan 欢呼声

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM