completePayment

abstract fun completePayment(paymentId: String, callback: Callback<PaymentResult>): PaymentHandle

Completes a previously-authorized payment.

Parameters

paymentId

the server-assigned identifier of the payment to complete. The payment should be in AUTHORIZED state for completion to be meaningful.

callback

a callback used to notify the application of the result