使用非 Paypal 付款方式的 Magento 循环配置文件

发布于 2024-10-20 03:42:53 字数 679 浏览 1 评论 0原文

有兴趣知道 (a) 这是否可行,以及 (b) 你们中是否有人已成功实现该功能。 wiki 页面 反复提到“目前,默认情况下,Magento 支持购买商品”具有仅适用于 PayPal 支付系统且仅通过快速结帐方法的重复配置文件。” - 我不确定这是否是因为当前没有其他支付方法实现该接口,或者因为他们对架构进行了硬编码,使其只能与 Paypal 一起使用。

为了测试这一点,我创建了一种付款方式,该方式可以删除 Mage_Payment_Model_Recurring_Profile_MethodInterface 方法,并且当我使用 Nominal 产品(即具有定期配置文件的产品)进行结账时,现在会显示该付款选项,并且订单已成功下达。但是,它不会出现在“销售”>“定期配置文件”或“客户的计费协议”列表中。我猜想它们将由存根方法填充。

我怀疑 Mage_Payment_Model_Recurring_Profile 中的字段设置为镜像 Paypal 所需的字段,因此可能需要一些映射才能将这些字段转换为另一个支付网关的要求,但这在理论上应该是可以实现的,可能使用模型覆盖。

很抱歉问了这个漫无目的的问题,但我很想听听您的经历,因为该框架在第一次调查中似乎支持它。

Interested to know if (a) this is possible, and (b) whether any of you have successfully implemented the functionality. The wiki page repeatedly refers to "Currently, by default, Magento supports purchasing items with recurring profiles only for the PayPal payment system and only through the Express Checkout method." - I'm not sure if that's because there are no payment other methods currently implementing the Interface, or because they've hardcoded the architecture such that it will only work with Paypal.

To test this, I've created a payment method that stubs out the Mage_Payment_Model_Recurring_Profile_MethodInterface methods, and that payment option is now presented when I go through checkout with a Nominal product (i.e. product with a recurring profile) and the order is placed successfully. However it doesn't appear in the list of Sales>Recurring Profiles or Customer's Billing Agreements. I guess they will be populated by the stubbed-out methods.

I suspect that the fields in Mage_Payment_Model_Recurring_Profile are setup to mirror those required by Paypal, so it may take some mapping to translate those into another payment gateway's requirements, but that should be achievable theoretically, possibly using a model override.

Sorry for the rambling question, but I'm keen to hear your experiences since the framework seems to support it on first investigation.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

迷迭香的记忆 2024-10-27 03:42:53

你在哪个国家?通过对 RBS WorldPay 模块进行一些修改,您可以使用针对重复付款的 RBS FuturePay。我只需要使用该模块进行两次 50-50 的付款,但是,FuturePay 的技术支持非常出色,Phoenix WorldPay 模块也不错(作为起点)。我不需要将其集成到 Magento 的定期付款配置文件中,但是,您可以设置其他表格供人们取消订单。

Which country are you in? With some adaption of the RBS WorldPay module you can use RBS FuturePay which is geared around repeat payments. I only had to use the module to take two 50-50 payments, however, the FuturePay technical support was brilliant and the Phoenix WorldPay module is not bad either (as starting points go). Getting it to integrate into Magento's Recurring Payments profile is not something I needed to get to work, however, you could put some other form for people to cancel an order.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文