Hello there,

I am involved in developing a custom Payment Method Plugin.

I already have a working module for nopCommerce 1.9.
I got somewhat confused while converting it to nopCommerce 2.x.

The payment method needs to redirect the user to the payment gateway.
This is done in the PostProcessPayment override.

As I can see in existing payment methods, there is no way to report errors to the user.

PayPalStandard for example simply redirects to the homepage if something goes wrong:

RedirectToAction("Index", "Home", new { area = "" });

Is this the way it is supposed to work on nop 2.x ?

Thank you, bye!