We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

  • Rik ter Beek's avatar
    [PW-2087] Add Swish Payment Method and upgrade Component version to 3.4.0 This... · f2c67bb3
    Rik ter Beek authored
    [PW-2087] Add Swish Payment Method and upgrade Component version to 3.4.0 This commit has the following changes: (#770)
    
    * [PW-2087] This commit has the following changes:
    * With the added environment into the component is does not mather if we use the test or live component url. To remove complexity we will use the live endpoint on both environments.
    * Upgrade component version from 3.2.0 to 3.4.0. This requires a different way of loading in the component. This will change all payment method integration that is using checkout component.
    * Add swish payment method support with support for pending payment results and redering a QR code.
    * Environment and originKey is now as well needed for alternative payment methods so moved this into a genericConfigProvider.
    * The threeDS2processor is being used for 3DS2 and action payment methods. TODO we need to rename this to a generic name into the code this will mean a breaking change as interface will rename and PWA needs to adopt different API endpoint as this is a quick feature release I kept it out of scope.
    * Rename threeDS2PaymentData to generic adyenPaymentData as this will be used for alternative payent methods as well.
    * Remove unused ThreeDS2ResponseValidator file
    
    * fix phpcs warning
    
    * Remove duplicated getCheckoutEnvironment function
    
    * Update view/frontend/web/js/view/payment/method-renderer/adyen-hpp-method.js
    
    * remove debugger and add comment
    
    * Update view/frontend/web/js/view/payment/adyen-methods.js
    
    * Update Model/AdyenThreeDS2Process.php
    
    * revert hideCVC for recurring contracts needed to hide
    
    * Only for pending show back the component to the checkout form. For PresentToShopper redirect to success page to show action component.
    Co-authored-by: default avatarattilak <attila.kiss@adyen.com>
    Co-authored-by: default avatarAttila Kiss <42297201+cyattilakiss@users.noreply.github.com>
    f2c67bb3
AdyenThreeDS2Process.php 6.92 KB