• Attila Kiss's avatar
    7.0.0-rc.1 changes (#922) · 769f2ee6
    Attila Kiss authored
    * [PW-2029] Configuration to charge orders based on storeview or global currency (#851)
    
    * [PW-2029] New charged currency config field
    
    * [PW-2029] Charged currency default value
    
    * [PW-2029] Charged currency config getter
    
    * [PW-2029] Removing unused setOpenInvoiceData() in Redirect block class
    
    * [PW-2029] New charged currency column for sales_order table
    
    * [PW-2029] Event observer to save order's charged currency for future use in refunds
    
    * [PW-2029] ChargedCurrency.php helper class for orders, quotes, stores and refunds
    
    * [PW-2029] Using the ChargedRefund helper
    
    * [PW-2029] Fix broken unit test because of new AdyenInitiateTerminalApi dependency
    
    * [PW-2029] AdyenAmountCurrency model
    
    * [PW-2029] Using AdyenAmountCurrency model
    
    * [PW-2029] Adding discount and tax amount for items in ChargedCurrency model
    
    * [PW-2029] Setting discount and tax amount for items
    
    * [PW-2029] Getting tax and discount amount for items in CheckoutDataBuilder
    
    * [PW-2029] Adjusting CaptureDataBuilder to use new AmountCurrency model
    
    * [PW-2029] ChargedCurrency php docs
    
    * [PW-2029] Removing use statements from AdyenSalesOrderChargedCurrencyObserver
    
    * [PW-2029] Saving base or display in adyen_charged_currency instead of currency code on order placement
    
    * [PW-2029] Using new AdyenAmountCurrency model
    
    * [PW-2029] AdyenAmountCurrency for partial PBM
    
    * [PW-2029] AdyenAmountCurrency in Capture and Refund builders
    
    * [PW-2029] Renaming orderAmount var for code smell
    
    * [PW-2029] Removing redundant boolean literal
    
    * Version 7.0.0 bump
    
    * [PW-2029] Extra usages of ChargedCurrency helper
    
    * [PW-2029] Removed charged currency config field from admin panel
    
    * [PW-2029] Adjusting usage of currency in Cron.php
    
    * [PW-2029] Code styling
    
    * Fix phpcs
    Co-authored-by: default avatarattilak <attila.kiss@adyen.com>
    
    * [PW-3431] Merge generic component to 7.0.0-rc.1 (#888)
    
    * Add bundle.js with checkout component version 3.12.1 (#828)
    
    Add the AdyenComponent var in the requireJS paramas
    
    * [PW-3133] Refactor threeds2 to paymentDetails (#829)
    
    * Refactor threeds2 to paymentDetails
    
    * paymentDetails.paymentDetails -> paymentDetails.process
    
    * [PW-3136]Processing generic payment details requests (#835)
    
    * Processing generic payment details requests
    Co-authored-by: default avatarmarcoss <marcos.silvagarcia@adyen.com>
    
    * [PW-3137] Refactor Payment Status endpoint (#839)
    
    * [PW-3127] Validate payment methods (#838)
    
    * payment methods response validation
    
    * Remove getConnectedTerminals
    
    * Refactor
    
    * Fix suggestions
    
    * Refactor paymentmethods
    
    * Refactor method names
    
    * Refactor payment method request
    
    * [PW-3174] Use the generic component for card payments (#840)
    
    * Use bundle instead of the component
    
    * Store action and additionalData from /payments response
    
    * [WIP] handle paymentDetails for card payments
    
    * Remove custom redirect page
    
    The checkout redirect component does the redirect for both 3DS1(now) and
    alternative payment(WIP)
    
    * Store and return details
    
    Store action, resultCode, additionalData, pspReference, nad paymentData
    
    * Show challenge in a popup for 3DS2
    
    * [PW-3180] Remove generalResponseValidator (#841)
    
    * Use bundle instead of the component
    
    * Store action and additionalData from /payments response
    
    * [WIP] handle paymentDetails for card payments
    
    * Remove custom redirect page
    
    The checkout redirect component does the redirect for both 3DS1(now) and
    alternative payment(WIP)
    
    * Store and return details
    
    Store action, resultCode, additionalData, pspReference, nad paymentData
    
    * Show challenge in a popup for 3DS2
    
    * Remove GeneralResponseValidator.php
    
    Change wrong phpdocs as well
    
    * Use Generic Components for Google Pay (#845)
    Co-authored-by: default avatarmarcoss <marcos.silvagarcia@adyen.com>
    
    * [PW-3131] Use generic component for alternative payment methods (#843)
    
    * Remove methodlist
    
    * Remove payment-details.js and move request into the service.js
    
    * Rename retrieveAvailablePaymentMethods to getPaymentMethods
    
    and return a promise instead of setting the methods when done
    
    * Remove threeds2-js-utils.js and usage
    
    * Add adyen-configuration.js
    
    * Initialize checkout component and store it
    
    * Use the new paymentMethods response from the component
    
    * Move logic from CcAuthorizationDataBuilder to CheckoutDataBuilder
    
    Remove CcAuthorizationDataBuilder.php
    
    * require php api library version 8
    
    Use checkout API v64 instead of 52
    Use the new services from the library since v7
    
    * Move logic from ThreeDS2DataBuilder to CheckoutDataBuilder
    
    Remove ThreeDS2DataBuilder.php
    
    * Simplify adyen-cc-method.js
    
    Send the whole state.data in 1 request field instead of manually mapping
    
    * Adjust adyen-payment-service to multi payment method structure
    
    the onAdditionalData callback can be handled only from the main
    adyenCheckout component therefore it cannot be created in one central
    place but in each payment method renderer
    
    * Adjust the AdyenCcDataAssignObserver to handle the full state data
    
    * Update generic component to the latest bundle
    
    * Fix 3DS1 response in CheckoutResponseValidator.php
    
    We don't need to map fields and store each field individually
    
    * Standardise cc and alternative payment methods observers
    
    Validate the top level keys in state.data from the checkout component
    Store additionalData fields in additionalInformation
    
    * Use state.data validated array for the /payments request
    
    Do not map each field in the request from additionalInformation but use
    the validated state.data array as a base request
    
    * Standardise alternative payment methods frontend
    
    Do not create checkout components one by one but while iterating through
    the paymentMethods list
    Build state.data for payment methods which has no component created
    Prefill component input fields with data the plugin already know
    Remove unused code
    
    * Remove line item itemId from checkout requests
    
    Version 64 does not support it anymore
    
    * Adjust personal details request structure to checkout version 64
    
    Open invoice payment methods required a different request structure
    before, in version 64 it has been standardised and enforced
    
    * Make paymentMethods array observable
    
    Update payment methods list when shipping address country is changed
    Rerender payment methods list on the frontend when paymentMethods array
    changes
    
    * Update view/frontend/web/js/model/adyen-configuration.js
    Co-authored-by: default avatarÁngel Campos <angel.campos@adyen.com>
    
    * Fix code smells
    
    * Fix removed dependency
    Co-authored-by: default avatarÁngel Campos <angel.campos@adyen.com>
    
    * Fix bug sonar after sonarcloud check
    
    * Add legend field
    
    * Add legend field in the correct place
    
    * Update Helper/Requests.php
    Co-authored-by: default avatarAttila Kiss <42297201+cyattilakiss@users.noreply.github.com>
    Co-authored-by: default avatarAttila Kiss <42297201+cyattilakiss@users.noreply.github.com>
    Co-authored-by: default avatarÁngel Campos <angel.campos@adyen.com>
    Co-authored-by: default avatarmarcoss <marcos.silvagarcia@adyen.com>
    Co-authored-by: default avatarMarcos Garcia <marcos.asgarcia@gmail.com>
    Co-authored-by: default avatarattilak <attila.kiss@adyen.com>
    
    * [PW-3130] Use the generic component for stored payment methods (#919)
    
    * Tokenize payment methods in payment response handler
    
    Do not save recurring details "manually" for /payments/details response
    
    * Standardise Oneclick Observer
    
    * Use generic component for recurring payments
    
    * sonarcloud suggestions
    
    * Remove unused div
    
    * Bump version to 7.0.0-rc.1
    
    * [PW-3111] Use getOrigin helper function for returnUrl parameter in redirect controller (#924)
    
    * Add PWA origin for the getRedirectUrl() in the transparent redirect
    
    Add support for PWA dedicated frontend urls per store
    
    * Add query when redirecting to the result controller
    
    * Delete Redirect.php - not used anymore
    
    * Add merchant reference in the return url as get param to support PWA
    
    * Store details in the payment additional information object
    
    * [WIP] use result as a generic handler for redirects
    
    Validate all the redirects via payments/details
    Validate the parameters for payments/details with the details list from
    the first payments response
    
    * [WIP] use result as a generic handler for redirects
    
    * Update Controller/Process/Result.php
    Co-authored-by: default avatarÁngel Campos <angel.campos@adyen.com>
    Co-authored-by: default avatarÁngel Campos <angel.campos@adyen.com>
    
    * FIxes while retesting (#928)
    
    * Remove unused legend
    
    * Add support for bcmc separate component
    
    * Fix google pay
    
    * Fix Google pay terms and conditions validation
    
    * handle 3DS1 with Google pay (#930)
    
    * Close popup when payment failed
    
    * Fetching currency code for payment methods call (#931)
    
    * Do not render modal when it is only a redirect component (#932)
    
    * New version to trigger upgrade scripts is 7.0.0 (#933)
    
    * Adding charged currency hidden config field (#935)
    Co-authored-by: default avatarÁngel Campos <angel.campos@adyen.com>
    Co-authored-by: default avatarAlexandros Moraitis <alexandros.moraitis@adyen.com>
    Co-authored-by: default avatarmarcoss <marcos.silvagarcia@adyen.com>
    Co-authored-by: default avatarMarcos Garcia <marcos.asgarcia@gmail.com>
    769f2ee6
AdyenHppConfigProvider.php 5.01 KB