E-Payment Integrator 2020 Qt Edition

Questions / Feedback?

CheckoutPayment Method

Either obtain payment for a final sale, or request authorization for later capture of payment.

Syntax

int CheckoutPayment();

Remarks

This method completes the sale or authorization. When this method is called, the following properties are required in the request:

To obtain payment for a final sale you will have to set the PaymentAction property to aSale. If you want to request an authorization, the PaymentAction property has to be set to aAuthorization. Then, you will need to use Capture to capture the transaction.

The following information may be optionally provided in the request:

The Response and Payment properties may be returned in the response.

Error Handling

This method returns a result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message. (Note: This method's result code can also be obtained by calling the GetLastErrorCode() method after it returns.)

Copyright (c) 2021 /n software inc. - All rights reserved.
E-Payment Integrator 2020 Qt Edition - Version 20.0 [Build 7941]