diff --git a/README.md b/README.md index f3b1702..4dc6f2a 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ The package's installation is done using composer. Simply add these lines to you ```json { "require": { - "processout/processout-php": "^6.23.0" + "processout/processout-php": "^6.24.0" } } ``` diff --git a/src/Invoice.php b/src/Invoice.php index 85faa20..bbb58dc 100755 --- a/src/Invoice.php +++ b/src/Invoice.php @@ -1528,6 +1528,7 @@ public function authorize($source, $options = array()) "retry_drop_liability_shift" => (!empty($options["retry_drop_liability_shift"])) ? $options["retry_drop_liability_shift"] : null, "capture_amount" => (!empty($options["capture_amount"])) ? $options["capture_amount"] : null, "enable_three_d_s_2" => (!empty($options["enable_three_d_s_2"])) ? $options["enable_three_d_s_2"] : null, + "allow_fallback_to_sale" => (!empty($options["allow_fallback_to_sale"])) ? $options["allow_fallback_to_sale"] : null, "auto_capture_at" => (!empty($options["auto_capture_at"])) ? $options["auto_capture_at"] : null, "metadata" => (!empty($options["metadata"])) ? $options["metadata"] : null, "source" => $source diff --git a/src/Networking/Request.php b/src/Networking/Request.php index 270d93f..7cffc62 100644 --- a/src/Networking/Request.php +++ b/src/Networking/Request.php @@ -31,7 +31,7 @@ protected function prepare($options, $len = null) $headers = array( 'API-Version: 1.4.0.0', 'Content-Type: application/json', - 'User-Agent: ProcessOut PHP-Bindings/6.23.0' + 'User-Agent: ProcessOut PHP-Bindings/6.24.0' ); if (! empty($options['idempotencyKey'])) $headers[] = 'Idempotency-Key: ' . $options['idempotencyKey'];