Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 8.7.0 #1750

Merged
merged 21 commits into from
Oct 7, 2022
Merged

Release 8.7.0 #1750

merged 21 commits into from
Oct 7, 2022

Commits on Sep 26, 2022

  1. Configuration menu
    Copy the full SHA
    94bf57a View commit details
    Browse the repository at this point in the history
  2. [PW-6969] Fix External Platform Integrator to Adyen. (#1727)

    * [PW-7119] Add configuration to magento admin to setup the live domain file for Applepay.
    
    * [PW-6969] Add Adyen as External Platform Integrator for native Magento Plugin
    
    * Revert "[PW-7119] Add configuration to magento admin to setup the live domain file for Applepay."
    
    This reverts commit ede4081.
    
    * Update Helper/Data.php
    
    Change from double to single quotes and add a space for cleanliness.
    
    Co-authored-by: Jeantwan Teuma <Morerice@users.noreply.github.com>
    
    Co-authored-by: Jeantwan Teuma <Morerice@users.noreply.github.com>
    raoulritter and Morerice committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    fab3b4d View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2022

  1. PW-7197: Display merchant ID instead of name (#1728)

    * PW-7197: Fallback to merchant ID when name is undefined
    
    * PW-7197: Aways display ID
    
    Co-authored-by: Jeantwan Teuma <Morerice@users.noreply.github.com>
    michaelpaul and Morerice committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    42b1fa1 View commit details
    Browse the repository at this point in the history
  2. [PW-7229] Do a clean install for E2E tests (#1725)

    * Do a clean install for E2E tests
    
    * Remove condition on saving test artifacts
    
    * Revert the conditional removal for keeping the artifacts
    
    Co-authored-by: cenkk <cenk.kucukiravul@adyen.com>
    Co-authored-by: Jeantwan Teuma <Morerice@users.noreply.github.com>
    3 people committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    b46b2ef View commit details
    Browse the repository at this point in the history
  3. PW-7195 Add new e2e workflow for integration tests (#1730)

    Co-authored-by: cenkk <cenk.kucukiravul@adyen.com>
    cenkiravul and cenkk committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    9c1835c View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2022

  1. [PW-7189] - Disable cross button and ESC key on action modal (#1731)

    * [PW-7189] - Disable cross button and ESC key on action modal
    
    * [PW-7189] - Code formatting
    candemiralp committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    bf2c87b View commit details
    Browse the repository at this point in the history
  2. [PW-7195] Add dynamic naming for E2E workflows (#1733)

    * Rename e2e workflow upon request
    
    * Add dynamic naming for workflow run
    
    * Update docker image version of Playwright
    
    Co-authored-by: Cenk Kucukiravul <cenk.kucukiravul@adyen.com>
    cenkiravul and Cenk Kucukiravul committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    c636a3a View commit details
    Browse the repository at this point in the history
  3. [PW-7032] Add unit tests for Adyen Order Payment helper (#1732)

    * add test for isFullAmountFinalized - immediate capture
    
    * [PW-7208] Update adyen method call for virtual products (#1716)
    
    * Update adyen method call for virtual products
    
    * Remove checking for shipping adress before doing the payment methods call
    
    Co-authored-by: Jeantwan Teuma <Morerice@users.noreply.github.com>
    Co-authored-by: Peter Ojo <peterojo@users.noreply.github.com>
    
    * Version bump 8.6.0
    
    * [PW-7147] Handle Capture Requests triggered from Customer Area (#1714)
    
    * create adyen and magento invoice from webhook if captured manually in CA
    
    * remove code smells
    
    * throw exception if adyen_invoice null and canInvoice is false
    
    * throw exception in case of CA initiated partial manual capture
    
    * use AdyenWebhookException instead of a generic one
    
    * rename method
    
    Co-authored-by: Can Demiralp <ecandemiralp@gmail.com>
    
    * use renamed method
    
    Co-authored-by: Can Demiralp <ecandemiralp@gmail.com>
    
    * update $adyenInvoice
    
    Co-authored-by: Michael Paul <michael.paul@adyen.com>
    
    * resolve merge conflicts
    
    * get rid of code smells
    
    * remove final code smells
    
    * use $adyenInvoiceObject instead of $adyenInvoice
    
    * remove code smell
    
    Co-authored-by: Can Demiralp <ecandemiralp@gmail.com>
    Co-authored-by: Michael Paul <michael.paul@adyen.com>
    Co-authored-by: Peter Ojo <peterojo@users.noreply.github.com>
    
    * refactor the way we are building mock AdyenOrderPaymentHelper, fix testCreateAdyenOrderPayment
    
    * setup testIsFullAmountAuthorized()
    
    * add testIsFullAmountNotFinalizedManualCapture() and testIsFullAmountAuthorized()
    
    * setup testRefundAdyenOrderPayment()
    
    * remove code smells
    
    * align params - code smell
    
    * fix testRefundAdyenOrderPayment
    
    Co-authored-by: Alexandros Moraitis <alexandros.moraitis@adyen.com>
    Co-authored-by: Jeantwan Teuma <Morerice@users.noreply.github.com>
    Co-authored-by: Peter Ojo <peterojo@users.noreply.github.com>
    Co-authored-by: peterojo <peter.ojo@adyen.com>
    Co-authored-by: Can Demiralp <ecandemiralp@gmail.com>
    Co-authored-by: Michael Paul <michael.paul@adyen.com>
    7 people committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    2479621 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

  1. Configuration menu
    Copy the full SHA
    05cad3d View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2022

  1. Update ManagementHelper.php (#1738)

    Co-authored-by: Jeantwan Teuma <Morerice@users.noreply.github.com>
    tigrensolutions and Morerice committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    55c7235 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8a76889 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2022

  1. Recurring payments added functionality (#1729)

    * PW-6764 - Delete TransactionAuthorization class and start using checkout to process payments using vault tokens
    
    * PW-6764 - Create new AdyenPaymentMethod model, repository and data patch
    
    * PW-6764 - Move function to build payment method recurring data to vault helper. Also create ResourceModel
    
    * PW-6764 - Add try catch block to function in Vault
    
    * PW-6764 - Save paypal token in vault table
    
    * PW-6764 - Create new exception. Add creation logic to CheckoutPaymentsDetailsHandler. Move validation in the getVaultPaymentMethodToken function
    
    * PW-6764 - Do not force exception
    
    * PW-6764 - Create function to check if recurringDetailReference is included in response
    
    * PW-6764 - Update AdyenHppObserver to add string in additionalData to ensure that token is visible, IF it is eventually created
    
    * PW-6764 - Setup functionality to display a payment method in the checkout page
    
    * PW-6764 - Create new paymentMethodVault which will be used to ensure that for hpp tokens, no initialization is required
    
    * PW-6764 - Create PayPal tokens w/type=Account and the brand in the details column
    
    * PW-6764 - Update PaymentMethodRenderer
    
    * PW-6764 - Add exception handling around createAdyenPaymentMethod function
    
    * PW-6764 - Create new vault data builder to be used for hpp methods. Also save the tokenType when it is created and then re-use it when token is to be re-used
    
    * PW-6764 - Add functionality to only CardOnFile payment method tokens, in checkout
    
    * PW-6764 - Add instantPurchase functionality to Payment Methods
    
    * PW-6764 - Add SEPA
    
    * PW-6764 - Update admin tooltip. Rename functions in Vault helper to make it clear which one is used for what
    
    * PW-6764 - Update label shown in checkout page
    
    * PW-6764 - Run upgrade scripts on newer version
    
    * PW-6764 - Create new observer which will call Adyen to disable a token, after it is disabled on magento side
    
    * PW-6764 - Add exception handling to disable call
    
    * PW-6764 - Update shopper template
    
    * PW-6764 - Add function to check if provider is a recurring one and use it to send the shopper interaction
    
    * PW-6764 - Split enableRecurring in payment methods to enableSubscription And enableCardOnFile. Use either, depending on what token type is in use
    
    * PW-6790 - Move functionality to get the creditcard types to the paymentMethods Helper. Also create new payment method class for googlepay
    
    * PW-6790 - Create new parent uiComponentProvider to be able to render the card provider even in the hpp provider (used for googlepay, applepay)
    
    * PW-6790 - Render card tokens created with googlepay in the card section, on the user page
    
    * PW-6790 - Remove useless methods from PaymentMethodInterface
    
    * PW-6790 - Add token handling in the PaymentResponseHandler and update vault to not need the object payment method
    
    * PW-6790 - Add isWallet function and use it for GooglePay
    
    * PW-6790 - Add Apple pay classes
    
    * PW-6790 - Create Abstract token formatter for instantPurchase, to show card formatting if a wallet payment (googlepay) was used
    
    * PW-6790 - Update admin area tooltip
    
    * PW-6790 - Remove unnecessary dependencies
    
    * PW-6790 - Remove RecurringPmVaultDataBuilder and use the normal vault data builder instead
    
    * PW-6790 - Remove SEPA related code that was previously unused
    
    * [PW-6858] Add multiselect config for selecting which PMs to tokenize (#1605)
    
    * [PW-6858] add config for selecting payment methods that should be tokenized
    
    * [PW-6858] remove adyenpaymentmethods patch script
    
    * [PW-6858] update property declaration syntax to support php 7.3
    
    * Add UnscheduledCardOnFile for alternative payment methods (#1612)
    
    * [PW-6910] Add functionality to tokenize AmazonPay payments (#1621)
    
    * Add amazon pay payment method
    
    * Add the payment method from statedata
    
    * Update statedata property name as there is another statedata in the same class
    
    * Add get variant method to statedata helper
    
    * [PW-6974] - Handle tokenizations on wallet methods with the correct txVariant  (#1668)
    
    * PW-6974 - Refactor payment method classes by creating a TxVariant class and an AbstractWalletPaymentMethod
    
    * PW-6974 - Move functionality from CheckoutPaymentsDetailsHandler to VaultDetailsHandler. Update Vault function to save card type and wallet type
    
    * PW-6974 - Update paymentMethod factory
    
    * PW-6974 - Remove isWalletPaymentMethod function and instead check the instance of the object
    
    * PW-6974 - Add comment to admin interface
    
    * PW-6974 - Move IS_ACTIVE flag to vault handler. Also do not allow ApplePay to be selected for now, since it cannot be tested yet
    
    * PW-6974 - Update comment
    
    * PW-6974 - Remove SEPA specific field when handling webhook
    
    * PW-6974 - Add signature to files
    
    * [PW-6785] - Coverage report for SonarCloud (#1665)
    
    * [PW-6785] - Coverage report for SonarCloud
    
    * [PW-6785] - Coverage report for SonarCloud
    
    * [PW-6785] - Coverage report for SonarCloud
    
    * [PW-6785] - Coverage report for SonarCloud
    
    * [PW-6785] - Coverage report for SonarCloud
    
    * [PW-6785] - Coverage report for SonarCloud
    
    * [PW-6785] - Coverage report for SonarCloud
    
    * [PW-6785] - Coverage report for SonarCloud
    
    * [PW-6785] - Coverage report for SonarCloud
    
    * [PW-6785] - Refactor phpunit.xml for configuration and main.yml for pipeline
    
    * [PW-6785] - Add sonar-project.properties file
    
    * [PW-6785] - Remove sonar analysis from CI
    
    * [PW-6785] - Remove unnecessary dependencies
    
    * [PW-6785] - Coverage test function
    
    * [PW-6785] - Enable CI based sonar analysis
    
    * [PW-6785] - Code formatting
    
    * [PW-6785] - Temporarily disable PHP8.1 matrix
    
    * [PW-6785] - Change allowed list for scan
    
    * [PW-6785] - Change allowed list for scan
    
    * [PW-6785] - Exclude vendor directory from sonar analysis
    
    * [PW-6785] - Remove the filter for sonar analysis and include all the project files
    
    * [PW-6785] - Revert commits 6f6ca5d and bd74dd3
    
    * [PW-7021] - Add failure counter for pay by link attempts (#1667)
    
    * [PW-7021] - Add failure counter for pay by link attempts
    
    * Update Helper/Webhook/AuthorisationWebhookHandler.php
    
    Co-authored-by: Michael Paul <michael.paul@adyen.com>
    
    * Update Helper/Webhook/AuthorisationWebhookHandler.php
    
    Co-authored-by: Michael Paul <michael.paul@adyen.com>
    
    * [PW-7021] - Code formatting
    
    Co-authored-by: Michael Paul <michael.paul@adyen.com>
    
    * Revert "[PW-6785] - Coverage report for SonarCloud (#1665)" (#1671)
    
    This reverts commit f053b6f.
    
    * Fix issue where CC vault tokens were not being created
    
    * [PW-7100] Add CardOnFile and UnshceduledCardOnFile to Vault Card (#1693)
    
    * update recurring_card_token_type in adyen_oneclick to show all contract types if vault is selected
    
    * abstract recurring type value passed to buildCardRecurringData(), save tokenType in details field
    
    * update TokenUiComponentProvider to display token if condition is met
    
    * cleanup comment in the header
    
    * add new template an js file for vault
    
    * add interceptor that returns filtered customer session tokens
    
    * remove banner
    
    Co-authored-by: Michael Paul <michael.paul@adyen.com>
    
    * remove comment
    
    * update unit tests
    
    * use different function for checking whether the value for tokenType is set
    
    Co-authored-by: Jeantwan Teuma <Morerice@users.noreply.github.com>
    
    * update tooltip for adyen_oneclick
    
    Co-authored-by: Jeantwan Teuma <Morerice@users.noreply.github.com>
    
    * update return type of afterGetCustomerSessionTokens function
    
    Co-authored-by: Michael Paul <michael.paul@adyen.com>
    Co-authored-by: Jeantwan Teuma <Morerice@users.noreply.github.com>
    
    * [PW-7179] - Adjust vault tokenization functionality (#1709)
    
    * PW-7179 - Re-add parent AdyenUiComponentProvider
    
    * PW-7179 - Check if property exists before checking type
    
    * PW-7179 - Fix issue created in merge commit and update PaymentVaultDeleteToken
    
    * PW-7179 - Do not show ApplePay and AmazonPay for now. Also add to do annotations for them
    
    * [PW-7157]Add India live prefix for frontend (#1708)
    
    * Add India live prefix for frontend
    
    * revert adyen-methods.js
    
    Co-authored-by: Jeantwan Teuma <Morerice@users.noreply.github.com>
    
    * PW-7179 - Move tooltip to comment
    
    * PW-7129: Remove full request/response logging (#1712)
    
    * PW-7129: Remove full request/response logging
    
    Add new log processors to help with troubleshooting.
    
    * PW-7129: Use context placeholders
    
    * Adding number format to getAmountIncludingTax in test (#1715)
    
    * Adding number format to getAmountIncludingTax in test
    
    * Apply number format on getTaxAmount
    
    Co-authored-by: Alexandros Moraitis <alexandros.moraitis@adyen.com>
    Co-authored-by: Michael Paul <michael.paul@adyen.com>
    Co-authored-by: Ángel Campos <angel.campos@adyen.com>
    
    * recurring-changes - Remove unused paymentMethodsHelper
    
    * Remove duplicate AdyenPaymentHppFacade
    
    * Update formatting due to code smells
    
    * More updates related to code smells
    
    Co-authored-by: Peter Ojo <peterojo@users.noreply.github.com>
    Co-authored-by: Alexandros Moraitis <alexandros.moraitis@adyen.com>
    Co-authored-by: Can Demiralp <ecandemiralp@gmail.com>
    Co-authored-by: Michael Paul <michael.paul@adyen.com>
    Co-authored-by: Rok Popov Ledinski <rok.popovledinski@adyen.com>
    Co-authored-by: Ángel Campos <angel.campos@adyen.com>
    7 people committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    61f70f6 View commit details
    Browse the repository at this point in the history
  2. [PW-7268] Change the way we are comparing payment amounts in handleCa…

    …ptureWebhook() (#1751)
    
    * use formatAmount() on $order and change comparison for $isFullAmountCaptured
    
    * remove code smell
    RokPopov committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    67b11c4 View commit details
    Browse the repository at this point in the history
  3. [PW-7214] - Implement combo card funding source selection for POS pay…

    …ments in the frontend (#1749)
    
    * [PW-7214] - Implement combo card funding source selection for POS payments in the frontend
    
    * [PW-7214] - Code formatting
    
    * [PW-7234] - CS code formatting
    
    Co-authored-by: Jeantwan Teuma <Morerice@users.noreply.github.com>
    candemiralp and Morerice committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    13f94dd View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2022

  1. Configuration menu
    Copy the full SHA
    0c9358c View commit details
    Browse the repository at this point in the history
  2. PW-7278 Fix HPP Naming for Ratepay (#1757)

    * [PW-7278] Fix Ratepay Name in Admin HTML
    raoulritter committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    0859ad4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8b899ac View commit details
    Browse the repository at this point in the history
  4. Version bump

    candemiralp committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    6c711f6 View commit details
    Browse the repository at this point in the history
  5. [PW-7234] - Update regular expression for address parsing (#1753)

    * [PW-7234] - Update regular expression
    
    * [PW-7234] - Update regex condition
    
    * [PW-7234] - Update regex
    
    * [PW-7234] - Update regex
    
    * [PW-7234] - Code formatting
    
    * [PW-7234] - Code formatting
    
    * [PW-7234] - Update regex
    
    Co-authored-by: Alexandros Moraitis <alexandros.moraitis@adyen.com>
    candemiralp and AlexandrosMor committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    1daaab0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    736cb8b View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2022

  1. Configuration menu
    Copy the full SHA
    c133886 View commit details
    Browse the repository at this point in the history