Routing Problems for Payment Plugin

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi all,
I am currently developing a redirection payment plugin for the Cardstream payment gateway but coming across some issues.
The plugin POSTs data to an external gateway which returns a form for customers to fill in their card details and then the final response is posted back to my IPNHandler action to be confirmed/rejected by the store.

I am having 2 major issues:
1.
HttpException: The controller for path '/Admin/Payment/ConfigureMethod' was not found or does not implement IController." 
on trying to click the configure button. I have tried the commonly quoted solutions (global.asax updates, clearing temporary files, cleaning and rebuilding) with no luck. I feel like there must be an issue with my routing configuration.

2. I can't seem to get a working URL to POST to to get my IPNHandler to pick up the request. Again I think this is an issue with the routing. I have tried
_webHelper.GetStoreLocation(false) + "Plugins/PaymentCardstreamHosted/IPNHandler" 
without any luck.

I have attached my code below for you to browse and debug with, I'd really appreciate any help that you can give.

https://www.dropbox.com/s/brk0sm6x2zoj72a/Nop.Plugin.Payments.CardstreamHosted.zip?dl=0


Thanks a lot,
Jack.
6 years ago
Your PaymentCardstreamHostedController is not a public class. Make it public. :)


This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.