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
ProcessCancelUrl(ProcessPaymentCallbackRequest)
Task ProcessCancelUrl(ProcessPaymentCallbackRequest request)
Parameters
request
ProcessPaymentCallbackRequest
Returns
ProcessConfirmUrl(ProcessPaymentCallbackRequest)
Task<ProcessPaymentResult> ProcessConfirmUrl(ProcessPaymentCallbackRequest request)
Parameters
request
ProcessPaymentCallbackRequest