magento付款流程..它一般如何工作 [英] magento payment process.. how it works in general

查看:76
本文介绍了magento付款流程..它一般如何工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一个问题,我希望这是问的正确地方:) ..不太了解magento中的付款方式.

got a question and I hope this is right place to ask :).. don’t quite understand how payment works in magento.

客户去结帐,并说要以客人的身份付款,因此提供地址等,最后使用付款方式.然后,我希望客户通过信用卡付款.我已经选择了用于网关(银行?)的模块.届时,我希望将用户重定向到第三方页面(托管银行),在该页面上,他们将提供所有详细信息,只有在返回适当信息后返回到我的magento网站.

client goes to checkout and lets say wants to pay as a guest, so provides address etc. and finally gets to payment methods. Then I want clients to pay thru credit card. Already have module installed for gateway (bank?) of my choice. At that point I would expect users to be redirected to 3rd party page (bank hosted) where they giving all the details, only after being returned to my magento site with appropriate message.

在magento中,似乎他们需要在magento结帐页面上提供抄送号码和详细信息.我不知道我(或我安装的付款模块)是否需要将所有信用卡详细信息转移到银行?我必须在ssl连接和静态ip上有一个checkout页面,对吗?

In magento however it seems like they need to provide cc numbers and details on magento checkout page. I don’t understand if I (or the payment module I installed) need to transfer then all the credit card details to bank? I would have to have checkout page on ssl connection and static ip right?

问题是我想避免在任何时候触摸抄送号码,并希望通过银行页面来完成.我完全喜欢magento接口的想法,但是无需重定向到另一个页面,唯一的问题是不确定是否能够正确设置所有接口.

The thing is I want to avoid touching CC numbers at any point and would love to have it done by a bank page. I like the idea of magento interface all the way without redirecting to another page though, the only problem is not sure if would be able to set it all up properly.

如果任何人都可以向我解释可能的选择,那么通常的做法是什么,以及整个过程是如何进行的,将不胜感激.

If anyone could explain to me possible options, what is the common way to do it and how the whole process works that would be very much appreciated.

我进行了研究,并在Google各处进行了搜索,但是各个论坛仍然需要别人的帮助.如果问题的某些部分不清楚,请告诉我,如有必要,我们将尝试更好地解释.

I did my research and looked all over google and various forums still need someones help though. Please let me know if some parts of my question are not quite clear, will try to better explain if necessary.

推荐答案

Magento支付模块使用的默认体系结构包括客户与该模块接口以及该模块在后台与您的支付网关通信.

The default architecture that Magento payment modules use involves the customer interfacing with the module and the module talking to your payment gateway behind the scenes.

基本上,客户输入了他所有的数据(抄送和全部),然后点击了付款按钮,此时在选定的付款模块中运行了某些功能.这些功能的作用完全取决于支付网关的工作方式.如果网关通过XML进行对话,则它们发送/接收XML,如果它需要SOAP,则它们将使用SOAP,依此类推.实际上,这就是构建新支付模块的要旨.打开一个现有的,检查哪些函数被调用,删除其中的代码,并用您自己的代码替换,该代码将与您的特定银行/网关通信.

Basically the customer inputs all his data (CC and all) and hits the payment button at which point certain functions are run in the chosen payment module. What these functions do is entirely up to how the payment gateway works. if the gateway talks via XML they send/receive XML, if it needs SOAP then they use SOAP and so on and so forth. This in fact is the gist of building a new payment module. Open an existing one, check out which functions are called, get rid of the code in there and substitute with your own that will talk to your particular bank/gateway.

当然,某些网关具有替代的操作方式,您可以在其中将客户发送到他们的页面,他将其CC数据提供给他们,然后他会立即返回您的站点.这样,您就不必担心处理信用卡数据,但是不幸的是,在Magento中实现此过程的过程要更多一些.

Of course some gateways have an alternate way of operating where you send the customer to their pages, he gives them his CC data and he is promptly returned to your site. This way you don't need to worry about handling credit card data, but unfortunately the process of implementing this in Magento is somewhat more involved.

如果您需要使用某个网关,则应首先检查是否已经存在用于该网关的支付模块.如果不是,您可以下载类似的付款模块,将其分解并修改以在适当的地方运行您的代码.

If you need to use a certain gateway then you should first check whether a payment module for it already exists. if not you can download a similar payment module, dissect it and modify it to run your code where appropriate.

这篇关于magento付款流程..它一般如何工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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