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.cshtmlfile in the FastTrack.UI plugin directory to collect necessary customer information for WorldPay transactions. - Applied the
[GatewayMethodUi("WorldPay.WorldPayCheckout")]attribute to three places: myWorldPayCheckoutPaymentGatewayMethodclass, theWorldPayPaymentControllerclass, and itsPaymentFormaction method. - Added the
[PluginController("MerchelloWorldPay")]attribute to the controller, and set up aMerchelloWorldPayarea within FastTrackUi. This area includes all required JS files, adialogsfolder, and aWorldPaymentsubfolder where thePaymentForm.cshtmlis 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.cshtmlview never renders.
Some additional context from debugging:
WorldPayPaymentControllerinherits fromCheckoutPaymentControllerBaseWorldPayCheckoutPaymentGatewayMethodinherits fromRedirectPaymentMethodBase- When stepping through
CheckoutPaymentMethodControllerBase.ResolvePayment, I see thatatt = "WorldPay.WorldPayPayment", which matches the value I specified in theGatewayMethodUiattribute.
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
相关产品推荐
相关产品推荐

