Can i redirect to action from plugin class

11 months ago
I am facing issue i have my own custom plugin for payment i have two class for custom plugin paymentSPIsettings.css and paymentSPI.css for business logic can i redirect from plugin to any action?
11 months ago
Qami wrote:
I am facing issue i have my own custom plugin for payment i have two class for custom plugin paymentSPIsettings.css and paymentSPI.css for business logic can i redirect from plugin to any action?


Yes you can do redirect from plugin's Controller class. Go through the  Nop.Plugin.Payments.PayPalStandard plugin

~Source\Plugins\Nop.Plugin.Payments.PayPalStandard\Controllers\PaymentPayPalStandardController.cs

.