Skip to content

Commit

Permalink
OctopusDeploy release: 6.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
securesubmit-buildmaster committed Nov 17, 2022
1 parent 4c56783 commit 73983e3
Show file tree
Hide file tree
Showing 77 changed files with 2,748 additions and 354 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@

## Latest version
#### Enhancements:
- GP-API: Onboard merchants feature
- GP-API: Decoupled Authentication

#### Bug Fixes:
- GP-API: Fix phone country code for ISO code "DO"
- GP-API/GP-ECOM: Fix end-to-end examples
- Portico: APPLE PAY / GOOGLE PAY fix

## v6.0.0 (11/03/2022)
#### Enhancements:
- Security vulnerabilities fixes

## v6.0.0 (10/20/2022)
#### Enhancements:
- GP-API/GP-ECOM: Sunset 3DS1
- Add method on CountryUtil to extract phone country code based on ISO-2/ISO-3/the name of the country
- GP-API Update unit tests with new set of credentials for GP-API
Expand Down
12 changes: 1 addition & 11 deletions examples/gp-api/end-to-end/check3dsVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,7 @@

// TODO: consume card data sent from the JS Library ($requestData)

$rawData = "";
try {
if (file_exists('php://input')) {
$rawData = json_decode(file_get_contents($rawData));
}
} catch (ApiException $e) {
// TODO: add your error handling here
print_r($e);
}

$decodedData = json_decode($rawData);
$decodedData = json_decode(file_get_contents('php://input'));
$paymenttoken = $decodedData->tokenResponse;

// configure client & request settings
Expand Down
10 changes: 1 addition & 9 deletions examples/gp-api/end-to-end/initiateAuthentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,7 @@
use GlobalPayments\Api\Services\Secure3dService;
use GlobalPayments\Api\ServicesContainer;

$requestData = "";
try {
if (file_exists('php://input')) {
$requestData = json_decode(file_get_contents($requestData));
}
} catch (Exception $e) {
// TODO: add your error handling here
print_r($e);
}
$requestData = json_decode(file_get_contents('php://input'));

$config = new GpApiConfig();
$config->appId = GenerateToken::APP_ID;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,7 @@
$config->merchantContactUrl = 'https://www.example.com';
ServicesContainer::configureService($config);

$requestData = "";
try {
if (file_exists('php://input')) {
$requestData = json_decode(file_get_contents($requestData));
}
} catch (Exception $e) {
// TODO: add your error handling here
print_r($e);
}
$requestData = json_decode(file_get_contents('php://input'));

$cardData = $requestData->card;
$card = new CreditCardData();
Expand Down
2 changes: 1 addition & 1 deletion metadata.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<xml>
<releaseNumber>6.0.1</releaseNumber>
<releaseNumber>6.0.2</releaseNumber>
</xml>
Loading

0 comments on commit 73983e3

Please sign in to comment.