transactionComplete delegate is called when the transaction completes from the library perspective.
Completion does not necessarily mean that a payment has been made - the transaction may also have been declined or cancelled. This can be determined by examining the given
transaction‘s status via the
In case of a technical problem the
finalState property will have value UNKNOWN.
After this method has been called, no other methods on the delegate will be called.
Object containing referral data, and method to continue transaction processing with auth code.
Declaration code example
- (void)transactionComplete:(ADYTransactionData *)transaction;
func transactionComplete(_ transaction: ADYTransactionData!)
Receiving the transactionComplete delegate does not necessarily mean that the payment was successful. To determine this, inspect the
finalState property of the given