You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Merchello WorldPay插件PaymentForm.cshtml视图不显示(路由问题)

WorldPay Payment Gateway Plugin for Merchello FastTrack - PaymentForm.cshtml Not Rendering

I'm working on building a WorldPay payment provider plugin for an e-commerce site using Merchello with the FastTrack UI, and I'm nearly finished—but I've hit a roadblock that I can't seem to resolve. Here's a breakdown of what I've implemented so far:

  • Built out the complete plugin project with all required classes: provider, methods, controller, and related components.
  • Created a PaymentForm.cshtml file in the FastTrack.UI plugin directory to collect necessary customer information for WorldPay transactions.
  • Applied the [GatewayMethodUi("WorldPay.WorldPayCheckout")] attribute to three places: my WorldPayCheckoutPaymentGatewayMethod class, the WorldPayPaymentController class, and its PaymentForm action method.
  • Added the [PluginController("MerchelloWorldPay")] attribute to the controller, and set up a MerchelloWorldPay area within FastTrackUi. This area includes all required JS files, a dialogs folder, and a WorldPayment subfolder where the PaymentForm.cshtml is stored.
  • Configured WorldPay as the active payment gateway in the Umbraco backoffice. Frontend users can successfully select WorldPay as their payment method and click "Next" to navigate to the payment form page—but the PaymentForm.cshtml view never renders.

Some additional context from debugging:

  • WorldPayPaymentController inherits from CheckoutPaymentControllerBase
  • WorldPayCheckoutPaymentGatewayMethod inherits from RedirectPaymentMethodBase
  • When stepping through CheckoutPaymentMethodControllerBase.ResolvePayment, I see that att = "WorldPay.WorldPayPayment", which matches the value I specified in the GatewayMethodUi attribute.

I posted this issue on the Umbraco Merchello forum last week but haven't received any responses yet. I'd really appreciate any guidance or insights from the community here!

内容的提问来源于stack exchange,提问作者m.othman

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.15 04:04:15