Method
Call createSpecialTransactionRequest on the selected ADYDevice. This creates an ADYSpecialTransactionRequest object.
Parameters
| Parameters | Type | Required | Description |
|---|---|---|---|
merchantAccount | String | ![]() | The merchant account, on which the transaction is processed. |
amount | Number | ![]() | The amount of the transaction. |
currency | String | ![]() | The currency of the transaction. |
transactionType | String | ![]() | For the wallet transaction, populate with payment. |
paymentMethodType | String | ![]() |
|
merchantReference | String | ![]() | The unique merchant reference for the transaction. |
handleReceipt | Boolean | ![]() | Specifies that the POS handles and prints receipts. If omitted, it is required that the PED prints the receipt. If there is no printer unit, the transaction will fail. |
Key-value pair options
| Key | Value |
|---|---|
cardNumber (optional) |
The scanned number from the Alipay app (to be provided only for Flow 3: Cash register scans Shopper barcode). |
forceEntryMode (required) |
"Keyed" |
Callbacks
Implement the ADYTransactionProcessorDelegate, specifically the methods:
(void)transactionComplete:(ADYTransactionData*)transaction(void)transactionRequiresPrintedReceipt:(ADYPrintReceiptRequest*)printReceiptRequest
