Mobile SDK
...
Transactions
Completion
1 min
when toroconfig capturemode is set to manual you need to send completion advice to the toro gateway in order to capture the payment this can be done as shown below let originaltransactiondetails = originaltransactiondetails( salereferenceid "sale 12345", amount 1000, currency gbp, datetime "2025 01 01t00 00 00 000z", transactionreference "purchase 12345123", responsecode approved, authcode "123456", paymentinterface contact, terminalserialnumber "2110022", additionalresponseinformation "01\ xzz022a3a0a9a99f1b5mxjyict525hcf" ) toro sendcompletionadvice( originaltransactiondetails originaltransactiondetails, oncompleted { responsecode in print("completion advice response received \\(responsecode)") }, onerror { error in print("completion advice error \\(error)") } )
