Table of Contents

Interface IPaymentProcessor

Namespace
Rescope.Commerce.Core.PaymentProcessors
Assembly
Rescope.Commerce.Core.dll

All payment processors implement this interface.

Processors can also optionally implement:

public interface IPaymentProcessor

Methods

Initiate(InitiatePaymentRequest)

Task<InitiatePaymentResult> Initiate(InitiatePaymentRequest request)

Parameters

request InitiatePaymentRequest

Returns

Task<InitiatePaymentResult>

ProcessCancelUrl(ProcessPaymentCallbackRequest)

Task ProcessCancelUrl(ProcessPaymentCallbackRequest request)

Parameters

request ProcessPaymentCallbackRequest

Returns

Task

ProcessConfirmUrl(ProcessPaymentCallbackRequest)

Task<ProcessPaymentResult> ProcessConfirmUrl(ProcessPaymentCallbackRequest request)

Parameters

request ProcessPaymentCallbackRequest

Returns

Task<ProcessPaymentResult>