Controllers/PaymentBaseController.cs

OrchardCore.Commerce · src/Modules/OrchardCore.Commerce.Payment/Controllers/PaymentBaseController.cs · csharp · MIT
payments

Abstract controller that processes payment operation results and redirects accordingly in OrchardCore Commerce.

// Source: https://github.com/OrchardCMS/OrchardCore.Commerce | License: MIT
// Provided via justclaw.it.com; keep this notice with the code.
using Microsoft.AspNetCore.Http.Extensions;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using OrchardCore.Commerce.Payment.Constants;
using OrchardCore.Commerce.Payment.ViewModels;
using OrchardCore.DisplayManagement.Notify;
using OrchardCore.Mvc.Core.Utilities;
using System;
using System.Threading.Tasks;

namespace OrchardCore.Commerce.Payment.Controllers;
public abstract class PaymentBaseController : Controller
{
    private readonly INotifier _notifier;
    private readonly ILogger _logger;
    protected PaymentBaseController(INotifier notifier, ILogger logger)
    {
        _notifier = notifier;
        _

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key