diff --git a/src/DtoneController.php b/src/DtoneController.php index a23a2f0..5cc0f6d 100644 --- a/src/DtoneController.php +++ b/src/DtoneController.php @@ -66,8 +66,13 @@ public function LookUpOperatorsForMobileNumber($mobile_number) return Request::LookUpOperatorsForMobileNumber($mobile_number); } - public function createTransaction($external_id, $product_id, $credit_party_identifier) + public function createTransaction($external_id, $product_id, $credit_party_identifier, $auto_confirm = false) { - return Request::CreateTransaction($external_id, $product_id, $credit_party_identifier); + return Request::CreateTransaction($external_id, $product_id, $credit_party_identifier, $auto_confirm); } + + public function confirmTransaction($transaction_id) + { + return Request::confirmTransaction($transaction_id); + } }