Click or drag to resize
Infosoft Logo

IOnlinePaymentServiceCompletePayment Method

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.

Namespace: Infosoft.Common.Contracts.ServiceContracts.Economy.Payments
Assembly: Infosoft.Common.Contracts (in Infosoft.Common.Contracts.dll) Version: 4.00.0.0
Syntax

Parameters

request  CompletePaymentRequest
A request object that contains the Infosoft order reference that idenfities the transaction.

Return Value

CompletePaymentResponse
A response object that contains the PaymentProcess object that represents the ongoing transaction. The AgreementReference should always be set on the object by this point.
Remarks
If the PaymentProcessType that was passed to StartPayment was Instant, this will both complete the transaction and perform the capture of the full amount. Further calls to CompletePayment or CapturePayment will fail.
See Also