Method
Call [ADYDevice createTransactionRequestWithReference:error:] on the selected ADYDevice. This creates an ADYTransactionRequest object.
Parameters
- Enter the currency and amount of the payment on the
ADYTransactionRequest, and optionally additional data in theoptionsdictionary. - Call [
ADYTransactionRequest startWithDelegate:error:] to start executing the transaction. Again, this method returns immediately, and the payment continues running in the background. The provided delegate will be called periodically to be informed of the payment's progress and outcome. - Your app will be called by various delegates.
When any of these methods are called, the transaction is temporarily suspended until the app indicates that it can continue. In the case of [ADYTransactionProcessorDelegate transactionRequiresSignature:] for example, this is done by the app calling either [ADYSignatureRequest submitConfirmedSignature:] or [ADYSignatureRequest submitUnconfirmedSignature:].