Skip to content

Commit

Permalink
OctopusDeploy release: 13.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
securesubmit-buildmaster committed Sep 19, 2024
1 parent 168139f commit da52209
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
10 changes: 7 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@

# Changelog

## Latest Version - v13.0.0 (08/22/24)
## Latest Version - v13.0.1 (09/19/24)
### Enhancements:
- [GP-API] Send "cvv" in create transaction request with a tokenized card

## v13.0.0 (08/22/24)
### Enhancements:
- [UPA] Add new UPA commands

Expand All @@ -17,15 +21,15 @@
### Bug Fixes:
- [GP-API] Fix re-sign in after token expiration

## Latest Version - v12.0.7 (07/16/24)
## v12.0.7 (07/16/24)
### Enhancements:
- [GP-API] Adds avs data to "/transaction" request for digital wallet
- [GP-API] Adds brand reference and stage time to the DisputeSummary

### Bug Fixes:
- [PAX] Correction to tip/gratuity handling in the request to device

## Latest Version - v12.0.6 (06/18/24)
## v12.0.6 (06/18/24)
### Enhancements:
- [GP-ECOM] Add Multi-Capture

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>13.0.0</releaseNumber>
<releaseNumber>13.0.1</releaseNumber>
</xml>
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,10 @@ private function createPaymentMethodParam($builder, $config)
)) {
if ($paymentMethodContainer instanceof ITokenizable && !empty($paymentMethodContainer->token)) {
$paymentMethod->id = $paymentMethodContainer->token;
if (!empty($paymentMethodContainer->cvn)) {
$paymentMethod->card = new Card();
$paymentMethod->card->cvv = $paymentMethodContainer->cvn;
}
}

if (is_null($paymentMethod->id)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ public function testCardTokenizationThenPayingWithToken_SingleToMultiUse()
$tokenizedCard = new CreditCardData();
$tokenizedCard->token = $tokenId;
$tokenizedCard->cardHolderName = "James Mason";
$tokenizedCard->cvn = '123';

$response = $tokenizedCard->charge(10)
->withCurrency("USD")
Expand Down
15 changes: 3 additions & 12 deletions test/Integration/Gateways/GpApiConnector/GpApiPayByLinkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public static function tearDownAfterClass(): void
BaseGpApiTestConfig::resetGpApiConfig();
}

public function setup() : void
public function setup(): void
{
ServicesContainer::configureService($this->setUpConfig());
$this->startDate = (new DateTime())->modify('-30 days')->setTime(0, 0, 0);
Expand Down Expand Up @@ -809,6 +809,7 @@ public function testFindPayByLinkByAmount()
$this->assertInstanceOf(PayByLinkSummary::class, $randomPayByLink);
$this->assertEquals($amount, $randomPayByLink->amount);
}

public function testFindPayByLinkByExpireDate()
{
$date = new DateTime('2024-05-09');
Expand Down Expand Up @@ -839,16 +840,6 @@ private function assertPayByLinkResponse(Transaction $response): void

private function setupTransactionConfig(): GpApiConfig
{
$configTrn = new GpApiConfig();
$configTrn->appId = 'oDVjAddrXt3qPJVPqQvrmgqM2MjMoHQS';
$configTrn->appKey = 'DHUGdzpjXfTbjZeo';
$configTrn->channel = Channel::CardNotPresent;
$configTrn->country = 'GB';
$configTrn->challengeNotificationUrl = 'https://ensi808o85za.x.pipedream.net/';
$configTrn->methodNotificationUrl = 'https://ensi808o85za.x.pipedream.net/';
$configTrn->merchantContactUrl = 'https://enp4qhvjseljg.x.pipedream.net/';
$configTrn->requestLogger = new SampleRequestLogger(new Logger("logs"));

return $configTrn;
return BaseGpApiTestConfig::gpApiSetupConfig(Channel::CardNotPresent);
}
}

0 comments on commit da52209

Please sign in to comment.