- 01 Sep, 2020 1 commit
-
-
Ángel Campos authored
* Remove X-forwarded-for header and IP whitelisting/ HMAC is in different configuration (#784) * Seperate the config ip check and hmac check * Remove x-forwared-for * Add explode to ipAddress array to fetch the first one * Add config cache tag to origin keys cache (#781) Changing the config (merchantAccount, sandbox mode, HMAC, etc) and clearing the config cache will also clear the originKeys cache. Fixes #777 * [PW-2567] Guest checkout tokenisation (#788) * Add check to guest user * Create the uuid with orderId * Update Helper/Requests.php Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> * remove the guest_checkout_tokenize from config.xml Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> * avoid setting order state to NULL (#778) This may happen when setting a status that is not default for a state. Fixes Adyen/adyen-magento2#384 Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> * Fix swish payment methods when running it with the swish app (#793) * For some payment methods like swish with resultCode pending we store this into the property adyenPaymentData instead of paymentData. Check if adyenPaymentData exists if so add this as paymentData in request. This will solve issues for Swish payment method. We need to refactor a lot of code to make everywhere to use consistency in the naming this will be a separate story to be picked up. * Update Controller/Process/Result.php * Update Controller/Process/Result.php * Update Controller/Process/Result.php Co-authored-by: Alessio Zampatti <alessio.zampatti@adyen.com> Co-authored-by: Ángel Campos <angel.campos@adyen.com> Co-authored-by: Alessio Zampatti <alessio.zampatti@adyen.com> * [PW-2913] Adding redirect data builder to CC authorize requests (#799) * [PW-2913] Adding redirect data builder to CC authorize requests * Adding termUrl to redirect form * Adding termUrl to redirect form * Update Gateway/Validator/CheckoutResponseValidator.php Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> * [PW-2913 ] Adjusting Redirect controller for new 3DS1 flow * Removing redirect data builder from AdyenPaymentCcVaultAuthorizeRequest Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> * Fixing tokenization typo (#803) * Fetch country id from order address instead of country (#792) OrderAddressInterface does not contain getCountry method Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> * add setting for payment origin (for pwa integrations) (#786) * add setting for payment origin (for pwa integrations) * Improve payment origin field tooltip Co-authored-by: Ángel Campos <acampos1916@gmail.com> * Add missing parameter to getOrigin Missing parameter $storeId in Helper/Data getOrigin to add external payment origin Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> * Add @param to getOrigin docs * Fix typo in field comment Co-authored-by: Alessio Zampatti <gigendh@gmail.com> * Add $storeId parameter to getOrigin call Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> Co-authored-by: Ángel Campos <acampos1916@gmail.com> Co-authored-by: Alessio Zampatti <gigendh@gmail.com> * use adyen helper to create adyen checkout service (#789) This is just so we can use a plugin on `createAdyenCheckoutService` class, which we currently cannot do because of `new`. Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> * 6.5.0 version bump * Adding storeId param to getOrigin() calls (#806) Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> Co-authored-by: Alexandros Moraitis <alexandros.moraitis@adyen.com> Co-authored-by: Richard Bayet <2353374+rbayet@users.noreply.github.com> Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> Co-authored-by: Ermanno Baschiera <ebaschiera@gmail.com> Co-authored-by: Rik ter Beek <rikterbeek@users.noreply.github.com> Co-authored-by: Alessio Zampatti <alessio.zampatti@adyen.com> Co-authored-by: Jeroen <jeroen@reachdigital.nl> Co-authored-by: Pablo Giralt <pablogiralt@gmail.com> Co-authored-by: Alessio Zampatti <gigendh@gmail.com> Co-authored-by: Daniel Sloof <goapsychadelic@gmail.com>
-
- 31 Jul, 2020 1 commit
-
-
Alexandros Moraitis authored
Release 6.4.0
-
- 30 Jul, 2020 2 commits
-
-
alexandros authored
-
Rik ter Beek authored
* [PW-2390] Add action component on success page if presentToShopper and Action result is provided. * Added a adyenCheckout3101 requireJS variable to use latest component version. This we can use for all new payment method integrations or upgrades. * Success block loads all values needed for the component * Success page renders the component * Layout renders the styles.css file for showing the component with the right styling * Update view/frontend/templates/checkout/success.phtml Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> * Update view/frontend/templates/checkout/success.phtml Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> * Update view/frontend/templates/checkout/success.phtml Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> * remove empty lines * remove escapeHTML as it is json causing the JSON.parse to fail * Update view/frontend/templates/checkout/success.phtml * Update view/frontend/templates/checkout/success.phtml 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: Marcos Garcia <marcos.asgarcia@gmail.com>
-
- 29 Jul, 2020 1 commit
-
-
Vitaliy Ryaboy authored
* refs #756: fix PaymentMethod::getCurrentPaymentAmount * fix typo * refs #756: implemente CR feedback * Update Helper/PaymentMethods.php * Update Helper/PaymentMethods.php Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com> Co-authored-by: Alexandros Moraitis <alexandros.moraitis@adyen.com>
-
- 23 Jul, 2020 1 commit
-
-
Rik ter Beek authored
Release 6.3.0
-
- 22 Jul, 2020 3 commits
-
-
rikt authored
-
Rik ter Beek authored
* fix payment method POS * Remove unreachable code Co-authored-by: Marcos Garcia <marcos.asgarcia@gmail.com>
-
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: attilak <attila.kiss@adyen.com> Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com>
-
- 13 Jul, 2020 2 commits
-
-
Vitaliy Ryaboy authored
Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com>
-
Attila Kiss authored
Release 6.2.1
-
- 07 Jul, 2020 1 commit
-
-
attilak authored
-
- 03 Jul, 2020 3 commits
-
-
Attila Kiss authored
-
Attila Kiss authored
Filter out children from invoice item collection
-
Attila Kiss authored
-
- 02 Jul, 2020 3 commits
-
-
attilak authored
-
Marcos Garcia authored
When setting the plugin to capture on shipment, the capture is not actually happening. This is because the invoice is not configured on how to manage the capture process (online or offline). This commit provides the invoice object with information about the capture mode.
-
Marcos Garcia authored
Instead of using a big nest of ifs and try-catch, this makes use of early returns to leave the bulk of the logic readable. It also adds some logging to the class. Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com>
-
- 01 Jul, 2020 1 commit
-
-
Ángel Campos authored
-
- 30 Jun, 2020 1 commit
-
-
attilak authored
-
- 29 Jun, 2020 2 commits
-
-
Ángel Campos authored
-
Ángel Campos authored
-
- 26 Jun, 2020 5 commits
-
-
Attila Kiss authored
Release 6.2.0
-
acampos1916 authored
-
attilak authored
-
Attila Kiss authored
-
Attila Kiss authored
* Remove unused ResultPos.php * Improve username password validation when accepting notifications * [PW-2387]: IP validation implementation (#713) * [PW-2387]: IP address cache config, cronjob and notification check * [PW-2387]: Removing unrelated files * [PW-2387]: Removing unrelated files * [PW-2387]: Newlines * [PW-2387]: Replacing PHPUnit functions * [PW-2387]: Formatting * Update etc/adminhtml/system/adyen_security.xml Co-authored-by: cyattilakiss <42297201+cyattilakiss@users.noreply.github.com> * [PW-2387]: Adding log message when there's no IP addresses in cache * [PW-2387]: Updating IP addresses in cache on notification-receving * [PW-2387]: Adjusting unit tests for IpAddress class * [PW-2387]: Adjusting unit tests for IpAddress class * PHP API Library version Co-authored-by: cyattilakiss <42297201+cyattilakiss@users.noreply.github.com> * [PW-2385] - Use mandatory HMAC validation for notifications (#716) * Initial commit * Add the event codes list * Remove debug statements * Add hmac_key for test and live. Add in the sensitive section in di * Fix recommended changes * Create isDemoMode config method * Minor code improvements * Replace demo_mode with const * Revert isDemoMode * Update etc/adminhtml/system/adyen_security.xml Co-authored-by: Ángel Campos <angel.campos@adyen.com> * Remove unnecessary conditional * Add IP check cronjob to README * Update Helper/IpAddress.php Co-authored-by: Alessio Zampatti <alessio.zampatti@adyen.com> * Add comment to Security section * Hmac->HMAC * Require adyen/php-api-library version ^6.3 Co-authored-by: Ángel Campos <angel.campos@adyen.com> Co-authored-by: Alexandros Moraitis <alexandros.moraitis@adyen.com> Co-authored-by: Marcos Garcia <marcos.asgarcia@gmail.com> Co-authored-by: Alessio Zampatti <alessio.zampatti@adyen.com>
-
- 25 Jun, 2020 1 commit
-
-
Attila Kiss authored
Release 6.1.2
-
- 24 Jun, 2020 4 commits
-
-
attilak authored
-
attilak authored
-
Attila Kiss authored
-
Attila Kiss authored
* Update phpcs to validate PSR2 rules * Fix PSR2 phpcs errors with phpcbf * Fix phpcs errors with phpcbf * Fix PSR2 phpcs errors * Reapply fix for boleto lastname key * Fix Api folder * Fix phpcs warning * Fix phpcs warning * Remove unused var * Version bump 6.1.2 * Fix MagentoStandard phpcs warnings * Part of fixing the code sniffer errors * Part of fixing the code sniffer errors * Fix Magento Marketplace codesniffing warnings * Fix some code sniffer errors with phpcbf * Autoformat PSR12 * Fix the path string with ::class * Fix empty spaces warnings * Fix Magento marketplace codesniffing warnings * Fix Magento marketplace codesniffing warnings * Set arguments defaults values at the end of the argument list * Code sniffer fixes * Fix Magento marketplace codesniffing warnings * remove empty return statement * Fix Static method cannot be intercepted error * Fix eror: Possible useless method overriding detected * Remove private const since it is only supported since php 7.1 * Fix wrong class paths * Fix sonarcloud bugs table th element should have scope attribute when possible * Fix codesmells * Fix unit test * Remove ISSUE_TEMPLATE.md * fix wrong function call for formatStreet() * Add removed _prepareLayout() function back * Update Model/Cron.php Co-authored-by: Ángel Campos <angel.campos@adyen.com> * Update Model/Cron.php Co-authored-by: Ángel Campos <angel.campos@adyen.com> * Fix request's paymentMethod field Co-authored-by: alexandros <alexandros.moraitis@adyen.com> Co-authored-by: Ángel Campos <angel.campos@adyen.com>
-
- 22 Jun, 2020 1 commit
-
-
Ángel Campos authored
* Remove Apple Pay extra check if you have valid active cards * Remove useless variable
-
- 19 Jun, 2020 1 commit
-
-
Ángel Campos authored
-
- 16 Jun, 2020 1 commit
-
-
Stefan Bothner authored
Authorization/CheckoutDataBuilder (https://github.com/Adyen/adyen-magento2/blob/develop/Gateway/Request/CheckoutDataBuilder.php#L217) filters out all children of quote item by default. This means that there are different amounts of data in the lines for authorization and capture requests. This leads to the following error with RatePay: 2300: Request basket not valid Basket error: ITEM "Product Name" Product Name: not found in history (150)
-
- 12 Jun, 2020 2 commits
-
-
Attila Kiss authored
Release 6.1.1
-
Ángel Campos authored
Co-authored-by: Attila Kiss <42297201+cyattilakiss@users.noreply.github.com>
-
- 11 Jun, 2020 3 commits
-
-
attilak authored
-
Attila Kiss authored
[PW-2332] Delay OFFER_CLOSED notifications processing by 10 minutes
-
attilak authored
To check if notification processing should be skipped Add log if notification should be skipped
-