Skip to content

Commit b55f119

Browse files
feat: Add new captue_type field
1 parent 64ed19e commit b55f119

4 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15-
- uses: go-semantic-release/action@v1.24.1
15+
- uses: go-semantic-release/action@v1
1616
id: semrel
1717
with:
1818
github-token: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The package's installation is done using composer. Simply add these lines to you
2020
```json
2121
{
2222
"require": {
23-
"processout/processout-php": "^7.4.0"
23+
"processout/processout-php": "^7.5.0"
2424
}
2525
}
2626
```

src/Invoice.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1938,6 +1938,7 @@ public function capture($source, $options = array())
19381938
"override_mac_blocking" => (!empty($options["override_mac_blocking"])) ? $options["override_mac_blocking"] : null,
19391939
"external_three_d_s" => (!empty($options["external_three_d_s"])) ? $options["external_three_d_s"] : null,
19401940
"save_source" => (!empty($options["save_source"])) ? $options["save_source"] : null,
1941+
"capture_type" => (!empty($options["capture_type"])) ? $options["capture_type"] : null,
19411942
"source" => $source
19421943
);
19431944

src/Networking/Request.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function prepare($options, $len = null)
3131
$headers = array(
3232
'API-Version: 1.4.0.0',
3333
'Content-Type: application/json',
34-
'User-Agent: ProcessOut PHP-Bindings/7.4.0'
34+
'User-Agent: ProcessOut PHP-Bindings/7.5.0'
3535
);
3636
if (! empty($options['idempotencyKey']))
3737
$headers[] = 'Idempotency-Key: ' . $options['idempotencyKey'];

0 commit comments

Comments
 (0)