-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #100 from Adyen/develop
Release v2.2.0
- Loading branch information
Showing
54 changed files
with
2,563 additions
and
509 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Release | ||
|
||
on: | ||
# Manual run from Github UI (e.g. for when a merged PR labels have changed) | ||
workflow_dispatch: | ||
inputs: | ||
pre-release: | ||
required: false | ||
type: boolean | ||
default: false | ||
description: "This release will be labeled as non-production ready" | ||
# Publish the current version now, useful if the automated run failed | ||
github-release: | ||
required: false | ||
type: boolean | ||
default: false | ||
description: "Publish Github release for the current version" | ||
# Monitor pull request events | ||
|
||
pull_request: | ||
types: | ||
- closed | ||
branches: | ||
- main | ||
|
||
jobs: | ||
release: | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Prepare the next main release | ||
uses: Adyen/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
develop-branch: main | ||
version-files: composer.json | ||
release-title: Adyen Magento 2 Express Checkout Module | ||
pre-release: ${{ inputs.pre-release || false }} | ||
# For a manual Github release | ||
github-release: ${{ inputs.github-release || false }} | ||
separator: .pre.beta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
/** | ||
* | ||
* Adyen ExpressCheckout Module | ||
* | ||
* Copyright (c) 2024 Adyen N.V. | ||
* This file is open source and available under the MIT license. | ||
* See the LICENSE file for more info. | ||
* | ||
* Author: Adyen <[email protected]> | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Adyen\ExpressCheckout\Api; | ||
|
||
interface AdyenInitPaymentsInterface | ||
{ | ||
const PAYMENT_CHANNEL_WEB = 'web'; | ||
|
||
/** | ||
* @param string $stateData | ||
* @param int|null $adyenCartId | ||
* @param string|null $adyenMaskedQuoteId | ||
* @return string | ||
*/ | ||
public function execute( | ||
string $stateData, | ||
?int $adyenCartId = null, | ||
?string $adyenMaskedQuoteId = null | ||
): string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
/** | ||
* | ||
* Adyen ExpressCheckout Module | ||
* | ||
* Copyright (c) 2024 Adyen N.V. | ||
* This file is open source and available under the MIT license. | ||
* See the LICENSE file for more info. | ||
* | ||
* Author: Adyen <[email protected]> | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Adyen\ExpressCheckout\Api; | ||
|
||
interface AdyenPaypalUpdateOrderInterface | ||
{ | ||
/** | ||
* @param string $paymentData | ||
* @param int|null $adyenCartId | ||
* @param string|null $adyenMaskedQuoteId | ||
* @param string $deliveryMethods | ||
* @return mixed | ||
*/ | ||
public function execute( | ||
string $paymentData, | ||
?int $adyenCartId = null, | ||
?string $adyenMaskedQuoteId = null, | ||
string $deliveryMethods = '' | ||
): string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?php | ||
/** | ||
* | ||
* Adyen ExpressCheckout Module | ||
* | ||
* Copyright (c) 2024 Adyen N.V. | ||
* This file is open source and available under the MIT license. | ||
* See the LICENSE file for more info. | ||
* | ||
* Author: Adyen <[email protected]> | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Adyen\ExpressCheckout\Api; | ||
|
||
interface GuestAdyenInitPaymentsInterface | ||
{ | ||
/** | ||
* @param string $stateData | ||
* @param string|null $guestMaskedId | ||
* @param string|null $adyenMaskedQuoteId | ||
* @return string | ||
*/ | ||
public function execute( | ||
string $stateData, | ||
?string $guestMaskedId = null, | ||
?string $adyenMaskedQuoteId = null | ||
): string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
/** | ||
* | ||
* Adyen ExpressCheckout Module | ||
* | ||
* Copyright (c) 2024 Adyen N.V. | ||
* This file is open source and available under the MIT license. | ||
* See the LICENSE file for more info. | ||
* | ||
* Author: Adyen <[email protected]> | ||
*/ | ||
declare(strict_types=1); | ||
|
||
namespace Adyen\ExpressCheckout\Api; | ||
|
||
interface GuestAdyenPaypalUpdateOrderInterface | ||
{ | ||
/** | ||
* @param string $paymentData | ||
* @param string|null $guestMaskedId | ||
* @param string|null $adyenMaskedQuoteId | ||
* @param string $deliveryMethods | ||
* @return mixed | ||
*/ | ||
public function execute( | ||
string $paymentData, | ||
?string $guestMaskedId = null, | ||
?string $adyenMaskedQuoteId = null, | ||
string $deliveryMethods = '' | ||
): string; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.