Skip to content

Commit

Permalink
feat: added allow_fallback_to_sale flag
Browse files Browse the repository at this point in the history
  • Loading branch information
processout-machine committed Feb 14, 2023
1 parent 1a4ef9a commit cdce46e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
```
Expand Down
1 change: 1 addition & 0 deletions src/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/Networking/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit cdce46e

Please sign in to comment.