Click or drag to resize
Infosoft Logo

IOnlinePaymentService Methods

The IOnlinePaymentService type exposes the following members.

Methods
 NameDescription
Public methodCancelPayment Cancels a payment. This may be used either before or after the transaction has been completed.
Public methodCapturePayment Captures a payment. This will perform the actual money withdrawal from the credit card.
Public methodCompletePayment Completes a payment. This must always be called when the user has successfully entered their credit card information to tell the provider that the payment is finished and the money is ready to be withdrawn.
Public methodPerformAgreementPayment Performs an agreement payment based on a payment agreement registered with the underlying provider.
Public methodQueryPayment Queries a payment. This will return useful information about the transaction, although the details vary depending on the underlying provider.
Public methodQueryPaymentGetByAgreementReference Queries a payment. This will return useful information about the transaction, although the details vary depending on the underlying provider.
Public methodRefundPayment Refund payment. Only captured payments may be refunded; if the state is "Completed" it means that no money has been transferred yet anyway, so no refund is necessary.
Public methodCode exampleStartPayment Starts a payment. This method must always be called in order to initiate a transaction.
Public methodUpdatePayment Updates a payment with externally retrieved provider references.
Top
See Also