diff --git a/README.md b/README.md index 4dc6f2a..7fbd218 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.24.0" + "processout/processout-php": "^6.25.0" } } ``` diff --git a/src/Invoice.php b/src/Invoice.php index bbb58dc..80e491d 100755 --- a/src/Invoice.php +++ b/src/Invoice.php @@ -1571,6 +1571,7 @@ public function capture($source, $options = array()) "auto_capture_at" => (!empty($options["auto_capture_at"])) ? $options["auto_capture_at"] : null, "enable_three_d_s_2" => (!empty($options["enable_three_d_s_2"])) ? $options["enable_three_d_s_2"] : null, "metadata" => (!empty($options["metadata"])) ? $options["metadata"] : null, + "capture_statement_descriptor" => (!empty($options["capture_statement_descriptor"])) ? $options["capture_statement_descriptor"] : null, "source" => $source ); diff --git a/src/Networking/Request.php b/src/Networking/Request.php index 7cffc62..2d856b3 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.24.0' + 'User-Agent: ProcessOut PHP-Bindings/6.25.0' ); if (! empty($options['idempotencyKey'])) $headers[] = 'Idempotency-Key: ' . $options['idempotencyKey'];