-
Alexandros Moraitis authored
* 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: marcoss <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: marcoss <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: Ángel Campos <angel.campos@adyen.com> * Fix code smells * Fix removed dependency Co-authored-by: Á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: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> Co-authored-by: Ángel Campos <angel.campos@adyen.com> Co-authored-by: marcoss <marcos.silvagarcia@adyen.com> Co-authored-by: Marcos Garcia <marcos.asgarcia@gmail.com> Co-authored-by: attilak <attila.kiss@adyen.com>
10062ad9
Analyzing file…