author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20 values | license stringclasses 3 values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
21,270 | 25.02.2021 16:26:39 | 28,800 | 7d4b98391c845414ab4e1f1a1615e0da1c783123 | test for MAgento 2.3 | [
{
"change_type": "MODIFY",
"old_path": "Test/Mftf-23/Section/AmazonPageSection.xml",
"new_path": "Test/Mftf-23/Section/AmazonPageSection.xml",
"diff": "<element name=\"signInButton\" type=\"button\" selector=\"#signInSubmit\"/>\n<element name=\"checkoutButton\" type=\"button\" selector=\"#default-bu... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-600 test for MAgento 2.3 |
21,241 | 03.03.2021 14:50:00 | 21,600 | d51baae44de9a849b673dffe601640e44af4b231 | trigger invalidating customerData when clicking the Amazon Pay button | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "* Adds tests for refund, multi auth refund, and multi auth with capture initiated\n* Updates Alexa feature name\n* Adds Japanese translations and updates translations for other languages\n+* Fixed customer da... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-649 - trigger invalidating customerData when clicking the Amazon Pay button |
21,270 | 03.03.2021 16:45:30 | 28,800 | 2188d703c4106a5364c7c9cf3d3129df4bb4af94 | first attempt with dual file and text field private key | [
{
"change_type": "MODIFY",
"old_path": "Model/Config/File/PemFile.php",
"new_path": "Model/Config/File/PemFile.php",
"diff": "@@ -27,7 +27,7 @@ class PemFile extends \\Magento\\Config\\Block\\System\\Config\\Form\\Field\\File\nprotected function _getDeleteCheckbox()\n{\nif ($this->getValue()) {\n- r... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-647 first attempt with dual file and text field private key |
21,270 | 04.03.2021 09:29:51 | 28,800 | 27be9a05913e72764a488ddc47bc5c92c0e9408a | replaces a php function that was only for php8 | [
{
"change_type": "MODIFY",
"old_path": "Plugin/PaymentTransactionIdUpdate.php",
"new_path": "Plugin/PaymentTransactionIdUpdate.php",
"diff": "@@ -36,7 +36,7 @@ class PaymentTransactionIdUpdate\n$transactionBasedOn = false\n) {\n$paymentMethodTitle = $payment->getAdditionalInformation('method_title')... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-642 replaces a php function that was only for php8 |
21,270 | 04.03.2021 17:02:16 | 28,800 | 291b96a5d71f50119cada5bd9909f014fb240c13 | updates functionality and validation of private key fields | [
{
"change_type": "MODIFY",
"old_path": "Model/Config/File/PemFile.php",
"new_path": "Model/Config/File/PemFile.php",
"diff": "@@ -27,7 +27,7 @@ class PemFile extends \\Magento\\Config\\Block\\System\\Config\\Form\\Field\\File\nprotected function _getDeleteCheckbox()\n{\nif ($this->getValue()) {\n- r... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-647 updates functionality and validation of private key fields |
21,241 | 05.03.2021 10:42:46 | 21,600 | 09641d87dce00f707175fe3870738cd96061fe28 | Version bump, and rearrange changelog | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "# Change Log\n-## <new release>\n+## 5.0.2\n* Added tests for refund, multi auth refund, and multi auth with capture initiated\n-* Updated Alexa feature name\n* Added Japanese translations and updates transla... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Version bump, and rearrange changelog |
21,241 | 05.03.2021 10:56:28 | 21,600 | f4d8c6b001f644c1cb1438e668cc35c635c3fb28 | Version correction for next release | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "# Change Log\n-## 5.0.2\n+## 5.1.0\n* Added tests for refund, multi auth refund, and multi auth with capture initiated\n* Added Japanese translations and updates translations for other languages\n* Fixed bug ... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Version correction for next release |
21,270 | 05.03.2021 11:24:00 | 28,800 | fb4f48bbfbf4ffd3b91a197f2655b02df6b649f0 | updates copy and styling of private key buttons | [
{
"change_type": "MODIFY",
"old_path": "Model/Config/File/PemFile.php",
"new_path": "Model/Config/File/PemFile.php",
"diff": "@@ -27,7 +27,7 @@ class PemFile extends \\Magento\\Config\\Block\\System\\Config\\Form\\Field\\File\nprotected function _getDeleteCheckbox()\n{\nif ($this->getValue()) {\n- r... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-647 updates copy and styling of private key buttons |
21,270 | 05.03.2021 15:29:05 | 28,800 | 05ded84bf537414d6c58ddc10d09f5951b6c6605 | handles already saved private key without a saved type | [
{
"change_type": "MODIFY",
"old_path": "etc/adminhtml/system.xml",
"new_path": "etc/adminhtml/system.xml",
"diff": "<field id=\"private_key_selected\" translate=\"label comment\" type=\"text\" sortOrder=\"5\" showInDefault=\"1\" showInWebsite=\"1\" showInStore=\"1\">\n<label>Private Key Selected</la... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-647 handles already saved private key without a saved type |
21,270 | 05.03.2021 16:59:49 | 28,800 | c5c0becac1c8cdc2e84114580fb51b2a4dd2bce2 | checkout pages now redirect to cart when session cancelled | [
{
"change_type": "MODIFY",
"old_path": "Model/Adapter/AmazonPayAdapter.php",
"new_path": "Model/Adapter/AmazonPayAdapter.php",
"diff": "@@ -445,7 +445,7 @@ class AmazonPayAdapter\n{\n$payload = [\n'signInReturnUrl' => $this->url->getRouteUrl('amazon_pay/login/authorize/'),\n- 'signInCancelUrl' => $t... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-600 checkout pages now redirect to cart when session cancelled |
21,241 | 08.03.2021 11:27:11 | 21,600 | ead4ffd20ada089d3114e461b26ebc11512accfb | also clear amazon checkout session data if on the cart page to ensure fresh session when starting Amazon Pay checkout | [
{
"change_type": "MODIFY",
"old_path": "view/frontend/templates/config.phtml",
"new_path": "view/frontend/templates/config.phtml",
"diff": "?>\n<?php /* @var $block \\Amazon\\Pay\\Block\\Config */ ?>\n<?php if ($block->isEnabled()): ?>\n+<?php\n+ $frontName = $block->getRequest()->getFrontName();\n+... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-600 - also clear amazon checkout session data if on the cart page to ensure fresh session when starting Amazon Pay checkout |
21,241 | 11.03.2021 11:55:41 | 21,600 | 31f5a378bde27060e6a13e0019c529031eded9fc | Address phpcs complaints | [
{
"change_type": "MODIFY",
"old_path": "Block/Adminhtml/System/Config/Form/PrivateKeySelector.php",
"new_path": "Block/Adminhtml/System/Config/Form/PrivateKeySelector.php",
"diff": "@@ -17,10 +17,6 @@ namespace Amazon\\Pay\\Block\\Adminhtml\\System\\Config\\Form;\nuse Magento\\Framework\\Data\\Form\... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Address phpcs complaints |
21,241 | 16.03.2021 11:08:07 | 18,000 | 8d79b8791cf9d8e6a7e627d861df7718f723d66c | remove test that is no longer valid with the Amazon popup change | [
{
"change_type": "DELETE",
"old_path": "Test/Mftf-24/Test/AmazonCheckoutCancelledThenSuccessTest.xml",
"new_path": null,
"diff": "-<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n-<tests xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:mftf:Test/etc/tes... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-600 - remove test that is no longer valid with the Amazon popup change |
21,241 | 17.03.2021 13:48:33 | 18,000 | 9f58c619c3d70a463dc5535a3e717ce377ff1f3a | add Sign in with Amazon button to the authentication modal that is triggered when guest checkout is disabled and a guest clicks proceed to checkout | [
{
"change_type": "MODIFY",
"old_path": "view/frontend/layout/default.xml",
"new_path": "view/frontend/layout/default.xml",
"diff": "<referenceContainer name=\"content\">\n<block class=\"Amazon\\Pay\\Block\\Config\" name=\"amazon_pay_config\" template=\"Amazon_Pay::config.phtml\" />\n</referenceConta... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-661 - add Sign in with Amazon button to the authentication modal that is triggered when guest checkout is disabled and a guest clicks proceed to checkout |
21,241 | 17.03.2021 13:53:16 | 18,000 | 83e232dbb6a72cf095fabfce8bfc2b0d4d538ce6 | remove commented lines from xml | [
{
"change_type": "MODIFY",
"old_path": "view/frontend/layout/default.xml",
"new_path": "view/frontend/layout/default.xml",
"diff": "<item name=\"displayArea\" xsi:type=\"string\">additional-login-form-fields</item>\n<item name=\"config\" xsi:type=\"array\">\n<item name=\"tooltip\" xsi:type=\"string\... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-661 - remove commented lines from xml |
21,266 | 19.03.2021 14:29:06 | 14,400 | 43964ffc77b154d723f82b06ba8057db7afcf9bc | Add MFTF for | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Test/Mftf-24/Test/AmazonSignInButtonVisibleNoGuestCheckout.xml",
"diff": "+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+<tests xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:mftf:Test/etc/test... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Add MFTF for ASD-661 |
21,241 | 19.03.2021 16:58:25 | 18,000 | 491e6563e441e9b09d81c15e94eb9b72febb3964 | add required argument for a test, and make filename / test name match | [
{
"change_type": "MODIFY",
"old_path": "Test/Mftf-24/Test/AmazonShippingAddressTest.xml",
"new_path": "Test/Mftf-24/Test/AmazonShippingAddressTest.xml",
"diff": "<waitForElement selector=\"{{AmazonPageSection.checkoutButton}}\" stepKey=\"waitForAmazonChangedShippingPageLoad\"/>\n<wait time=\"1\" ste... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-661 - add required argument for a test, and make filename / test name match |
21,241 | 23.03.2021 15:37:36 | 18,000 | 13a8a9ca1d95f6f4aea6facc54d1dc0cf479d456 | restructure the button widget creation to add an observer, so that if the customer data loads after the button js runs and adds customer data then it will trigger rendering the Amazon Pay button | [
{
"change_type": "MODIFY",
"old_path": "view/frontend/web/js/amazon-button.js",
"new_path": "view/frontend/web/js/amazon-button.js",
"diff": "@@ -22,16 +22,6 @@ define([\n], function ($, checkoutSessionConfigLoad, amazonStorage, url, amazonCheckout, customerData) {\n'use strict';\n- var cart = custo... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-660 - restructure the button widget creation to add an observer, so that if the customer data loads after the button js runs and adds customer data then it will trigger rendering the Amazon Pay button |
21,241 | 24.03.2021 10:18:32 | 18,000 | 780966fb41fba3474399ddf86c62d90cb9ae5e48 | better handle hitting controller when checkoutSessionId is empty | [
{
"change_type": "MODIFY",
"old_path": "Controller/Login/Checkout.php",
"new_path": "Controller/Login/Checkout.php",
"diff": "@@ -28,6 +28,9 @@ class Checkout extends \\Amazon\\Pay\\Controller\\Login\npublic function execute()\n{\n$checkoutSessionId = $this->getRequest()->getParam('amazonCheckoutSes... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-601 - better handle hitting controller when checkoutSessionId is empty |
21,241 | 29.03.2021 10:45:26 | 18,000 | cec04909a4851d15fcb6be7e9a9669ae32ca234c | convert another str_contains to strpos | [
{
"change_type": "MODIFY",
"old_path": "view/frontend/templates/config.phtml",
"new_path": "view/frontend/templates/config.phtml",
"diff": "registry.set('amazonPay', <?= /* @noEscape */ \\Zend_Json::encode($block->getConfig()); ?>);\n});\n- <?php if ($frontName != 'checkout' || (str_contains($pathIn... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-668 - convert another str_contains to strpos |
21,241 | 30.03.2021 14:13:06 | 18,000 | ced22bd11bb263fa0e32153dfabfaf9ba0efc27f | add dependencies that are used but not listed in composer.json | [
{
"change_type": "MODIFY",
"old_path": "composer.json",
"new_path": "composer.json",
"diff": "\"magento/module-quote\": \"^101.0\",\n\"magento/module-customer\": \"^102.0||^103.0\",\n\"magento/module-store\": \"^101.0\",\n+ \"magento/module-catalog\": \"^103.0||^104.0\",\n+ \"magento/module-configur... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-603 - add dependencies that are used but not listed in composer.json |
21,241 | 31.03.2021 14:40:28 | 18,000 | b6555d9f701a74398b1154128b36d46bba951451 | alter the redirect behavior to be configurable, to support checkout paths other than /checkout and success pages other than /checkout/onepage/success | [
{
"change_type": "MODIFY",
"old_path": "Controller/Checkout/CompleteSession.php",
"new_path": "Controller/Checkout/CompleteSession.php",
"diff": "@@ -27,6 +27,11 @@ class CompleteSession extends \\Magento\\Framework\\App\\Action\\Action\n*/\nprivate $amazonCheckoutSession;\n+ /**\n+ * @var \\Amazon\... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-629 - alter the redirect behavior to be configurable, to support checkout paths other than /checkout and success pages other than /checkout/onepage/success |
21,241 | 01.04.2021 10:57:59 | 18,000 | e10a664ce2403f53b2bed5881319b8cab5dea1d9 | add type="button" to private key config so that enter on an unrelated text field doesn't trigger the buttons | [
{
"change_type": "MODIFY",
"old_path": "view/adminhtml/templates/system/config/private-key.phtml",
"new_path": "view/adminhtml/templates/system/config/private-key.phtml",
"diff": "?>\n<div class=\"private-key-buttons\">\n- <button id=\"private_key_pem_button\"><?= /* @noEscape */ __('Upload .pem fil... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-670 - add type="button" to private key config so that enter on an unrelated text field doesn't trigger the buttons |
21,241 | 06.04.2021 18:28:47 | 18,000 | 74bea0e108b12c83874c7fadae3ccfcc772358cc | set the Amazon Checkout Session ID based on the correct url param, it would set it to any url param in some cases before | [
{
"change_type": "MODIFY",
"old_path": "view/frontend/web/js/model/storage.js",
"new_path": "view/frontend/web/js/model/storage.js",
"diff": "@@ -60,14 +60,15 @@ define([\n*/\ngetCheckoutSessionId: function () {\nvar sessionId = getStorage().get('id');\n- var param = '?amazonCheckoutSessionId=';\n- ... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-671 - set the Amazon Checkout Session ID based on the correct url param, it would set it to any url param in some cases before |
21,255 | 08.04.2021 17:53:07 | 14,400 | b5f17405d21734a2fdd243d1ed8b2f9537ca063a | Alexa Model - use Phrases to construct Exceptions | [
{
"change_type": "MODIFY",
"old_path": "Model/Alexa.php",
"new_path": "Model/Alexa.php",
"diff": "@@ -18,6 +18,7 @@ namespace Amazon\\Pay\\Model;\nuse Amazon\\Pay\\Client\\ClientFactoryInterface;\nuse Magento\\Framework\\Module\\Dir;\n+use Magento\\Framework\\Phrase;\nuse Magento\\Sales\\Model\\Orde... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Alexa Model - use Phrases to construct Exceptions |
21,241 | 16.04.2021 11:47:15 | 18,000 | 61ccf64d04078d949fee98b9bf3f3283d3ef4db5 | add sort order config option | [
{
"change_type": "MODIFY",
"old_path": "etc/adminhtml/system.xml",
"new_path": "etc/adminhtml/system.xml",
"diff": "<source_model>Amazon\\Pay\\Model\\Config\\Source\\AuthorizationMode</source_model>\n<config_path>payment/amazon_payment/authorization_mode</config_path>\n</field>\n+ <field id=\"sort_o... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-464 - add sort order config option |
21,241 | 19.04.2021 10:56:00 | 18,000 | 169a8843f4183e90bad668ee24ab94817dda76f3 | update location of sort order config option | [
{
"change_type": "MODIFY",
"old_path": "etc/adminhtml/system.xml",
"new_path": "etc/adminhtml/system.xml",
"diff": "<source_model>Amazon\\Pay\\Model\\Config\\Source\\AuthorizationMode</source_model>\n<config_path>payment/amazon_payment/authorization_mode</config_path>\n</field>\n- <field id=\"sort_o... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-464 - update location of sort order config option |
21,241 | 19.04.2021 11:43:32 | 18,000 | 9c09f4c8564f87b41b3fdc3e5d19c2fe17b00b1b | re-add the dependency on "Show Amazon Pay in payment methods" field for the sort order config to show up | [
{
"change_type": "MODIFY",
"old_path": "etc/adminhtml/system.xml",
"new_path": "etc/adminhtml/system.xml",
"diff": "<label>Sort Order</label>\n<frontend_class>validate-number</frontend_class>\n<config_path>payment/amazon_payment_v2/sort_order</config_path>\n+ <depends>\n+ <field id=\"amazonloggin\">... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-464 - re-add the dependency on "Show Amazon Pay in payment methods" field for the sort order config to show up |
21,241 | 26.04.2021 20:39:57 | 18,000 | 731060bd5c73cc09f9385b1557fad4ecb3bc534a | change how core javascript is extended/overridden | [
{
"change_type": "MODIFY",
"old_path": "etc/frontend/di.xml",
"new_path": "etc/frontend/di.xml",
"diff": "</argument>\n</arguments>\n</type>\n- <type name=\"Magento\\Checkout\\Block\\Checkout\\LayoutProcessor\">\n- <plugin name=\"amazon_pay_checkout_processor\" type=\"Amazon\\Pay\\Plugin\\CheckoutPr... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-672 - change how core javascript is extended/overridden |
21,250 | 28.04.2021 11:20:23 | 10,800 | dd9c3bd74ccd70c0810927919580f4438cc4e796 | replace CartId with Session Id for shipping-address, billing-address and payment-descriptor | [
{
"change_type": "MODIFY",
"old_path": "Api/CheckoutSessionManagementInterface.php",
"new_path": "Api/CheckoutSessionManagementInterface.php",
"diff": "@@ -34,22 +34,22 @@ interface CheckoutSessionManagementInterface\npublic function storeCheckoutSession($cartId, $checkoutSessionId);\n/**\n- * @para... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-687: replace CartId with Session Id for shipping-address, billing-address and payment-descriptor |
21,241 | 30.04.2021 10:55:57 | 18,000 | 9b507330dbf218c415d87ade776bf857c482a0b2 | inject serializer instead of using statically | [
{
"change_type": "MODIFY",
"old_path": "Model/Alexa.php",
"new_path": "Model/Alexa.php",
"diff": "@@ -19,6 +19,7 @@ namespace Amazon\\Pay\\Model;\nuse Amazon\\Pay\\Client\\ClientFactoryInterface;\nuse Magento\\Framework\\Module\\Dir;\nuse Magento\\Framework\\Phrase;\n+use Magento\\Framework\\Seriali... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-695 - inject serializer instead of using statically |
21,241 | 03.05.2021 12:37:37 | 18,000 | 4cccb5303f1811ab5d8059badf88f5791f367b90 | Bump version, add changelog notes | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "# Change Log\n+## 5.3.0\n+* Added sort order to payment method config\n+* Changed the REST requests to pass in the Amazon Checkout Session ID instead of the cart ID\n+* Fixed bug where multiple url parameters... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Bump version, add changelog notes |
21,241 | 04.05.2021 00:21:04 | 18,000 | c4c6e12e1d5c901dc3400c893c95358b55e8f943 | remove "-capture" from the transaction ID prior to using in Alexa update | [
{
"change_type": "MODIFY",
"old_path": "Model/Alexa.php",
"new_path": "Model/Alexa.php",
"diff": "@@ -128,7 +128,8 @@ class Alexa\nnew Phrase('Failed to lookup order transaction')\n);\n}\n- $response = $this->apiCall($order->getStoreId(), 'getCharge', [$transaction->getTxnId()]);\n+ $txnId = str_rep... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-676 - remove "-capture" from the transaction ID prior to using in Alexa update |
21,241 | 12.05.2021 10:58:16 | 18,000 | 4d2871f3dfbcfe4fb0ccff13d15f58c0316948ba | don't try to create Alexa notifications for unknown carriers | [
{
"change_type": "MODIFY",
"old_path": "Model/Alexa.php",
"new_path": "Model/Alexa.php",
"diff": "@@ -222,6 +222,13 @@ class Alexa\nif ($this->canAddDeliveryNotification($track)) {\n$chargePermissionId = $this->getChargePermissionId($track->getShipment()->getOrder());\n$carrierCode = $this->getCarri... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-676 - don't try to create Alexa notifications for unknown carriers |
21,250 | 12.05.2021 16:02:07 | 10,800 | 812e26193f96161d170ef95ea862c4303439615d | Change buyerId empty validation | [
{
"change_type": "MODIFY",
"old_path": "Controller/Login.php",
"new_path": "Controller/Login.php",
"diff": "@@ -178,7 +178,7 @@ abstract class Login extends Action\n$userInfo = $this->amazonAdapter\n->getBuyer($token);\n- if (is_array($userInfo) && isset($userInfo['buyerId'])) {\n+ if (is_array($use... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-701: Change buyerId empty validation |
21,250 | 13.05.2021 11:06:55 | 10,800 | f8ad33391f78c5679c9373a4e40a1d4f6a4ef2e5 | Log error when buyerid is empty | [
{
"change_type": "MODIFY",
"old_path": "Controller/Login.php",
"new_path": "Controller/Login.php",
"diff": "@@ -188,7 +188,11 @@ abstract class Login extends Action\n$amazonCustomer = $this->amazonCustomerFactory->create($data);\nreturn $amazonCustomer;\n+\n+ }else{\n+ $this->logger->error('Amazon b... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-701: Log error when buyerid is empty |
21,241 | 14.05.2021 10:18:41 | 18,000 | 1748d3f4f87ff796ef97ba2d94aecb303d863dce | update credentials validation to properly observe the inherit flag and validate using parent scope's value. Inspiration for parent scope tree from ericthehacker/magento2-configscopehints | [
{
"change_type": "MODIFY",
"old_path": "Model/AmazonConfig.php",
"new_path": "Model/AmazonConfig.php",
"diff": "@@ -393,7 +393,6 @@ class AmazonConfig\n*\n* @param string $scope\n* @param null $scopeCode\n- * @param null $store\n*\n* @return string\n*/\n@@ -406,12 +405,28 @@ class AmazonConfig\n);\n... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-699 - update credentials validation to properly observe the inherit flag and validate using parent scope's value. Inspiration for parent scope tree from ericthehacker/magento2-configscopehints |
21,241 | 18.05.2021 11:46:45 | 18,000 | ea5fb505674ee67b3a851641fc7d051a4143fd3c | Version bump to 5.4.0, add release notes to changelog | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "# Change Log\n+## 5.4.0\n+* Fixed credential validation when inheriting from parent scope\n+* Fixed issue to properly handle when Amazon Pay returns empty buyer ID\n+* Fixed issue with using Alexa notificatio... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Version bump to 5.4.0, add release notes to changelog |
21,250 | 19.05.2021 11:52:33 | 10,800 | b0bc4df8b0f6efa1eb99ca392512c26f8d297089 | check if quote has already has an order | [
{
"change_type": "MODIFY",
"old_path": "Model/CheckoutSessionManagement.php",
"new_path": "Model/CheckoutSessionManagement.php",
"diff": "@@ -131,6 +131,11 @@ class CheckoutSessionManagement implements \\Amazon\\Pay\\Api\\CheckoutSessionManage\n*/\nprivate $carts = [];\n+ /**\n+ * @var \\Magento\\Sa... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-702: check if quote has already has an order |
21,250 | 27.05.2021 10:47:32 | 10,800 | 938d8cf079a7f601fe9feb5d714f4dc15d2ccf54 | Bug fix on the admin stylesheet. Styles were not being applied when Merchant Country != US | [
{
"change_type": "MODIFY",
"old_path": "view/adminhtml/web/css/source/_module.less",
"new_path": "view/adminhtml/web/css/source/_module.less",
"diff": "-#row_payment_us_amazon_payment_advanced_sales_options_restrict_categories {\n+tr[id$='_amazon_pay_advanced_sales_options_restrict_categories'] {\n.... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Bug fix on the admin stylesheet. Styles were not being applied when Merchant Country != US |
21,250 | 01.06.2021 16:24:00 | 10,800 | a4cded3d96afc706977032787eab9d50b417c93b | small fix to avoid race condition when drawing and redrawing button on product page | [
{
"change_type": "MODIFY",
"old_path": "view/frontend/web/js/amazon-button.js",
"new_path": "view/frontend/web/js/amazon-button.js",
"diff": "@@ -29,6 +29,8 @@ define([\nhideIfUnavailable: ''\n},\n+ drawing: false,\n+\n_loadButtonConfig: function (callback) {\ncheckoutSessionConfigLoad(function (che... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-707: small fix to avoid race condition when drawing and redrawing button on product page |
21,250 | 02.06.2021 15:06:57 | 10,800 | 35200c02a08e32d6b27db7609d19f8363cd29e00 | Added more logs Alexa | [
{
"change_type": "MODIFY",
"old_path": "Model/Alexa.php",
"new_path": "Model/Alexa.php",
"diff": "namespace Amazon\\Pay\\Model;\nuse Amazon\\Pay\\Client\\ClientFactoryInterface;\n+use Amazon\\Pay\\Logger\\AlexaLogger;\nuse Magento\\Framework\\Module\\Dir;\nuse Magento\\Framework\\Phrase;\nuse Magent... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-696: Added more logs Alexa |
21,250 | 07.06.2021 15:29:14 | 10,800 | 17882d4d2cb2d923222c91ca24690c60439636ae | Added logs for Capture | [
{
"change_type": "MODIFY",
"old_path": "Model/AsyncManagement/Charge.php",
"new_path": "Model/AsyncManagement/Charge.php",
"diff": "@@ -278,6 +278,7 @@ class Charge extends AbstractOperation\n$invoice = $this->invoiceService->prepareInvoice($order);\n$invoice->register();\n}\n+\nif ($invoice && ($in... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-690: Added logs for Capture |
21,266 | 08.06.2021 10:15:38 | 14,400 | 2d8b2ed7c7d708e2f8096bac277b7d0458ea3a19 | Add 'waitForPopup' helper method | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Test/Mftf-24/Helper/WaitForPopup.php",
"diff": "+<?php\n+\n+namespace Amazon\\Pay\\Test\\Mftf\\Helper;\n+\n+use Magento\\FunctionalTestingFramework\\Helper\\Helper;\n+\n+class WaitForPopup extends Helper {\n+\n+ public function waitForPopup() {\... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Add 'waitForPopup' helper method |
21,266 | 08.06.2021 10:18:16 | 14,400 | c9a9fbb9c0ebb12dc11c738cdcf234b8e8eff5ba | Remove unnecessary call for modules | [
{
"change_type": "MODIFY",
"old_path": "Test/Mftf-24/Helper/WaitForPopup.php",
"new_path": "Test/Mftf-24/Helper/WaitForPopup.php",
"diff": "@@ -9,7 +9,6 @@ class WaitForPopup extends Helper {\npublic function waitForPopup() {\n/** @var \\Magento\\FunctionalTestingFramework\\Module\\MagentoWebDriver ... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Remove unnecessary call for modules |
21,250 | 08.06.2021 11:23:23 | 10,800 | 90768c2038a09251fdcae66fefef00f00ba93d85 | Added extra validation when buyerId is empty | [
{
"change_type": "MODIFY",
"old_path": "Controller/Login.php",
"new_path": "Controller/Login.php",
"diff": "@@ -178,7 +178,7 @@ abstract class Login extends Action\n$userInfo = $this->amazonAdapter\n->getBuyer($token);\n- if (is_array($userInfo) && !empty($userInfo['buyerId'])) {\n+ if (is_array($us... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-701: Added extra validation when buyerId is empty |
21,266 | 09.06.2021 08:57:22 | 14,400 | 0deeb6f5d68ed7a442bf08648514987f6d52bcfc | Update to use ActionGroup with timeout | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Test/Mftf-23/ActionGroup/AmazonSwitchToPopupActionGroup.xml",
"diff": "+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+<actionGroups xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:mftf:Test/etc/... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Update to use ActionGroup with timeout |
21,241 | 09.06.2021 13:29:36 | 18,000 | ad4b7f410f93568563ec95bada0e047ff9d4fa05 | payment method button changed to be APB flow | [
{
"change_type": "MODIFY",
"old_path": "Model/Adapter/AmazonPayAdapter.php",
"new_path": "Model/Adapter/AmazonPayAdapter.php",
"diff": "namespace Amazon\\Pay\\Model\\Adapter;\n+use Amazon\\Pay\\Model\\Config\\Source\\PaymentAction;\n+use Magento\\Quote\\Model\\Quote;\n+\nclass AmazonPayAdapter\n{\nc... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | APF-311 - payment method button changed to be APB flow |
21,266 | 09.06.2021 14:45:18 | 14,400 | 425df49ce1c4ea30ac388af050bb8ccb3082189e | Move switchToNextTab into SwitchToPopup ActionGroup | [
{
"change_type": "MODIFY",
"old_path": "Test/Mftf-23/ActionGroup/AmazonSwitchToPopupActionGroup.xml",
"new_path": "Test/Mftf-23/ActionGroup/AmazonSwitchToPopupActionGroup.xml",
"diff": "<actionGroups xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Move switchToNextTab into SwitchToPopup ActionGroup |
21,241 | 09.06.2021 15:57:55 | 18,000 | 27fd94ce49c08f9a5c26aea4a7f86fc7e5201807 | set presentmentCurrency for multi-currency checkout | [
{
"change_type": "MODIFY",
"old_path": "Model/Adapter/AmazonPayAdapter.php",
"new_path": "Model/Adapter/AmazonPayAdapter.php",
"diff": "@@ -482,6 +482,7 @@ class AmazonPayAdapter\n{\n// Always use Authorize for now, so that async transactions are handled properly\n$paymentIntent = self::PAYMENT_INTE... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | APF-311 - set presentmentCurrency for multi-currency checkout |
21,266 | 10.06.2021 09:08:58 | 14,400 | 4514e336fd36585eed68be263d00e7ab786f2fcd | Add MFTFs for Pay Now | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Test/Mftf-23/Test/AmazonCheckoutPayNowDeclinedTest.xml",
"diff": "+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+<tests xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:mftf:Test/etc/testSchema.x... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Add MFTFs for Pay Now |
21,241 | 10.06.2021 10:41:01 | 18,000 | 50501a7cf00574e4f45834849388ad21ed38e107 | add checkoutCancelUrl to the PayNow payload | [
{
"change_type": "MODIFY",
"old_path": "Model/Adapter/AmazonPayAdapter.php",
"new_path": "Model/Adapter/AmazonPayAdapter.php",
"diff": "@@ -488,6 +488,7 @@ class AmazonPayAdapter\n'webCheckoutDetails' => [\n'checkoutMode' => 'ProcessOrder',\n'checkoutResultReturnUrl' => $this->amazonConfig->getPayNo... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | APF-311 - add checkoutCancelUrl to the PayNow payload |
21,241 | 10.06.2021 14:50:23 | 18,000 | 5f931c3032ebb467bb90616d831d89ec5f8217ec | Version bumps and notes for 5.5.0 release | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "# Change Log\n+## 5.5.0\n+* Added Auto Key Exchange for configuring the credentials\n+* Added PayNow functionality for the button on the final step of checkout\n+* Added more logging to the Alexa feature\n+* ... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Version bumps and notes for 5.5.0 release |
21,241 | 11.06.2021 09:28:18 | 18,000 | 40c644f9fbd22875ee773328409a4f70515a6864 | Adjustments for php7.3 | [
{
"change_type": "MODIFY",
"old_path": "Model/Config/AutoKeyExchange.php",
"new_path": "Model/Config/AutoKeyExchange.php",
"diff": "@@ -76,19 +76,71 @@ class AutoKeyExchange\n* @var AmazonConfig\n*/\nprivate $amazonConfig;\n- private \\Magento\\Framework\\App\\Config\\ConfigResource\\ConfigInterface... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Adjustments for php7.3 |
21,250 | 11.06.2021 12:56:47 | 10,800 | 142ead9084a0b1e141def108534ae01475248699 | Fix admin JS for non US locale | [
{
"change_type": "MODIFY",
"old_path": "view/adminhtml/web/js/credentials.js",
"new_path": "view/adminhtml/web/js/credentials.js",
"diff": "@@ -33,21 +33,21 @@ require(['jquery', 'domReady!'], function ($) {\ne.preventDefault();\n// set selected type\n- $('#payment_us_amazon_pay_credentials_private_... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Fix admin JS for non US locale |
21,241 | 11.06.2021 10:52:45 | 18,000 | 8f9a8a81299d61a2e49362ae4f5e9435991891c2 | update styling of buttons, and use scope for setting sandbox mode when using auto key exchange | [
{
"change_type": "MODIFY",
"old_path": "Model/Config/AutoKeyExchange.php",
"new_path": "Model/Config/AutoKeyExchange.php",
"diff": "@@ -439,7 +439,9 @@ class AutoKeyExchange\n}\n$this->config->saveConfig(\n'payment/amazon_payment/sandbox',\n- '0'\n+ '0',\n+ $this->_scope,\n+ $this->_scopeId\n);\nif ... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | APF-310 - update styling of buttons, and use scope for setting sandbox mode when using auto key exchange |
21,239 | 09.06.2021 16:19:29 | -7,200 | b6eeeef91b8c5b5ead6a42c82b4b4ab67958e8a2 | Fixing issue of matching another website customer with the same email | [
{
"change_type": "MODIFY",
"old_path": "Model/Customer/IdMatcher.php",
"new_path": "Model/Customer/IdMatcher.php",
"diff": "@@ -19,6 +19,7 @@ use Amazon\\Pay\\Api\\Data\\AmazonCustomerInterface;\nuse Amazon\\Pay\\Model\\Customer\\MatcherInterface;\nuse Magento\\Customer\\Api\\CustomerRepositoryInter... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Fixing issue of matching another website customer with the same email |
21,241 | 14.06.2021 09:43:41 | 18,000 | 96a08e0031d2e3a84518104216edc91a16e72e1f | Fix php7.3 issue with variable type hinting | [
{
"change_type": "MODIFY",
"old_path": "Controller/Adminhtml/Pay/ResetAutoKey.php",
"new_path": "Controller/Adminhtml/Pay/ResetAutoKey.php",
"diff": "@@ -29,9 +29,20 @@ use Magento\\Framework\\App\\Config\\ConfigResource\\ConfigInterface;\n*/\nclass ResetAutoKey extends System\n{\n- private ConfigIn... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Fix php7.3 issue with variable type hinting |
21,241 | 15.06.2021 12:40:23 | 18,000 | d2746c4d79b97cfd95740af66b48391bdf115477 | Remove dependency on laminas module due to incompatibility with older Magneto 2.3.0 | [
{
"change_type": "MODIFY",
"old_path": "Controller/AutoKeyExchange/Listener.php",
"new_path": "Controller/AutoKeyExchange/Listener.php",
"diff": "@@ -41,11 +41,6 @@ class Listener extends \\Magento\\Framework\\App\\Action\\Action implements CsrfAware\n*/\nprivate $exceptionLogger;\n- /**\n- * @var \... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Remove dependency on laminas module due to incompatibility with older Magneto 2.3.0 |
21,241 | 16.06.2021 16:25:55 | 18,000 | dcb25483ef224f5af095ba0d7f5b88d6808f64d3 | add to csp whitelist | [
{
"change_type": "MODIFY",
"old_path": "etc/csp_whitelist.xml",
"new_path": "etc/csp_whitelist.xml",
"diff": "<value id=\"media_amazon_fr\" type=\"host\">*.media-amazon.fr</value>\n<value id=\"media_amazon_es\" type=\"host\">*.media-amazon.es</value>\n<value id=\"media_amazon_de\" type=\"host\">*.me... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-723 - add to csp whitelist |
21,241 | 17.06.2021 11:30:04 | 18,000 | fd4a88c61fd69cd0a5454969a92a3e072caeae03 | don't send stateOrRegion for a few specific countries due to amazon failing address validation if included | [
{
"change_type": "MODIFY",
"old_path": "Model/Adapter/AmazonPayAdapter.php",
"new_path": "Model/Adapter/AmazonPayAdapter.php",
"diff": "@@ -510,11 +510,15 @@ class AmazonPayAdapter\n$addressData = [\n'name' => $address->getName(),\n'city' => $address->getCity(),\n- 'stateOrRegion' => $address->getRe... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-719 - don't send stateOrRegion for a few specific countries due to amazon failing address validation if included |
21,241 | 17.06.2021 11:30:34 | 18,000 | 978ed8a6bdfb191b3abd5647619df91a38830436 | Remove unused function and clean up phpcs output | [
{
"change_type": "MODIFY",
"old_path": "Controller/AutoKeyExchange/Listener.php",
"new_path": "Controller/AutoKeyExchange/Listener.php",
"diff": "@@ -67,6 +67,7 @@ class Listener extends \\Magento\\Framework\\App\\Action\\Action implements CsrfAware\n{\ntry {\n$originHeader = $this->getRequest()->ge... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Remove unused function and clean up phpcs output |
21,241 | 17.06.2021 12:36:53 | 18,000 | 57b30ea0e955684745be30e976bb2558c753773a | Version bump to 5.5.1 and update changelog | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "# Change Log\n+## 5.5.1\n+* Add url to csp_whitelist.xml\n+* Fix issue with the payment method button and UK addresses\n+\n## 5.5.0\n* Added Auto Key Exchange for configuring the credentials\n* Added PayNow f... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Version bump to 5.5.1 and update changelog |
21,241 | 17.06.2021 13:28:08 | 18,000 | 39779a4645d0aafd97b06f1b0338c3186f403f15 | Remove any null values from addressData in PayNow payload generation | [
{
"change_type": "MODIFY",
"old_path": "Model/Adapter/AmazonPayAdapter.php",
"new_path": "Model/Adapter/AmazonPayAdapter.php",
"diff": "@@ -524,6 +524,8 @@ class AmazonPayAdapter\n$addressData[$addressKey] = $streetLine;\n}\n+ $addressData = array_filter($addressData);\n+\n$payload['addressDetails']... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Remove any null values from addressData in PayNow payload generation |
21,241 | 22.06.2021 12:42:37 | 18,000 | 07debe85bccfe3a5ab76ac62ec594ccbc8c79ec3 | ensure we have a payment method set, particularly necessary for 3rd party checkout or the Pay Now button if set-payment-information ajax call doesn't happen for some reason | [
{
"change_type": "MODIFY",
"old_path": "Model/CheckoutSessionManagement.php",
"new_path": "Model/CheckoutSessionManagement.php",
"diff": "namespace Amazon\\Pay\\Model;\nuse Amazon\\Pay\\Api\\Data\\CheckoutSessionInterface;\n+use Amazon\\Pay\\Gateway\\Config\\Config;\nuse Amazon\\Pay\\Model\\Config\\... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-719 - ensure we have a payment method set, particularly necessary for 3rd party checkout or the Pay Now button if set-payment-information ajax call doesn't happen for some reason |
21,266 | 22.06.2021 16:37:55 | 14,400 | 7f8c65692f2c1e19636601c735149de849813254 | Update MFTFs for | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Command/Sales/AmazonChargePermissionCommand.php",
"diff": "+<?php\n+\n+namespace Amazon\\Pay\\Command\\Sales;\n+\n+use Symfony\\Component\\Console\\Command\\Command;\n+use Symfony\\Component\\Console\\Input\\InputInterface;\n+use Symfony\\Compon... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Update MFTFs for ASD-720 |
21,266 | 22.06.2021 16:49:35 | 14,400 | 24890d543077241db5f256e4db944d0a5c410f1e | Update tests to use switchToPopup action group | [
{
"change_type": "MODIFY",
"old_path": "Test/Mftf-23/Test/AmazonCheckoutLoginTest.xml",
"new_path": "Test/Mftf-23/Test/AmazonCheckoutLoginTest.xml",
"diff": "<!--Go to Amazon Pay from the checkout and login-->\n<click selector=\"{{AmazonButtonSection.checkout}}\" stepKey=\"clickAmazonButton\"/>\n- <... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Update tests to use switchToPopup action group |
21,266 | 23.06.2021 08:30:03 | 14,400 | f9e99bcd8576965457e894356495b84f45daa3f9 | Remove hard waits for popups from action groups | [
{
"change_type": "MODIFY",
"old_path": "Test/Mftf-23/ActionGroup/AmazonLoginAndCheckoutActionGroup.xml",
"new_path": "Test/Mftf-23/ActionGroup/AmazonLoginAndCheckoutActionGroup.xml",
"diff": "<wait time=\"1\" stepKey=\"allowButtonToActivate\"/>\n<click selector=\"{{buttonSelector}}\" stepKey=\"click... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Remove hard waits for popups from action groups |
21,266 | 25.06.2021 09:36:32 | 14,400 | 6810cb2f5bf6924b1f4b7401006a8904545009ad | Clean up smells and add error checks | [
{
"change_type": "MODIFY",
"old_path": "Test/Mftf-23/Test/AmazonCheckoutSuccessTest.xml",
"new_path": "Test/Mftf-23/Test/AmazonCheckoutSuccessTest.xml",
"diff": "</actionGroup>\n<grabTextFrom selector=\"{{CheckoutSuccessMainSection.orderNumber}}\" stepKey=\"orderNumber\" />\n- <magentoCLI command=\"... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-720 - Clean up smells and add error checks |
21,241 | 29.06.2021 12:18:24 | 18,000 | 0ec11806241cd1c0ee3fc02ad6c1315fa90b28dc | handle empty lines in address data | [
{
"change_type": "MODIFY",
"old_path": "Domain/AmazonAddress.php",
"new_path": "Domain/AmazonAddress.php",
"diff": "@@ -61,11 +61,12 @@ class AmazonAddress extends \\Magento\\Framework\\DataObject implements AmazonAddre\n{\nwhile ($times > 0) {\n$lines = $this->getData(AmazonAddressInterface::LINES)... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-731 - handle empty lines in address data |
21,241 | 01.07.2021 10:48:43 | 18,000 | 1852d4fb652f96e589e6228ddbb9cf97080c6307 | when payment info is edited, send the customer back through to re-select shipping because that could have changed | [
{
"change_type": "MODIFY",
"old_path": "view/frontend/web/js/model/storage.js",
"new_path": "view/frontend/web/js/model/storage.js",
"diff": "@@ -78,22 +78,6 @@ define([\n*/\ngetRegion: function() {\nreturn amazonPayConfig.getValue('region');\n- },\n-\n- /**\n- * @param value\n- * @returns {exports}... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-733 - when payment info is edited, send the customer back through to re-select shipping because that could have changed |
21,266 | 15.07.2021 13:41:42 | 14,400 | 9ea85a25cdd277e1f9cf9325175113ed8ee49082 | Add data/section/action group to fix missing action group error | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "Test/Mftf-23/ActionGroup/AmazonShipmentFormActionGroup.xml",
"diff": "+<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n+<actionGroups xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n+ xsi:noNamespaceSchemaLocation=\"urn:magento:mftf:Test/et... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Add data/section/action group to fix missing action group error |
21,241 | 16.07.2021 10:04:59 | 18,000 | 8e6f5c99b90b8c8a169d5a9ba81e23ef7ea691c9 | when processing a second/third/etc invoice for an order, if we have a charge permission ID we should be creating a charge rather than checking an auth | [
{
"change_type": "MODIFY",
"old_path": "Model/Adapter/AmazonPayAdapter.php",
"new_path": "Model/Adapter/AmazonPayAdapter.php",
"diff": "@@ -367,14 +367,13 @@ class AmazonPayAdapter\npublic function authorize($data)\n{\n$quote = $this->quoteRepository->get($data['quote_id']);\n- if (!empty($data['ama... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-750 - when processing a second/third/etc invoice for an order, if we have a charge permission ID we should be creating a charge rather than checking an auth |
21,241 | 16.07.2021 10:46:21 | 18,000 | bd0e4e3bbf8f3d6c85fccd361724030afef5b5a5 | don't process an async state change (particularly capture) unless invoice is open or doesn't exist, otherwise it will add a confusing message to the order | [
{
"change_type": "MODIFY",
"old_path": "Model/AsyncManagement/Charge.php",
"new_path": "Model/AsyncManagement/Charge.php",
"diff": "@@ -127,6 +127,13 @@ class Charge extends AbstractOperation\n$order = $this->loadOrder($chargeId);\nif ($order) {\n+ $invoice = $this->loadInvoice($chargeId, $order);\n... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-743 - don't process an async state change (particularly capture) unless invoice is open or doesn't exist, otherwise it will add a confusing message to the order |
21,241 | 19.07.2021 14:17:03 | 18,000 | c4b8aa037d8ae5f6eae5eec83777e639c6c9ade6 | removed charge balance check, sometimes would fail due to floating point comparison and it gives useful error messaging if you try to capture more than limit anyhow. Also added error log if the charge permission isn't in a state that can be charged. | [
{
"change_type": "MODIFY",
"old_path": "Model/Adapter/AmazonPayAdapter.php",
"new_path": "Model/Adapter/AmazonPayAdapter.php",
"diff": "@@ -372,8 +372,7 @@ class AmazonPayAdapter\n$quote->getStoreId(),\n$data['charge_permission_id']\n);\n- if ($getChargePermissionResponse['statusDetails']['state'] =... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-750 - removed charge balance check, sometimes would fail due to floating point comparison and it gives useful error messaging if you try to capture more than limit anyhow. Also added error log if the charge permission isn't in a state that can be charged. |
21,241 | 19.07.2021 14:38:42 | 18,000 | 5820f745395252eb41afd044d2222be715fcaf21 | remove js that hides config for multicurrency, rely on the helptext to guide usage | [
{
"change_type": "MODIFY",
"old_path": "view/adminhtml/web/js/autokeyexchange.js",
"new_path": "view/adminhtml/web/js/autokeyexchange.js",
"diff": "@@ -57,15 +57,6 @@ define(\nself.$amazonAutoKeyExchangeBack = $(self.apAutoKeyExchangeBackSelector);\nself.$container = $(self.apAutoKeyExchangeSelector... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-749 - remove js that hides config for multicurrency, rely on the helptext to guide usage |
21,241 | 20.07.2021 16:41:06 | 18,000 | ea07faf4f4ebf2548537337c5ba2d7837c9b9bf7 | Version bump for 5.6.0 and update changelog | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -48,7 +48,7 @@ The following table provides an overview on which Git branch is compatible to wh\nMagento Version | Github Branch | Latest release\n---|---|---\n2.2.6 - 2.2.11 (EOL) | [V2checkout-1.2.x](https://g... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Version bump for 5.6.0 and update changelog |
21,241 | 22.07.2021 13:43:48 | 18,000 | f9ced88f57f7a0f0a27e094fa29ef0262f31efcf | add full Magento version to the customInformation field | [
{
"change_type": "MODIFY",
"old_path": "Model/Adapter/AmazonPayAdapter.php",
"new_path": "Model/Adapter/AmazonPayAdapter.php",
"diff": "@@ -50,6 +50,11 @@ class AmazonPayAdapter\n*/\nprivate $amazonHelper;\n+ /**\n+ * @var \\Magento\\Framework\\App\\ProductMetadataInterface\n+ */\n+ private $product... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-751 - add full Magento version to the customInformation field |
21,241 | 22.07.2021 14:04:01 | 18,000 | 99024c2340834fa29eaa9296b6c980c191e43c6f | remove V2 from version string | [
{
"change_type": "MODIFY",
"old_path": "Model/Adapter/AmazonPayAdapter.php",
"new_path": "Model/Adapter/AmazonPayAdapter.php",
"diff": "@@ -110,7 +110,7 @@ class AmazonPayAdapter\nprotected function getMerchantCustomInformation()\n{\nreturn sprintf(\n- 'Magento Version: %s, Plugin Version: %s (v2)',... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-751 - remove V2 from version string |
21,241 | 23.07.2021 11:23:29 | 18,000 | e90cd93143810c4265b6e2266cfc7ffa6020e789 | Proxy console commands to correct marketplace submission failure | [
{
"change_type": "MODIFY",
"old_path": "Command/Async/ProcessCommand.php",
"new_path": "Command/Async/ProcessCommand.php",
"diff": "@@ -20,6 +20,14 @@ class ProcessCommand extends Command\n*/\nprivate $asyncUpdater;\n+ /**\n+ * ProcessCommand constructor.\n+ *\n+ * These dependencies are proxied, up... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Proxy console commands to correct marketplace submission failure |
21,250 | 30.07.2021 16:54:45 | 10,800 | 745860b1ce43d5d5e744ca2d4ba32fa41f0bfb4b | Display State/Province select when region is missing | [
{
"change_type": "MODIFY",
"old_path": "view/frontend/web/js/view/shipping.js",
"new_path": "view/frontend/web/js/view/shipping.js",
"diff": "define(\n[\n'jquery',\n- 'Amazon_Pay/js/model/storage'\n+ 'Amazon_Pay/js/model/storage',\n+ 'uiRegistry',\n+ 'Magento_Checkout/js/model/checkout-data-resolver... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-738: Display State/Province select when region is missing |
21,266 | 02.08.2021 08:34:48 | 14,400 | 72dedda7fd07d3a540ed641be8d8b1ba8ffa6aa2 | Add specific gateway validators to check object states | [
{
"change_type": "MODIFY",
"old_path": "Gateway/Validator/GeneralResponseValidator.php",
"new_path": "Gateway/Validator/GeneralResponseValidator.php",
"diff": "@@ -26,6 +26,13 @@ use Magento\\Payment\\Gateway\\Validator\\ResultInterface;\nclass GeneralResponseValidator extends AbstractValidator\n{\n... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-496 - Add specific gateway validators to check object states |
21,275 | 04.08.2021 09:24:13 | -7,200 | 40dbafdffcfadc4a5b0dba24db40255d508bccf7 | Add additional check if password hash is empty in auth process. Related to magento issue | [
{
"change_type": "MODIFY",
"old_path": "Controller/Login/ValidatePost.php",
"new_path": "Controller/Login/ValidatePost.php",
"diff": "@@ -84,7 +84,8 @@ class ValidatePost extends Action\nif (null !== $credentials && $credentials instanceof ValidationCredentials) {\n$password = $this->getRequest()->g... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Add additional check if password hash is empty in auth process. Related to magento issue #19060. |
21,241 | 05.08.2021 09:28:41 | 18,000 | afa9b10f169a2a71055d48393cff67c3e273c804 | add translation wrapper | [
{
"change_type": "MODIFY",
"old_path": "Controller/Login/ValidatePost.php",
"new_path": "Controller/Login/ValidatePost.php",
"diff": "@@ -91,7 +91,7 @@ class ValidatePost extends Action\n$this->customerLinkManagement->updateLink($credentials->getCustomerId(), $credentials->getAmazonId());\n$this->se... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-757 - add translation wrapper |
21,241 | 09.08.2021 17:40:19 | 18,000 | b79484ca6cf3209219da5772db1ffeb05fc0c280 | add option to load quote from masked cart ID for REST requests | [
{
"change_type": "MODIFY",
"old_path": "Api/CheckoutSessionManagementInterface.php",
"new_path": "Api/CheckoutSessionManagementInterface.php",
"diff": "@@ -21,9 +21,10 @@ namespace Amazon\\Pay\\Api;\ninterface CheckoutSessionManagementInterface\n{\n/**\n+ * @param mixed|null $cartId\n* @return mixed... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-756 - add option to load quote from masked cart ID for REST requests |
21,266 | 13.08.2021 15:17:54 | 14,400 | 5d7498a281375d66a5ac5d459863f75be5768c43 | Return order increment ID from complete endpoint instead of database entity ID | [
{
"change_type": "MODIFY",
"old_path": "Model/CheckoutSessionManagement.php",
"new_path": "Model/CheckoutSessionManagement.php",
"diff": "@@ -600,7 +600,7 @@ class CheckoutSessionManagement implements \\Amazon\\Pay\\Api\\CheckoutSessionManage\n$order = $this->orderRepository->get($orderId);\n$result... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-766 - Return order increment ID from complete endpoint instead of database entity ID |
21,247 | 10.08.2021 16:40:02 | -7,200 | 3cbd383f8ec39f31445d29ff42220afbf2b3da7e | fixed amount formatting | [
{
"change_type": "MODIFY",
"old_path": "Model/Adapter/AmazonPayAdapter.php",
"new_path": "Model/Adapter/AmazonPayAdapter.php",
"diff": "@@ -128,7 +128,7 @@ class AmazonPayAdapter\n$amount = round($amount);\nbreak;\ndefault:\n- $amount = (float) $amount;\n+ $amount = (float)number_format((float)$amou... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-761 - #1070 - fixed amount formatting |
21,247 | 11.08.2021 11:11:08 | -7,200 | cd0fb9abbc68c229d2df82dd5367b759e1c04a14 | Update Model/Adapter/AmazonPayAdapter.php | [
{
"change_type": "MODIFY",
"old_path": "Model/Adapter/AmazonPayAdapter.php",
"new_path": "Model/Adapter/AmazonPayAdapter.php",
"diff": "@@ -128,7 +128,7 @@ class AmazonPayAdapter\n$amount = round($amount);\nbreak;\ndefault:\n- $amount = (float)number_format((float)$amount, 2);\n+ $amount = (float)nu... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-761 - Update Model/Adapter/AmazonPayAdapter.php
Co-authored-by: Jay Becker <jay@beckr.com> |
21,266 | 17.08.2021 11:02:50 | 14,400 | ab8d501475e293ce476224461c8fa762ec8b4467 | Update gateway validators to use virtual types | [
{
"change_type": "MODIFY",
"old_path": "Gateway/Validator/GeneralResponseValidator.php",
"new_path": "Gateway/Validator/GeneralResponseValidator.php",
"diff": "@@ -33,6 +33,14 @@ class GeneralResponseValidator extends AbstractValidator\n*/\nprotected $validStates = [];\n+ public function __construct... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Update gateway validators to use virtual types |
21,266 | 17.08.2021 13:48:47 | 14,400 | adbe52226cc2e04cd1dfb26fbf3bce4dbb89368a | Include both order entity ID and increment ID (merchantReferenceId) on success of completeCheckoutSession | [
{
"change_type": "MODIFY",
"old_path": "Model/CheckoutSessionManagement.php",
"new_path": "Model/CheckoutSessionManagement.php",
"diff": "@@ -600,7 +600,8 @@ class CheckoutSessionManagement implements \\Amazon\\Pay\\Api\\CheckoutSessionManage\n$order = $this->orderRepository->get($orderId);\n$result... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-766 - Include both order entity ID and increment ID (merchantReferenceId) on success of completeCheckoutSession |
21,241 | 18.08.2021 15:56:07 | 18,000 | 06e6d33aa07349af3a6bd047a42d2820208aac01 | WIP - initial changes to support decoupled AP button render/click | [
{
"change_type": "MODIFY",
"old_path": "Model/CheckoutSessionManagement.php",
"new_path": "Model/CheckoutSessionManagement.php",
"diff": "@@ -308,6 +308,10 @@ class CheckoutSessionManagement implements \\Amazon\\Pay\\Api\\CheckoutSessionManage\n*/\npublic function getConfig()\n{\n+ // Ensure the tot... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-726 - WIP - initial changes to support decoupled AP button render/click |
21,241 | 23.08.2021 15:12:37 | 18,000 | a879e42f13ed6c491d000ac3d679b9a74d86f844 | remove use of isPlaceOrderActionAllowed | [
{
"change_type": "MODIFY",
"old_path": "view/frontend/web/js/view/payment/method-renderer/amazon-payment-method.js",
"new_path": "view/frontend/web/js/view/payment/method-renderer/amazon-payment-method.js",
"diff": "@@ -45,7 +45,6 @@ define(\ndefaults: {\nisAmazonCheckout: ko.observable(amazonStorag... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-681 - remove use of isPlaceOrderActionAllowed |
21,241 | 24.08.2021 16:09:20 | 18,000 | 505b6aaa6016a5848b84993e18c9af96d17fccd9 | Version bump to 5.7.0 and add to changelog | [
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "@@ -48,7 +48,7 @@ The following table provides an overview on which Git branch is compatible to wh\nMagento Version | Github Branch | Latest release\n---|---|---\n2.2.6 - 2.2.11 (EOL) | [V2checkout-1.2.x](https://g... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Version bump to 5.7.0 and add to changelog |
21,266 | 26.08.2021 14:47:09 | 14,400 | 38f50bb6e191f597b57d79b643b7f19fd49b7785 | Remove PID and buyerToken from logs | [
{
"change_type": "MODIFY",
"old_path": "Model/Adapter/AmazonPayAdapter.php",
"new_path": "Model/Adapter/AmazonPayAdapter.php",
"diff": "@@ -459,8 +459,29 @@ class AmazonPayAdapter\n// Log\n$isError = !in_array($response['status'], [200, 201]);\nif ($isError || $this->amazonConfig->isLoggingEnabled()... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-769 - Remove PID and buyerToken from logs |
21,241 | 31.08.2021 09:33:38 | 18,000 | 09db423b07bd4972ec0dd5d7852784c485b5b26c | if no phone number is provided, use "0" to satisfy Amazon API | [
{
"change_type": "MODIFY",
"old_path": "Model/Adapter/AmazonPayAdapter.php",
"new_path": "Model/Adapter/AmazonPayAdapter.php",
"diff": "@@ -570,6 +570,10 @@ class AmazonPayAdapter\n$addressData = array_filter($addressData);\n+ if (!array_key_exists('phoneNumber', $addressData)) {\n+ $addressData['ph... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-755 - if no phone number is provided, use "0" to satisfy Amazon API |
21,241 | 31.08.2021 14:45:33 | 18,000 | d12017faf2b954baf7269cbdeae8e289f350dbc3 | also remove fields from address if they are a single dash "-" | [
{
"change_type": "MODIFY",
"old_path": "Model/Adapter/AmazonPayAdapter.php",
"new_path": "Model/Adapter/AmazonPayAdapter.php",
"diff": "@@ -568,8 +568,12 @@ class AmazonPayAdapter\n$addressData[$addressKey] = $streetLine;\n}\n- $addressData = array_filter($addressData);\n+ // Remove empty fields, or... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-755 - also remove fields from address if they are a single dash "-" |
21,241 | 31.08.2021 16:32:13 | 18,000 | 5673ce274bd8a10f5ee2f25a1fe73e646d31f583 | Version bump to 5.7.1 and add to changelog | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG.md",
"new_path": "CHANGELOG.md",
"diff": "# Change Log\n+## 5.7.1\n+* Fixed issue when phone number not required and entered in Magento\n+* Updated API calls to take in a masked cart ID so they can be used without relying on Magento sessions\n+* Upda... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | Version bump to 5.7.1 and add to changelog |
21,266 | 01.09.2021 15:25:01 | 14,400 | 6b5cf376988368e276495d3623a072c490758386 | Allow custom order status to be displayed for certain payment/authorization flows | [
{
"change_type": "MODIFY",
"old_path": "Model/AsyncManagement/Charge.php",
"new_path": "Model/AsyncManagement/Charge.php",
"diff": "@@ -288,6 +288,7 @@ class Charge extends AbstractOperation\nif ($invoice && ($invoice->canCapture() || $invoice->getOrder()->getStatus() == Order::STATE_PAYMENT_REVIEW)... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-722 - Allow custom order status to be displayed for certain payment/authorization flows |
21,266 | 02.09.2021 13:08:23 | 14,400 | 0a8c793805a10d00de5bc5cb6e7c041dbf1d85d5 | Handle cancelling orders with no saved chargePermissionId (created in CV1) | [
{
"change_type": "MODIFY",
"old_path": "Gateway/Request/VoidRequestBuilder.php",
"new_path": "Gateway/Request/VoidRequestBuilder.php",
"diff": "@@ -50,7 +50,7 @@ class VoidRequestBuilder implements BuilderInterface\n// If we do not have a charge permission on the payment, try the first 3 sections of... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-776 - Handle cancelling orders with no saved chargePermissionId (created in CV1) |
21,266 | 07.09.2021 13:48:17 | 14,400 | 4d9f48baba174ea7dc2af489fbcf08b542ec70b0 | Trigger click on Pay Now button from standard Place Order button when using Iosc module | [
{
"change_type": "MODIFY",
"old_path": "view/frontend/web/js/view/payment/method-renderer/amazon-payment-method.js",
"new_path": "view/frontend/web/js/view/payment/method-renderer/amazon-payment-method.js",
"diff": "@@ -45,6 +45,7 @@ define(\ndefaults: {\nisAmazonCheckout: ko.observable(amazonStorag... | PHP | Apache License 2.0 | amzn/amazon-payments-magento-2-plugin | ASD-771 - Trigger click on Pay Now button from standard Place Order button when using Iosc module |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.