1. 10 Nov, 2020 2 commits
    • alexandros's avatar
    • Attila Kiss's avatar
      [PW-3131] Use generic component for alternative payment methods (#843) · 18a51807
      Attila Kiss authored
      * 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>
      18a51807
  2. 27 Oct, 2020 1 commit
    • attilak's avatar
      Merge branch 'develop' into generic-component · 8cf53d82
      attilak authored
      # Conflicts:
      #	Block/Redirect/Redirect.php
      #	Controller/Process/Redirect.php
      #	Gateway/Validator/CheckoutResponseValidator.php
      #	view/frontend/layout/adyen_process_redirect.xml
      #	view/frontend/templates/redirect/redirect.phtml
      8cf53d82
  3. 22 Oct, 2020 4 commits
  4. 14 Oct, 2020 1 commit
  5. 09 Oct, 2020 4 commits
  6. 08 Oct, 2020 2 commits
  7. 07 Oct, 2020 2 commits
  8. 06 Oct, 2020 2 commits
    • Attila Kiss's avatar
      [PW-3174] Use the generic component for card payments (#840) · 14c25f45
      Attila Kiss authored
      * 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
      14c25f45
    • Alexandros Moraitis's avatar
      [PW-3127] Validate payment methods (#838) · 89409fb6
      Alexandros Moraitis authored
      * payment methods response validation
      
      * Remove getConnectedTerminals
      
      * Refactor
      
      * Fix suggestions
      
      * Refactor paymentmethods
      
      * Refactor method names
      
      * Refactor payment method request
      89409fb6
  9. 05 Oct, 2020 2 commits
  10. 02 Oct, 2020 2 commits
  11. 01 Oct, 2020 1 commit
  12. 30 Sep, 2020 1 commit
  13. 29 Sep, 2020 1 commit
  14. 24 Sep, 2020 4 commits
  15. 22 Sep, 2020 1 commit
  16. 21 Sep, 2020 1 commit
  17. 17 Sep, 2020 6 commits
  18. 16 Sep, 2020 1 commit
  19. 14 Sep, 2020 1 commit
    • Marcos Garcia's avatar
      Fix for Vault with 3DS2 Credit Cards (#814) · 7965a329
      Marcos Garcia authored
      The VaultDetailsHandler object is not called when processing 3DS2 payments. To make it so, this commit extracts the logic of storing the info to Vault and reuses that both in the Handler and in the 3DS2 Process.
      7965a329
  20. 11 Sep, 2020 1 commit