\\n\\n\"\n }\n]"},"language":{"kind":"string","value":"PHP"},"license":{"kind":"string","value":"Apache License 2.0"},"repo":{"kind":"string","value":"amzn/amazon-payments-magento-2-plugin"},"original_message":{"kind":"string","value":"Update re: APS-85 - adds password reset message to info block and no longer overrides base account edit template. (#382)"}}},{"rowIdx":186,"cells":{"author":{"kind":"number","value":21251,"string":"21,251"},"date":{"kind":"string","value":"01.11.2018 14:38:42"},"timezone":{"kind":"number","value":25200,"string":"25,200"},"hash":{"kind":"string","value":"7ad0081d9a2e294a3199b88555f17cbbf7a348ac"},"message":{"kind":"string","value":"version increase to 2.2.6"},"mods":{"kind":"list like","value":[{"change_type":"MODIFY","old_path":"composer.json","new_path":"composer.json","diff":"\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.5\",\n+ \"version\": \"2.2.6\",\n\"license\": [\n\"Apache-2.0\"\n],\n"},{"change_type":"MODIFY","old_path":"docs/conf.py","new_path":"docs/conf.py","diff":"@@ -60,9 +60,9 @@ author = u'Amazon.com Inc or its affiliates'\n# built documents.\n#\n# The short X.Y version.\n-version = u'2.2.5'\n+version = u'2.2.6'\n# The full version, including alpha/beta/rc tags.\n-release = u'2.2.5'\n+release = u'2.2.6'\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n"},{"change_type":"MODIFY","old_path":"docs/installation.rst","new_path":"docs/installation.rst","diff":"@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\n* Sign in to your server via SSH\n* `cd` into you Magento installation directory\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.5`\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.6`\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\n* Follow any advice the upgrade routine provides\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.5` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.6` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\n"},{"change_type":"MODIFY","old_path":"marketplace-composer.json","new_path":"marketplace-composer.json","diff":"\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"metapackage\",\n- \"version\": \"2.2.5\",\n+ \"version\": \"2.2.6\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.5\",\n- \"amzn/login-with-amazon-module\": \"2.2.5\",\n- \"amzn/amazon-pay-module\": \"2.2.5\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.6\",\n+ \"amzn/login-with-amazon-module\": \"2.2.6\",\n+ \"amzn/amazon-pay-module\": \"2.2.6\"\n}\n}\n"},{"change_type":"MODIFY","old_path":"src/Core/composer.json","new_path":"src/Core/composer.json","diff":"\"name\": \"amzn/amazon-pay-and-login-with-amazon-core-module\",\n\"description\": \"Shared functionality for Amazon Pay and Login with Amazon modules\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.5\",\n+ \"version\": \"2.2.6\",\n\"license\": [\n\"Apache-2.0\"\n],\n"},{"change_type":"MODIFY","old_path":"src/Core/etc/module.xml","new_path":"src/Core/etc/module.xml","diff":"\n\n- \n+ \n\n\n\n"},{"change_type":"MODIFY","old_path":"src/Login/composer.json","new_path":"src/Login/composer.json","diff":"\"name\": \"amzn/login-with-amazon-module\",\n\"description\": \"Login with Amazon module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.5\",\n+ \"version\": \"2.2.6\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.5\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.6\",\n\"magento/module-customer\": \"*\",\n\"magento/module-store\": \"*\",\n\"magento/module-eav\": \"*\",\n"},{"change_type":"MODIFY","old_path":"src/Login/etc/module.xml","new_path":"src/Login/etc/module.xml","diff":"\n\n- \n+ \n\n\n\n"},{"change_type":"MODIFY","old_path":"src/Payment/composer.json","new_path":"src/Payment/composer.json","diff":"\"name\": \"amzn/amazon-pay-module\",\n\"description\": \"Amazon Pay module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.5\",\n+ \"version\": \"2.2.6\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.5\",\n- \"amzn/login-with-amazon-module\": \"^2.2.5\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.6\",\n+ \"amzn/login-with-amazon-module\": \"^2.2.6\",\n\"magento/module-eav\": \"*\",\n\"magento/module-sales\": \"*\",\n\"magento/module-quote\": \"*\",\n"},{"change_type":"MODIFY","old_path":"src/Payment/etc/module.xml","new_path":"src/Payment/etc/module.xml","diff":"\n\n- \n+ \n\n\n\n"}],"string":"[\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"composer.json\",\n \"new_path\": \"composer.json\",\n \"diff\": \"\\\"name\\\": \\\"amzn/amazon-pay-and-login-magento-2-module\\\",\\n\\\"description\\\": \\\"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\\\",\\n\\\"type\\\": \\\"magento2-module\\\",\\n- \\\"version\\\": \\\"2.2.5\\\",\\n+ \\\"version\\\": \\\"2.2.6\\\",\\n\\\"license\\\": [\\n\\\"Apache-2.0\\\"\\n],\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"docs/conf.py\",\n \"new_path\": \"docs/conf.py\",\n \"diff\": \"@@ -60,9 +60,9 @@ author = u'Amazon.com Inc or its affiliates'\\n# built documents.\\n#\\n# The short X.Y version.\\n-version = u'2.2.5'\\n+version = u'2.2.6'\\n# The full version, including alpha/beta/rc tags.\\n-release = u'2.2.5'\\n+release = u'2.2.6'\\n# The language for content autogenerated by Sphinx. Refer to documentation\\n# for a list of supported languages.\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"docs/installation.rst\",\n \"new_path\": \"docs/installation.rst\",\n \"diff\": \"@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\\n* Sign in to your server via SSH\\n* `cd` into you Magento installation directory\\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.5`\\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.6`\\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\\n* Follow any advice the upgrade routine provides\\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.5` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.6` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"marketplace-composer.json\",\n \"new_path\": \"marketplace-composer.json\",\n \"diff\": \"\\\"name\\\": \\\"amzn/amazon-pay-and-login-magento-2-module\\\",\\n\\\"description\\\": \\\"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\\\",\\n\\\"type\\\": \\\"metapackage\\\",\\n- \\\"version\\\": \\\"2.2.5\\\",\\n+ \\\"version\\\": \\\"2.2.6\\\",\\n\\\"license\\\": [\\n\\\"Apache-2.0\\\"\\n],\\n\\\"require\\\": {\\n- \\\"amzn/amazon-pay-and-login-with-amazon-core-module\\\": \\\"2.2.5\\\",\\n- \\\"amzn/login-with-amazon-module\\\": \\\"2.2.5\\\",\\n- \\\"amzn/amazon-pay-module\\\": \\\"2.2.5\\\"\\n+ \\\"amzn/amazon-pay-and-login-with-amazon-core-module\\\": \\\"2.2.6\\\",\\n+ \\\"amzn/login-with-amazon-module\\\": \\\"2.2.6\\\",\\n+ \\\"amzn/amazon-pay-module\\\": \\\"2.2.6\\\"\\n}\\n}\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"src/Core/composer.json\",\n \"new_path\": \"src/Core/composer.json\",\n \"diff\": \"\\\"name\\\": \\\"amzn/amazon-pay-and-login-with-amazon-core-module\\\",\\n\\\"description\\\": \\\"Shared functionality for Amazon Pay and Login with Amazon modules\\\",\\n\\\"type\\\": \\\"magento2-module\\\",\\n- \\\"version\\\": \\\"2.2.5\\\",\\n+ \\\"version\\\": \\\"2.2.6\\\",\\n\\\"license\\\": [\\n\\\"Apache-2.0\\\"\\n],\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"src/Core/etc/module.xml\",\n \"new_path\": \"src/Core/etc/module.xml\",\n \"diff\": \"\\n\\n- \\n+ \\n\\n\\n\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"src/Login/composer.json\",\n \"new_path\": \"src/Login/composer.json\",\n \"diff\": \"\\\"name\\\": \\\"amzn/login-with-amazon-module\\\",\\n\\\"description\\\": \\\"Login with Amazon module\\\",\\n\\\"type\\\": \\\"magento2-module\\\",\\n- \\\"version\\\": \\\"2.2.5\\\",\\n+ \\\"version\\\": \\\"2.2.6\\\",\\n\\\"license\\\": [\\n\\\"Apache-2.0\\\"\\n],\\n\\\"require\\\": {\\n\\\"php\\\": \\\"~7.0.13|~7.1.0|~7.2.0\\\",\\n- \\\"amzn/amazon-pay-and-login-with-amazon-core-module\\\": \\\"^2.2.5\\\",\\n+ \\\"amzn/amazon-pay-and-login-with-amazon-core-module\\\": \\\"^2.2.6\\\",\\n\\\"magento/module-customer\\\": \\\"*\\\",\\n\\\"magento/module-store\\\": \\\"*\\\",\\n\\\"magento/module-eav\\\": \\\"*\\\",\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"src/Login/etc/module.xml\",\n \"new_path\": \"src/Login/etc/module.xml\",\n \"diff\": \"\\n\\n- \\n+ \\n\\n\\n\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"src/Payment/composer.json\",\n \"new_path\": \"src/Payment/composer.json\",\n \"diff\": \"\\\"name\\\": \\\"amzn/amazon-pay-module\\\",\\n\\\"description\\\": \\\"Amazon Pay module\\\",\\n\\\"type\\\": \\\"magento2-module\\\",\\n- \\\"version\\\": \\\"2.2.5\\\",\\n+ \\\"version\\\": \\\"2.2.6\\\",\\n\\\"license\\\": [\\n\\\"Apache-2.0\\\"\\n],\\n\\\"require\\\": {\\n\\\"php\\\": \\\"~7.0.13|~7.1.0|~7.2.0\\\",\\n- \\\"amzn/amazon-pay-and-login-with-amazon-core-module\\\": \\\"^2.2.5\\\",\\n- \\\"amzn/login-with-amazon-module\\\": \\\"^2.2.5\\\",\\n+ \\\"amzn/amazon-pay-and-login-with-amazon-core-module\\\": \\\"^2.2.6\\\",\\n+ \\\"amzn/login-with-amazon-module\\\": \\\"^2.2.6\\\",\\n\\\"magento/module-eav\\\": \\\"*\\\",\\n\\\"magento/module-sales\\\": \\\"*\\\",\\n\\\"magento/module-quote\\\": \\\"*\\\",\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"src/Payment/etc/module.xml\",\n \"new_path\": \"src/Payment/etc/module.xml\",\n \"diff\": \"\\n\\n- \\n+ \\n\\n\\n\\n\"\n }\n]"},"language":{"kind":"string","value":"PHP"},"license":{"kind":"string","value":"Apache License 2.0"},"repo":{"kind":"string","value":"amzn/amazon-payments-magento-2-plugin"},"original_message":{"kind":"string","value":"version increase to 2.2.6 (#386)"}}},{"rowIdx":187,"cells":{"author":{"kind":"number","value":21251,"string":"21,251"},"date":{"kind":"string","value":"01.11.2018 17:32:49"},"timezone":{"kind":"number","value":25200,"string":"25,200"},"hash":{"kind":"string","value":"944fe1d421e963230f88684fdd5f009566ea659d"},"message":{"kind":"string","value":"version increase to 2.2.7"},"mods":{"kind":"list like","value":[{"change_type":"MODIFY","old_path":"composer.json","new_path":"composer.json","diff":"\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.6\",\n+ \"version\": \"2.2.7\",\n\"license\": [\n\"Apache-2.0\"\n],\n"},{"change_type":"MODIFY","old_path":"docs/conf.py","new_path":"docs/conf.py","diff":"@@ -60,9 +60,9 @@ author = u'Amazon.com Inc or its affiliates'\n# built documents.\n#\n# The short X.Y version.\n-version = u'2.2.6'\n+version = u'2.2.7'\n# The full version, including alpha/beta/rc tags.\n-release = u'2.2.6'\n+release = u'2.2.7'\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n"},{"change_type":"MODIFY","old_path":"docs/installation.rst","new_path":"docs/installation.rst","diff":"@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\n* Sign in to your server via SSH\n* `cd` into you Magento installation directory\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.6`\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.7`\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\n* Follow any advice the upgrade routine provides\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.6` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.7` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\n"},{"change_type":"MODIFY","old_path":"marketplace-composer.json","new_path":"marketplace-composer.json","diff":"\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"metapackage\",\n- \"version\": \"2.2.6\",\n+ \"version\": \"2.2.7\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.6\",\n- \"amzn/login-with-amazon-module\": \"2.2.6\",\n- \"amzn/amazon-pay-module\": \"2.2.6\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.7\",\n+ \"amzn/login-with-amazon-module\": \"2.2.7\",\n+ \"amzn/amazon-pay-module\": \"2.2.7\"\n}\n}\n"},{"change_type":"MODIFY","old_path":"src/Core/composer.json","new_path":"src/Core/composer.json","diff":"\"name\": \"amzn/amazon-pay-and-login-with-amazon-core-module\",\n\"description\": \"Shared functionality for Amazon Pay and Login with Amazon modules\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.6\",\n+ \"version\": \"2.2.7\",\n\"license\": [\n\"Apache-2.0\"\n],\n"},{"change_type":"MODIFY","old_path":"src/Core/etc/module.xml","new_path":"src/Core/etc/module.xml","diff":"*/\n-->\n\n- \n+ \n\n\n\n"},{"change_type":"MODIFY","old_path":"src/Login/composer.json","new_path":"src/Login/composer.json","diff":"\"name\": \"amzn/login-with-amazon-module\",\n\"description\": \"Login with Amazon module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.6\",\n+ \"version\": \"2.2.7\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.6\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.7\",\n\"magento/module-customer\": \"*\",\n\"magento/module-store\": \"*\",\n\"magento/module-eav\": \"*\",\n"},{"change_type":"MODIFY","old_path":"src/Login/etc/module.xml","new_path":"src/Login/etc/module.xml","diff":"*/\n-->\n\n- \n+ \n\n\n\n"},{"change_type":"MODIFY","old_path":"src/Payment/composer.json","new_path":"src/Payment/composer.json","diff":"\"name\": \"amzn/amazon-pay-module\",\n\"description\": \"Amazon Pay module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.6\",\n+ \"version\": \"2.2.7\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.6\",\n- \"amzn/login-with-amazon-module\": \"^2.2.6\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.7\",\n+ \"amzn/login-with-amazon-module\": \"^2.2.7\",\n\"magento/module-eav\": \"*\",\n\"magento/module-sales\": \"*\",\n\"magento/module-quote\": \"*\",\n"},{"change_type":"MODIFY","old_path":"src/Payment/etc/module.xml","new_path":"src/Payment/etc/module.xml","diff":"*/\n-->\n\n- \n+ \n\n\n\n"}],"string":"[\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"composer.json\",\n \"new_path\": \"composer.json\",\n \"diff\": \"\\\"name\\\": \\\"amzn/amazon-pay-and-login-magento-2-module\\\",\\n\\\"description\\\": \\\"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\\\",\\n\\\"type\\\": \\\"magento2-module\\\",\\n- \\\"version\\\": \\\"2.2.6\\\",\\n+ \\\"version\\\": \\\"2.2.7\\\",\\n\\\"license\\\": [\\n\\\"Apache-2.0\\\"\\n],\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"docs/conf.py\",\n \"new_path\": \"docs/conf.py\",\n \"diff\": \"@@ -60,9 +60,9 @@ author = u'Amazon.com Inc or its affiliates'\\n# built documents.\\n#\\n# The short X.Y version.\\n-version = u'2.2.6'\\n+version = u'2.2.7'\\n# The full version, including alpha/beta/rc tags.\\n-release = u'2.2.6'\\n+release = u'2.2.7'\\n# The language for content autogenerated by Sphinx. Refer to documentation\\n# for a list of supported languages.\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"docs/installation.rst\",\n \"new_path\": \"docs/installation.rst\",\n \"diff\": \"@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\\n* Sign in to your server via SSH\\n* `cd` into you Magento installation directory\\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.6`\\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.7`\\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\\n* Follow any advice the upgrade routine provides\\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.6` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.7` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"marketplace-composer.json\",\n \"new_path\": \"marketplace-composer.json\",\n \"diff\": \"\\\"name\\\": \\\"amzn/amazon-pay-and-login-magento-2-module\\\",\\n\\\"description\\\": \\\"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\\\",\\n\\\"type\\\": \\\"metapackage\\\",\\n- \\\"version\\\": \\\"2.2.6\\\",\\n+ \\\"version\\\": \\\"2.2.7\\\",\\n\\\"license\\\": [\\n\\\"Apache-2.0\\\"\\n],\\n\\\"require\\\": {\\n- \\\"amzn/amazon-pay-and-login-with-amazon-core-module\\\": \\\"2.2.6\\\",\\n- \\\"amzn/login-with-amazon-module\\\": \\\"2.2.6\\\",\\n- \\\"amzn/amazon-pay-module\\\": \\\"2.2.6\\\"\\n+ \\\"amzn/amazon-pay-and-login-with-amazon-core-module\\\": \\\"2.2.7\\\",\\n+ \\\"amzn/login-with-amazon-module\\\": \\\"2.2.7\\\",\\n+ \\\"amzn/amazon-pay-module\\\": \\\"2.2.7\\\"\\n}\\n}\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"src/Core/composer.json\",\n \"new_path\": \"src/Core/composer.json\",\n \"diff\": \"\\\"name\\\": \\\"amzn/amazon-pay-and-login-with-amazon-core-module\\\",\\n\\\"description\\\": \\\"Shared functionality for Amazon Pay and Login with Amazon modules\\\",\\n\\\"type\\\": \\\"magento2-module\\\",\\n- \\\"version\\\": \\\"2.2.6\\\",\\n+ \\\"version\\\": \\\"2.2.7\\\",\\n\\\"license\\\": [\\n\\\"Apache-2.0\\\"\\n],\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"src/Core/etc/module.xml\",\n \"new_path\": \"src/Core/etc/module.xml\",\n \"diff\": \"*/\\n-->\\n\\n- \\n+ \\n\\n\\n\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"src/Login/composer.json\",\n \"new_path\": \"src/Login/composer.json\",\n \"diff\": \"\\\"name\\\": \\\"amzn/login-with-amazon-module\\\",\\n\\\"description\\\": \\\"Login with Amazon module\\\",\\n\\\"type\\\": \\\"magento2-module\\\",\\n- \\\"version\\\": \\\"2.2.6\\\",\\n+ \\\"version\\\": \\\"2.2.7\\\",\\n\\\"license\\\": [\\n\\\"Apache-2.0\\\"\\n],\\n\\\"require\\\": {\\n\\\"php\\\": \\\"~7.0.13|~7.1.0|~7.2.0\\\",\\n- \\\"amzn/amazon-pay-and-login-with-amazon-core-module\\\": \\\"^2.2.6\\\",\\n+ \\\"amzn/amazon-pay-and-login-with-amazon-core-module\\\": \\\"^2.2.7\\\",\\n\\\"magento/module-customer\\\": \\\"*\\\",\\n\\\"magento/module-store\\\": \\\"*\\\",\\n\\\"magento/module-eav\\\": \\\"*\\\",\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"src/Login/etc/module.xml\",\n \"new_path\": \"src/Login/etc/module.xml\",\n \"diff\": \"*/\\n-->\\n\\n- \\n+ \\n\\n\\n\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"src/Payment/composer.json\",\n \"new_path\": \"src/Payment/composer.json\",\n \"diff\": \"\\\"name\\\": \\\"amzn/amazon-pay-module\\\",\\n\\\"description\\\": \\\"Amazon Pay module\\\",\\n\\\"type\\\": \\\"magento2-module\\\",\\n- \\\"version\\\": \\\"2.2.6\\\",\\n+ \\\"version\\\": \\\"2.2.7\\\",\\n\\\"license\\\": [\\n\\\"Apache-2.0\\\"\\n],\\n\\\"require\\\": {\\n\\\"php\\\": \\\"~7.0.13|~7.1.0|~7.2.0\\\",\\n- \\\"amzn/amazon-pay-and-login-with-amazon-core-module\\\": \\\"^2.2.6\\\",\\n- \\\"amzn/login-with-amazon-module\\\": \\\"^2.2.6\\\",\\n+ \\\"amzn/amazon-pay-and-login-with-amazon-core-module\\\": \\\"^2.2.7\\\",\\n+ \\\"amzn/login-with-amazon-module\\\": \\\"^2.2.7\\\",\\n\\\"magento/module-eav\\\": \\\"*\\\",\\n\\\"magento/module-sales\\\": \\\"*\\\",\\n\\\"magento/module-quote\\\": \\\"*\\\",\\n\"\n },\n {\n \"change_type\": \"MODIFY\",\n \"old_path\": \"src/Payment/etc/module.xml\",\n \"new_path\": \"src/Payment/etc/module.xml\",\n \"diff\": \"*/\\n-->\\n\\n- \\n+ \\n\\n\\n\\n\"\n }\n]"},"language":{"kind":"string","value":"PHP"},"license":{"kind":"string","value":"Apache License 2.0"},"repo":{"kind":"string","value":"amzn/amazon-payments-magento-2-plugin"},"original_message":{"kind":"string","value":"version increase to 2.2.7 (#388)"}}},{"rowIdx":188,"cells":{"author":{"kind":"number","value":21245,"string":"21,245"},"date":{"kind":"string","value":"05.11.2018 21:27:57"},"timezone":{"kind":"number","value":25200,"string":"25,200"},"hash":{"kind":"string","value":"7172998afc544f771d2d92d79242149a11f39718"},"message":{"kind":"string","value":"Update - addresses non-code/style related items reported by internal Magento test"},"mods":{"kind":"list like","value":[{"change_type":"MODIFY","old_path":"src/Core/Block/Config.php","new_path":"src/Core/Block/Config.php","diff":"@@ -23,6 +23,9 @@ use Magento\\Framework\\View\\Element\\Template\\Context;\n/**\n* Config\n+ *\n+ * @api\n+ *\n* Provides a block that displays links to available custom error logs in Amazon Pay admin/config section.\n*/\nclass Config extends Template\n"},{"change_type":"MODIFY","old_path":"src/Core/composer.json","new_path":"src/Core/composer.json","diff":"\"Apache-2.0\"\n],\n\"require\": {\n- \"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n+ \"php\": \"~7.1.3||~7.2.0\",\n\"magento/framework\": \"*\",\n+ \"magento/module-sales\": \"*\",\n\"magento/module-config\": \"*\",\n\"magento/module-store\": \"*\",\n\"magento/module-developer\": \"*\",\n"},{"change_type":"MODIFY","old_path":"src/Core/view/adminhtml/templates/system/config/logs.phtml","new_path":"src/Core/view/adminhtml/templates/system/config/logs.phtml","diff":"*/\n?>\n-
getLinks(); ?>
\n\\ No newline at end of file\n+
getLinks(); ?>
\n\\ No newline at end of file\n"},{"change_type":"MODIFY","old_path":"src/Core/view/adminhtml/web/js/simplepath.js","new_path":"src/Core/view/adminhtml/web/js/simplepath.js","diff":"@@ -45,6 +45,7 @@ define(\n*/\ninitObservable: function () {\nvar self = this;\n+\nself.$amazonSimplepath = $('#amazon_simplepath');\nself.$amazonFields = $('#payment_' + self.getCountry() + '_' + self.selector + ' .form-list');\nself.$amazonCredentialsHeader = $('#payment_' + self.getCountry() + '_' + self.selector\n@@ -79,6 +80,7 @@ define(\n*/\ninitEventHandlers: function () {\nvar self = this;\n+\nself.$amazonSpBack.click(function () {\nself.showAmazonConfig();\nreturn false;\n@@ -93,20 +95,20 @@ define(\nself.setupWindowLaunch();\n});\n- self.$amazonCredentialJson.on('input', function (e) {\n+ self.$amazonCredentialJson.on('input', function () {\nself.updateCredentials(self);\n});\n},\n/**\n- * Detects when a properly formatted JSON block is pasted into the Credentials JSON field and auto populates\n- * specified fields.\n+ * Detects when a properly formatted JSON block is pasted into the Credentials JSON field\n+ * and auto populates specified fields.\n*\n* @param self\n*/\nupdateCredentials: function (self) {\n- var elJson = self.$amazonCredentialJson.val();\n- var obj = null;\n+ var elJson = self.$amazonCredentialJson.val(), obj = null;\n+\ntry {\nobj = $.parseJSON($.trim(elJson));\n}\n@@ -120,8 +122,12 @@ define(\nif (obj && typeof obj === 'object') {\nvar success = true;\n+\nfor (var prop in obj) {\n- var item = $('#payment_' + self.getCountry() + '_amazon_payment_credentials_' + $.trim(prop));\n+ if ($.trim(prop)) {\n+ var item = $('#payment_' + self.getCountry() + '_amazon_payment_credentials_'\n+ + $.trim(prop));\n+\nif (item && item.length) {\n$('#payment_' + self.getCountry() + '_amazon_payment_credentials_'\n+ $.trim(prop)).val($.trim(obj[prop]));\n@@ -130,6 +136,7 @@ define(\nsuccess = false;\n}\n}\n+ }\nif (success) {\nself.$amazonCredentialJson.val('').attr(\n@@ -141,7 +148,8 @@ define(\nelse {\nself.$amazonCredentialJson.val('').attr(\n'placeholder',\n- $t('One or more of your credential fields did not parse correctly. Please review your entry and try again.')\n+ $t('One or more of your credential fields did not parse correctly. ' +\n+ 'Please review your entry and try again.')\n).focus();\n}\n}\n@@ -151,12 +159,19 @@ define(\n* Sets up Amazon merchant key popup and polls for data update upon user completion.\n*/\nsetupWindowLaunch: function () {\n- var self = this;\n- var heights = [660, 720, 810, 900];\n- var popupWidth = this.getCountry() !== 'us' ? 768 : 1050;\n- var popupHeight = heights[0];\n+ var self = this,\n+ heights = [660, 720, 810, 900],\n+ popupWidth = this.getCountry() !== 'us' ? 768 : 1050, popupHeight = heights[0],\n+ region = self.region,\n+ elCheckDefault = $('#payment_' + self.getCountry()\n+ + '_amazon_payment_credentials_payment_region_inherit:checked'),\n+ elRegion = $('payment_' + self.getCountry() + '_amazon_payment_credentials_payment_region'),\n+ elJson = self.$amazonCredentialJson.val();\n+\nfor (var i in heights) {\n- popupHeight = (window.innerHeight >= heights[i]) ? heights[i] : popupHeight;\n+ if (heights.hasOwnProperty(i)) {\n+ popupHeight = window.innerHeight >= heights[i] ? heights[i] : popupHeight;\n+ }\n}\nself.launchPopup(self.amazonUrl, popupWidth, popupHeight);\n@@ -171,6 +186,7 @@ define(\n$('#save-json').click(function (e) {\ne.stop();\nvar json = $('#json-import').value;\n+\nif (!json || !json.isJSON()) {\nreturn;\n}\n@@ -179,16 +195,14 @@ define(\n});\n// Autoset payment region (for EU/UK)\n- var region = self.region;\n- if (self.region.indexOf('eu') != -1) {\n+ if (self.region.indexOf('eu') !== -1) {\nregion = 'de';\n}\n- var elCheckDefault = $('#payment_' + self.getCountry()\n- + '_amazon_payment_credentials_payment_region_inherit:checked');\n+\nif (elCheckDefault && elCheckDefault.length) {\nelCheckDefault[0].click();\n}\n- var elRegion = $('payment_' + self.getCountry() + '_amazon_payment_credentials_payment_region');\n+\nif (elRegion) {\nelRegion.value = region;\n}\n@@ -231,6 +245,8 @@ define(\n* Sets up dynamic form for capturing popup/form input for simple path setup.\n*/\ngenerateSimplePathForm: function () {\n+ var spElement = null;\n+\nthis.$form = new Element('form', {\nmethod: 'post',\naction: this.amazonUrl,\n@@ -243,26 +259,28 @@ define(\n// Convert formParams JSON to hidden inputs\nfor (var key in this.formParams) {\n- if (typeof this.formParams[key] === 'object' || typeof this.formParams[key] === 'array') {\n+ if (typeof this.formParams[key] == 'object' || typeof this.formParams[key] === 'array') {\nfor (var i in this.formParams[key]) {\nif (typeof this.formParams[key][i] !== 'function') {\n- var element = new Element('input', {\n+ spElement = new Element('input', {\ntype: 'hidden',\nname: key,\nvalue: this.formParams[key][i],\nnovalidate: 'novalidate'\n});\n- $(element).appendTo($(\"#simplepath_form\"));\n+\n+ $(spElement).appendTo($(\"#simplepath_form\"));\n}\n}\n} else {\n- var element = new Element('input', {\n+ spElement = new Element('input', {\ntype: 'hidden',\nname: key,\nnovalidate: 'novalidate',\nvalue: this.formParams[key]\n});\n- $(element).appendTo($(\"#simplepath_form\"));\n+\n+ $(spElement).appendTo($(\"#simplepath_form\"));\n}\n}\n@@ -307,11 +325,10 @@ define(\n* @param requestedHeight\n*/\nlaunchPopup: function (url, requestedWidth, requestedHeight) {\n- var self = this;\nvar leftOffset = this.getLeftOffset(requestedWidth),\ntopOffset = this.getTopOffset(requestedHeight),\n- newWindow = window.open(url, 'simplepath', 'scrollbars=yes, width=' + requestedWidth + ', height=' +\n- requestedHeight + ', top=' + topOffset + ', left=' + leftOffset);\n+ newWindow = window.open(url, 'simplepath', 'scrollbars=yes, width=' + requestedWidth\n+ + ', height=' + requestedHeight + ', top=' + topOffset + ', left=' + leftOffset);\nif (window.focus) {\nnewWindow.focus();\n@@ -333,7 +350,8 @@ define(\n*/\ngetLeftOffset: function (requestedWidth) {\nvar dualScreenLeft = window.screenLeft !== undefined ? window.screenLeft : screen.left;\n- return ((this.windowWidth() / 2) - (requestedWidth / 2)) + dualScreenLeft;\n+\n+ return (this.windowWidth() / 2) - (requestedWidth / 2) + dualScreenLeft;\n},\n/**\n@@ -343,7 +361,8 @@ define(\n*/\ngetTopOffset: function (requestedHeight) {\nvar dualScreenTop = window.screenTop !== undefined ? window.screenTop : screen.top;\n- return ((this.windowHeight() / 2) - (requestedHeight / 2)) + dualScreenTop;\n+\n+ return (this.windowHeight() / 2) - (requestedHeight / 2) + dualScreenTop;\n},\n/**\n@@ -355,9 +374,9 @@ define(\nreturn window.innerWidth;\n} else if (document.documentElement.clientWidth) {\nreturn document.documentElement.clientWidth;\n- } else {\n- return screen.width;\n}\n+\n+ return screen.width;\n},\n/**\n@@ -369,9 +388,9 @@ define(\nreturn window.innerHeight;\n} else if (document.documentElement.clientHeight) {\nreturn document.documentElement.clientHeight;\n- } else {\n- return screen.height;\n}\n+\n+ return screen.height;\n}\n}\n);\n"},{"change_type":"MODIFY","old_path":"src/Login/composer.json","new_path":"src/Login/composer.json","diff":"\"Apache-2.0\"\n],\n\"require\": {\n- \"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n+ \"php\": \"~7.1.3||~7.2.0\",\n\"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.7\",\n\"magento/module-customer\": \"*\",\n\"magento/module-store\": \"*\",\n"},{"change_type":"MODIFY","old_path":"src/Payment/Block/Widget/ResetPassword.php","new_path":"src/Payment/Block/Widget/ResetPassword.php","diff":"@@ -14,6 +14,9 @@ use Magento\\Framework\\UrlFactory;\nuse Magento\\Customer\\Model\\Session;\nuse Amazon\\Login\\Api\\CustomerLinkRepositoryInterface;\n+/**\n+ * @api\n+ */\nclass ResetPassword extends Template\n{\n"},{"change_type":"MODIFY","old_path":"src/Payment/composer.json","new_path":"src/Payment/composer.json","diff":"\"Apache-2.0\"\n],\n\"require\": {\n- \"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n+ \"php\": \"~7.1.3||~7.2.0\",\n\"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.7\",\n\"amzn/login-with-amazon-module\": \"^2.2.7\",\n+ \"magento/module-customer\": \"*\",\n\"magento/module-eav\": \"*\",\n\"magento/module-sales\": \"*\",\n\"magento/module-quote\": \"*\",\n"},{"change_type":"MODIFY","old_path":"src/Payment/view/frontend/templates/widget/resetpassword.phtml","new_path":"src/Payment/view/frontend/templates/widget/resetpassword.phtml","diff":"?>\n
[
{
"change_type": "MODIFY",
"old_path": "composer.json",
"new_path": "composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"magento2-module\",\n- \"version\": \"1.2.0\",\n+ \"version\": \"1.2.1\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/installation.rst",
"new_path": "docs/installation.rst",
"diff": "@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\n* Sign in to your server via SSH\n* `cd` into you Magento installation directory\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^1.2.0`\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^1.2.1`\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\n* Follow any advice the upgrade routine provides\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^1.2.0` will always instal the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^1.2.1` will always instal the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\n"
},
{
"change_type": "MODIFY",
"old_path": "marketplace-composer.json",
"new_path": "marketplace-composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"metapackage\",\n- \"version\": \"1.2.0\",\n+ \"version\": \"1.2.1\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"amzn/amazon-pay-sdk-php\": \"^3.1.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"1.2.0\",\n- \"amzn/login-with-amazon-module\": \"1.2.0\",\n- \"amzn/amazon-pay-module\": \"1.2.0\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"1.2.1\",\n+ \"amzn/login-with-amazon-module\": \"1.2.1\",\n+ \"amzn/amazon-pay-module\": \"1.2.1\"\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/composer.json",
"new_path": "src/Core/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-with-amazon-core-module\",\n\"description\": \"Shared functionality for Amazon Pay and Login with Amazon modules\",\n\"type\": \"magento2-module\",\n- \"version\": \"1.2.0\",\n+ \"version\": \"1.2.1\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/module.xml",
"new_path": "src/Core/etc/module.xml",
"diff": "<?xml version=\"1.0\"?>\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Core\" setup_version=\"1.2.0\">\n+ <module name=\"Amazon_Core\" setup_version=\"1.2.1\">\n<sequence>\n<module name=\"Magento_Config\" />\n<module name=\"Magento_Store\" />\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/composer.json",
"new_path": "src/Login/composer.json",
"diff": "\"name\": \"amzn/login-with-amazon-module\",\n\"description\": \"Login with Amazon module\",\n\"type\": \"magento2-module\",\n- \"version\": \"1.2.0\",\n+ \"version\": \"1.2.1\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/composer.json",
"new_path": "src/Payment/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-module\",\n\"description\": \"Amazon Pay module\",\n\"type\": \"magento2-module\",\n- \"version\": \"1.2.0\",\n+ \"version\": \"1.2.1\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
version increase 1.2.1
21,259
07.12.2017 16:16:44
-3,600
2fb780118953a57a7745bfae935e1ede6fd7e5ef
Update versions and fixed outdated dependencies
[
{
"change_type": "MODIFY",
"old_path": "composer.json",
"new_path": "composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"magento2-module\",\n- \"version\": \"1.2.1\",\n+ \"version\": \"1.2.2\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/installation.rst",
"new_path": "docs/installation.rst",
"diff": "@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\n* Sign in to your server via SSH\n* `cd` into you Magento installation directory\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^1.2.1`\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^1.2.2`\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\n* Follow any advice the upgrade routine provides\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^1.2.1` will always instal the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^1.2.2` will always instal the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\n"
},
{
"change_type": "MODIFY",
"old_path": "marketplace-composer.json",
"new_path": "marketplace-composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"metapackage\",\n- \"version\": \"1.2.1\",\n+ \"version\": \"1.2.2\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"amzn/amazon-pay-sdk-php\": \"^3.1.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"1.2.1\",\n- \"amzn/login-with-amazon-module\": \"1.2.1\",\n- \"amzn/amazon-pay-module\": \"1.2.1\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"1.2.2\",\n+ \"amzn/login-with-amazon-module\": \"1.2.2\",\n+ \"amzn/amazon-pay-module\": \"1.2.2\"\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/composer.json",
"new_path": "src/Core/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-with-amazon-core-module\",\n\"description\": \"Shared functionality for Amazon Pay and Login with Amazon modules\",\n\"type\": \"magento2-module\",\n- \"version\": \"1.2.1\",\n+ \"version\": \"1.2.2\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"magento/framework\": \"^100.1.0\",\n- \"magento/module-config\": \"^100.1.0\",\n- \"magento/module-store\": \"^100.1.0\",\n- \"magento/module-developer\": \"^100.1.0\",\n- \"magento/module-quote\": \"^100.1.0\",\n+ \"magento/framework\": \"^100.1.0|^101.0.0\",\n+ \"magento/module-developer\": \"^100.1.0|^100.2.0\",\n+ \"magento/module-config\": \"^100.1.0|^101.0.0\",\n+ \"magento/module-quote\": \"^100.1.0|^101.0.0\",\n+ \"magento/module-store\": \"^100.1.0|^100.2.0\",\n\"amzn/amazon-pay-sdk-php\": \"^3.1.0\"\n},\n\"autoload\": {\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/module.xml",
"new_path": "src/Core/etc/module.xml",
"diff": "<?xml version=\"1.0\"?>\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Core\" setup_version=\"1.2.1\">\n+ <module name=\"Amazon_Core\" setup_version=\"1.2.2\">\n<sequence>\n<module name=\"Magento_Config\" />\n<module name=\"Magento_Store\" />\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/composer.json",
"new_path": "src/Login/composer.json",
"diff": "\"name\": \"amzn/login-with-amazon-module\",\n\"description\": \"Login with Amazon module\",\n\"type\": \"magento2-module\",\n- \"version\": \"1.2.1\",\n+ \"version\": \"1.2.2\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^1.1.0\",\n- \"magento/module-customer\": \"^100.1.0\",\n- \"magento/module-checkout\": \"^100.1.0\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^1.2.2\",\n+ \"magento/module-checkout\": \"^100.1.0|^100.2.0\",\n+ \"magento/module-customer\": \"^100.1.0|^101.0.0\"\n},\n\"autoload\": {\n\"files\": [\"registration.php\"],\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/composer.json",
"new_path": "src/Payment/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-module\",\n\"description\": \"Amazon Pay module\",\n\"type\": \"magento2-module\",\n- \"version\": \"1.2.1\",\n+ \"version\": \"1.2.2\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^1.1.0\",\n- \"amzn/login-with-amazon-module\": \"^1.1.0\",\n- \"magento/module-eav\": \"^100.1.0\",\n- \"magento/module-sales\": \"^100.1.0\",\n- \"magento/module-quote\": \"^100.1.0\",\n- \"magento/module-payment\": \"^100.1.0\",\n- \"magento/module-backend\": \"^100.1.0\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^1.2.2\",\n+ \"amzn/login-with-amazon-module\": \"^1.2.2\",\n+ \"magento/module-sales\": \"^100.1.0|^101.0.0\",\n+ \"magento/module-payment\": \"^100.1.0|^100.2.0\",\n+ \"magento/module-eav\": \"^100.1.0|^101.0.0\",\n+ \"magento/module-backend\": \"^100.1.0|100.2.0\",\n+ \"magento/module-quote\": \"^100.1.0|^101.0.0\"\n},\n\"autoload\": {\n\"files\": [\"registration.php\"],\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Update versions and fixed outdated dependencies
21,260
11.12.2017 14:37:41
21,600
2eff8694a07800ec6aae8d5843c9fb5ad77ab8c3
Invalid JSON causes problems during unserialization
You can see this issue when trying to enable or disable a module via the magento script (`magento module:disable Module_Name`).
Invalid JSON causes problems during unserialization
You can see this issue when trying to enable or disable a module via the magento script (`magento module:disable Module_Name`).
[
{
"change_type": "MODIFY",
"old_path": "src/Core/view/frontend/templates/amazon_payments_mark.phtml",
"new_path": "src/Core/view/frontend/templates/amazon_payments_mark.phtml",
"diff": "<?php if($block->isBadgeEnabled()): ?>\n<div class=\"amazon-payments-mark-container\">\n<div class=\"amazon-payments-mark _grad\">\n- <span class=\"text\"><?php /* @escapeNotVerified */ echo __('Amazon Pay'); ?></span>\n+ <span class=\"text\"><?php /* @noEscape */ echo __('Amazon Pay'); ?></span>\n</div>\n</div>\n<?php endif; ?>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/view/frontend/templates/config.phtml",
"new_path": "src/Core/view/frontend/templates/config.phtml",
"diff": "?>\n<script>\n- window.amazonPayment = <?php /* @escapeNotVerified */ echo \\Zend_Json::encode($block->getConfig()); ?>;\n+ window.amazonPayment = <?php /* @noEscape */ echo \\Zend_Json::encode($block->getConfig()); ?>;\n</script>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/view/frontend/templates/form/validate.phtml",
"new_path": "src/Login/view/frontend/templates/form/validate.phtml",
"diff": "<div class=\"amazon-validate-container\">\n<div class=\"block block-amazon-validate\">\n<div class=\"block-title\">\n- <strong id=\"block-amazon-login-heading\" role=\"heading\" aria-level=\"2\"><?php /* @escapeNotVerified */ echo __('Welcome back!') ?></strong>\n+ <strong id=\"block-amazon-login-heading\" role=\"heading\" aria-level=\"2\"><?php /* @noEscape */ echo __('Welcome back!') ?></strong>\n</div>\n<div class=\"block-content\" aria-labelledby=\"block-amazon-login-heading\">\n- <p><?php /* @escapeNotVerified */ echo __('A shop account for this email address already exists. Please enter your shop accounts password to log in without leaving the shop.') ?></p>\n+ <p><?php /* @noEscape */ echo __('A shop account for this email address already exists. Please enter your shop accounts password to log in without leaving the shop.') ?></p>\n<form class=\"form password validate\"\n- action=\"<?php /* @escapeNotVerified */ echo $block->getUrl('*/*/validatepost') ?>\"\n+ action=\"<?php echo $block->escapeUrl($block->getUrl('*/*/validatepost')) ?>\"\nmethod=\"post\"\nid=\"form-validate\"\ndata-mage-init='{\"validation\":{}}'>\n- <fieldset class=\"fieldset\" data-hasrequired=\"<?php /* @escapeNotVerified */ echo __('* Required Fields') ?>\">\n+ <fieldset class=\"fieldset\" data-hasrequired=\"<?php /* @noEscape */ echo __('* Required Fields') ?>\">\n<div class=\"field email required\">\n- <label for=\"password\" class=\"label\"><span><?php /* @escapeNotVerified */ echo __('Password') ?></span></label>\n+ <label for=\"password\" class=\"label\"><span><?php /* @noEscape */ echo __('Password') ?></span></label>\n<div class=\"control\">\n<input type=\"password\" name=\"password\" alt=\"password\" id=\"password\" class=\"input-text\" value=\"\" data-validate=\"{required:true}\">\n</div>\n</div>\n<div class=\"actions-toolbar\">\n<div class=\"primary\">\n- <button type=\"submit\" class=\"action submit primary\"><span><?php /* @escapeNotVerified */ echo __('Ok') ?></span></button>\n+ <button type=\"submit\" class=\"action submit primary\"><span><?php /* @noEscape */ echo __('Ok') ?></span></button>\n</div>\n<div class=\"secondary continue-as-guest\">\n- <a class=\"action secondary\" href=\"<?php /* @escapeNotVerified */ echo $block->getContinueAsGuestUrl() ?>\"><span><?php /* @escapeNotVerified */ echo __('Continue as Guest') ?></span></a>\n+ <a class=\"action secondary\" href=\"<?php echo $block->escapeUrl($block->getContinueAsGuestUrl()) ?>\"><span><?php /* @noEscape */ echo __('Continue as Guest') ?></span></a>\n</div>\n<div class=\"secondary forgot-password\">\n- <a class=\"action secondary\" href=\"<?php /* @escapeNotVerified */ echo $block->getForgotPasswordUrl() ?>\"><span><?php /* @escapeNotVerified */ echo __('Forgot Your Password?') ?></span></a>\n+ <a class=\"action secondary\" href=\"<?php echo $block->escapeUrl($block->getForgotPasswordUrl()) ?>\"><span><?php /* @noEscape */ echo __('Forgot Your Password?') ?></span></a>\n</div>\n</div>\n</fieldset>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/view/frontend/templates/login.phtml",
"new_path": "src/Login/view/frontend/templates/login.phtml",
"diff": "<?php /** @var \\Amazon\\Login\\Block\\Login $block */?>\n<div class=\"block block-amazon-login\">\n<div class=\"block-title\">\n- <strong id=\"block-amazon-login-heading\" role=\"heading\" aria-level=\"2\"><?php /* @escapeNotVerified */ echo __('Login with Amazon') ?></strong>\n+ <strong id=\"block-amazon-login-heading\" role=\"heading\" aria-level=\"2\"><?php /* @noEscape */ echo __('Login with Amazon') ?></strong>\n</div>\n<div class=\"block-content\" aria-labelledby=\"block-amazon-login-heading\">\n- <p><?php /* @escapeNotVerified */ echo __('With Amazon Pay and Login with Amazon, you can easily sign-in and use the shipping and payment information stored in your Amazon account to place an order on this shop. ') ?></p>\n+ <p><?php /* @noEscape */ echo __('With Amazon Pay and Login with Amazon, you can easily sign-in and use the shipping and payment information stored in your Amazon account to place an order on this shop. ') ?></p>\n<div class=\"actions-toolbar\">\n<div class=\"primary\">\n<div class=\"amazon-button-container\">\n<div class=\"amazon-button-container__cell\">\n<div class=\"field-tooltip toggle\">\n<span class=\"field-tooltip-action action-help\" data-mage-init='{\"dropdown\": {\"activeClass\": \"_active\"}}' data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\"></span>\n- <div class=\"field-tooltip-content\" data-target=\"dropdown\" aria-hidden=\"true\"><?php /* @escapeNotVerified */ echo __('Securely login into our website using your existing Amazon details.'); ?></div>\n+ <div class=\"field-tooltip-content\" data-target=\"dropdown\" aria-hidden=\"true\"><?php /* @noEscape */ echo __('Securely login into our website using your existing Amazon details.'); ?></div>\n</div>\n</div>\n</div>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/templates/minicart-button.phtml",
"new_path": "src/Payment/view/frontend/templates/minicart-button.phtml",
"diff": "@@ -39,7 +39,7 @@ $tooltipConfig = [\n<div class=\"amazon-button-container__cell\">\n<div class=\"field-tooltip toggle\">\n<span class=\"field-tooltip-action action-help\" data-mage-init='<?php /* @noEscape */ echo json_encode($tooltipConfig); ?>' data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\"></span>\n- <div class=\"field-tooltip-content\" data-target=\"dropdown\" aria-hidden=\"true\"><?php /* @escapeNotVerified */ echo __('Are you an Amazon customer? Pay now with address and payment details stored in your Amazon account.'); ?></div>\n+ <div class=\"field-tooltip-content\" data-target=\"dropdown\" aria-hidden=\"true\"><?php /* @noEscape */ echo __('Are you an Amazon customer? Pay now with address and payment details stored in your Amazon account.'); ?></div>\n</div>\n</div>\n</div>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/templates/payment-link-product-page.phtml",
"new_path": "src/Payment/view/frontend/templates/payment-link-product-page.phtml",
"diff": "<div class=\"amazon-button-container__cell\">\n<div class=\"field-tooltip toggle\">\n<span class=\"field-tooltip-action action-help\" data-bind=\"mageInit: {'dropdown':{'activeClass': '_active'}}\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\"></span>\n- <div class=\"field-tooltip-content\" data-target=\"dropdown\" aria-hidden=\"true\"><?php /* @escapeNotVerified */ echo __('Are you an Amazon customer? Pay now with address and payment details stored in your Amazon account.'); ?></div>\n+ <div class=\"field-tooltip-content\" data-target=\"dropdown\" aria-hidden=\"true\"><?php /* @noEscape */ echo __('Are you an Amazon customer? Pay now with address and payment details stored in your Amazon account.'); ?></div>\n</div>\n</div>\n</div>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/templates/payment-link.phtml",
"new_path": "src/Payment/view/frontend/templates/payment-link.phtml",
"diff": "<div class=\"amazon-button-container__cell\">\n<div class=\"field-tooltip toggle\">\n<span class=\"field-tooltip-action action-help\" data-bind=\"mageInit: {'dropdown':{'activeClass': '_active'}}\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\"></span>\n- <div class=\"field-tooltip-content\" data-target=\"dropdown\" aria-hidden=\"true\"><?php /* @escapeNotVerified */ echo __('Are you an Amazon customer? Pay now with address and payment details stored in your Amazon account.'); ?></div>\n+ <div class=\"field-tooltip-content\" data-target=\"dropdown\" aria-hidden=\"true\"><?php /* @noEscape */ echo __('Are you an Amazon customer? Pay now with address and payment details stored in your Amazon account.'); ?></div>\n</div>\n</div>\n</div>\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Escapes and annotations
21,259
24.01.2018 14:23:35
-3,600
0847c672344eafe789914b35375c1cf2b412224c
added Blank theme information
[
{
"change_type": "MODIFY",
"old_path": "docs/faq.rst",
"new_path": "docs/faq.rst",
"diff": "@@ -5,7 +5,7 @@ I am using a custom theme, what do I have to do?\n------------------------------------------------\nThe styles used are based on the Luma theme Magento provides. Especially responsive breakpoints and other variables, like `@screen__m`_, in the LESS files are defined by the Luma theme.\n-If your custom theme is based on Luma, you should be fine. If it isn't, you should define all the variables and `Responsive Breakpoints` used.\n+If your custom theme is based on the Magento themes Luma or Blank, you should be fine. If it isn't, you should define all the variables and `Responsive Breakpoints` used.\nMagento provides detailed information about `Responsive Breakpoints` and responsive design in general. See `responsive.html in the magento2 repository`_ (vendor/magento/magento2-base/lib/web/css/docs/responsive.html in your Magento 2 installation) for more detailed explanations.\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
added Blank theme information
21,252
24.01.2018 16:09:48
-7,200
d5d3d9fd72eaecfa15c2ed7000287a7c806b29cf
Extension now uses uiRegistry instead of window global state
Added province dropdown if it is required but not provided
[
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/web/js/action/populate-shipping-address.js",
"new_path": "src/Payment/view/frontend/web/js/action/populate-shipping-address.js",
"diff": "@@ -36,7 +36,7 @@ define(\n$.extend({}, checkoutProvider.get('shippingAddress'), shippingAddressData)\n);\n});\n-\n+ $(\"#co-shipping-form\").css(\"display\", \"none\");\ncheckoutDataResolver.resolveShippingAddress();\n}\n@@ -45,16 +45,7 @@ define(\n* @private\n*/\nreturn function () {\n- //check to see if user is logged out of amazon (otherwise shipping form won't be in DOM)\n- if (!amazonStorage.isAmazonAccountLoggedIn) {\n- populateShippingForm();\n- }\n- //subscribe to logout and trigger shippingform population when logged out.\n- amazonStorage.isAmazonAccountLoggedIn.subscribe(function (loggedIn) {\n- if (!loggedIn) {\npopulateShippingForm();\n}\n- });\n- }\n}\n);\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/web/js/view/checkout-widget-address.js",
"new_path": "src/Payment/view/frontend/web/js/view/checkout-widget-address.js",
"diff": "@@ -19,7 +19,8 @@ define(\n'Magento_Checkout/js/model/url-builder',\n'Magento_Checkout/js/checkout-data',\n'Magento_Checkout/js/model/checkout-data-resolver',\n- 'uiRegistry'\n+ 'uiRegistry',\n+ 'Amazon_Payment/js/action/populate-shipping-address'\n],\nfunction (\n$,\n@@ -39,7 +40,8 @@ define(\nurlBuilder,\ncheckoutData,\ncheckoutDataResolver,\n- registry\n+ registry,\n+ populateShippingAddressAction\n) {\n'use strict';\nvar self;\n@@ -119,6 +121,7 @@ define(\n}\ncheckoutData.setShippingAddressFromData(addressConverter.quoteAddressToFormAddressData(addressData));\ncheckoutDataResolver.resolveEstimationAddress();\n+ populateShippingAddressAction();\n}\n).fail(\nfunction (response) {\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/web/js/view/shipping-address/inline-form.js",
"new_path": "src/Payment/view/frontend/web/js/view/shipping-address/inline-form.js",
"diff": "define([\n+ 'jquery',\n'uiComponent',\n'ko',\n'Amazon_Payment/js/model/storage'\n-], function (Component, ko, amazonStorage) {\n+], function ($, Component, ko, amazonStorage) {\n'use strict';\nreturn Component.extend({\ndefaults: {\ntemplate: 'Amazon_Payment/shipping-address/inline-form',\n- formSelector: 'co-shipping-form'\n+ formSelector: '#co-shipping-form'\n},\ninitObservable: function () {\nthis._super();\n@@ -21,9 +22,22 @@ define([\n},\nmanipulateInlineForm: function () {\nif (amazonStorage.isAmazonAccountLoggedIn()) {\n- var elem = document.getElementById(this.formSelector);\n+ var errorCount = 0;\n+ $(this.formSelector).find(\".field\").each(function () {\n+ if ($(this).hasClass('_error')) {\n+ errorCount ++;\n+ $(this).show();\n+ } else {\n+ $(this).css(\"display\", \"none\");\n+ }\n+ });\n+ var elem = $(this.formSelector);\nif (elem) {\n- document.getElementById(this.formSelector).style.display = 'none';\n+ if (errorCount > 0) {\n+ $(this.formSelector).show();\n+ } else {\n+ $(this.formSelector).hide();\n+ }\n}\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/web/js/view/shipping.js",
"new_path": "src/Payment/view/frontend/web/js/view/shipping.js",
"diff": "@@ -8,7 +8,9 @@ define(\n'Magento_Customer/js/model/customer',\n'Magento_Checkout/js/action/set-shipping-information',\n'Magento_Checkout/js/model/step-navigator',\n- 'Amazon_Payment/js/model/storage'\n+ 'Amazon_Payment/js/model/storage',\n+ 'Magento_Customer/js/model/address-list',\n+ 'Magento_Checkout/js/model/quote'\n],\nfunction (\n$,\n@@ -18,10 +20,15 @@ define(\ncustomer,\nsetShippingInformationAction,\nstepNavigator,\n- amazonStorage\n+ amazonStorage,\n+ addressList,\n+ quote\n) {\n'use strict';\nreturn Component.extend({\n+ isFormInline: ko.observable(addressList().length == 0),\n+ formSelector: '#co-shipping-form',\n+\ninitialize: function () {\nthis._super();\nthis.isNewAddressAdded(amazonStorage.isAmazonAccountLoggedIn());\n@@ -48,9 +55,12 @@ define(\n);\n}\nif (amazonStorage.isAmazonAccountLoggedIn() && customer.isLoggedIn()) {\n+ this.isFormInline(true);\n+ if (this.validateShippingInformation()) {\nsetShippingInformationAmazon();\n+ }\n} else if (amazonStorage.isAmazonAccountLoggedIn() && !customer.isLoggedIn()) {\n- if (this.validateGuestEmail()) {\n+ if (this.validateGuestEmail() && this.validateShippingInformation()) {\nsetShippingInformationAmazon();\n}\n} else {\n@@ -59,6 +69,61 @@ define(\nsetShippingInformationAmazon();\n}\n}\n+ },\n+\n+ validateShippingInformation: function () {\n+ var shippingAddress,\n+ addressData,\n+ loginFormSelector = 'form[data-role=email-with-possible-login]',\n+ emailValidationResult = customer.isLoggedIn();\n+\n+ if (!quote.shippingMethod()) {\n+ this.errorValidationMessage($t('Please specify a shipping method.'));\n+\n+ return false;\n+ }\n+\n+ if (!customer.isLoggedIn()) {\n+ $(loginFormSelector).validation();\n+ emailValidationResult = Boolean($(loginFormSelector + ' input[name=username]').valid());\n+ }\n+\n+ if (this.isFormInline()) {\n+ this.source.set('params.invalid', false);\n+ this.source.trigger('shippingAddress.data.validate');\n+\n+ if (this.source.get('shippingAddress.custom_attributes')) {\n+ this.source.trigger('shippingAddress.custom_attributes.data.validate');\n+ }\n+\n+ if (this.source.get('params.invalid') ||\n+ !quote.shippingMethod().method_code ||\n+ !quote.shippingMethod().carrier_code ||\n+ !emailValidationResult\n+ ) {\n+ var errorCount = 0;\n+ $(this.formSelector).find(\".field\").each(function () {\n+ if ($(this).hasClass('_error')) {\n+ errorCount ++;\n+ $(this).show();\n+ } else {\n+ $(this).css(\"display\", \"none\");\n+ }\n+ });\n+ var elem = $(this.formSelector);\n+ if (elem) {\n+ if (errorCount > 0) {\n+ $(this.formSelector).show();\n+ } else {\n+ $(this.formSelector).hide();\n+ }\n+ }\n+ return false;\n+ }\n+\n+\n+ }\n+ return this._super();\n}\n});\n}\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
AMAZON-116: Added province dropdown if it is required but not provided
21,259
30.01.2018 19:39:29
-3,600
56b1a292a010fdebc6661f814bce54eded4ce80c
added reference to blank theme
[
{
"change_type": "MODIFY",
"old_path": "docs/faq.rst",
"new_path": "docs/faq.rst",
"diff": "@@ -24,6 +24,6 @@ Amazon Pay provides two LESS files in this extension. They need to be adapted to\nAmazon Pay Widgets are not surfaced\n-----------------------------------\n-Please check if you are using a theme, which is not based on Magento's Luma theme first and follow the advice above.\n+Please check if you are using a theme, which is not based on Magento's Luma or Blank theme first and follow the advice above.\nIf this is not the case and you need help, please file an issue with us.\n"
}
]
Do not load JS files when both LwA and PwA are disabled
21,238
15.02.2018 22:55:01
28,800
cdf3c04bd266beadfdc4a9b1d1d99ceb34d50dee
Update README.md
removing release notes as they were no longer kept up-to-date.
[
{
"change_type": "MODIFY",
"old_path": "README.md",
"new_path": "README.md",
"diff": "## Installation and Configuration\nPlease follow the instructions in the [User Guide](https://amzn.github.io/amazon-payments-magento-2-plugin)\n-\n-## Release Notes\n-### v1.1.1 stability\n-#### Enhancements:\n- * Display the module version in the admin html\n- * Support for Modernizr 3.x\n- * Added extended support for japanese names\n- * Removed disturbing message for charge on order\n- * Configuration option to supply the store name added\n-\n-#### Bug Fixes:\n- * Order handling for free orders corrected\n- * Fixed incompatibility on CompleteOrder\n- * Displayed URLs did not take the store-view configured domain into account\n- * Removed unneeded CSS and layout\n- * jQuery storage API not always present\n-\n-### v1.1.0 Rebrand\n-#### Enhancements:\n- * This release does not add any new features\n-\n-#### Bug Fixes:\n- * This release does not fix any bugs\n-\n-### v1.0.10 Small fixes\n-#### Enhancements:\n- * #31 Scope parameter propagated to the Amazon Pay widgets\n- * #11 Integrate checkout agreement blocks in the checkout\n-\n-#### Bug Fixes:\n- * #27 Get the payment method from the order instead of the quote\n- * #33 Fix the checkout layout block to be in line with Magento 2.1\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Update README.md
removing release notes as they were no longer kept up-to-date.
21,238
16.02.2018 10:37:31
28,800
75da61746ad4ee7a01df4ebcc4f5325a141a98fd
Update ISSUE_TEMPLATE.md
Adding extension version to issue template.
[
{
"change_type": "MODIFY",
"old_path": ".github/ISSUE_TEMPLATE.md",
"new_path": ".github/ISSUE_TEMPLATE.md",
"diff": "#### Your setup\n-* Magento version:\n+* Magento version: 2.x.x\n+* Amazon Pay Extension Version:\n* Magento Edition: Community / Enterprise / Enterprise Cloud\n* JavaScript Console: Please add a screenshot of the Chrome JavaScript console to speed up the process\n* Shop URL : <!-- if you are willing to share -->\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Update ISSUE_TEMPLATE.md
Adding extension version to issue template.
21,238
21.02.2018 23:49:04
28,800
9c90b74cefbfdf8606c850d18a1bd70e487b16bd
Adjusting error text to fix Pay capitalization. Fixes
[
{
"change_type": "MODIFY",
"old_path": "src/Payment/i18n/en_US.csv",
"new_path": "src/Payment/i18n/en_US.csv",
"diff": "-\"Amazon authorize invalid state : %1 with reason %2\",\"Unexpected state for the Amazon Pay authoriziation. State: %1, Reason code: %2\"\n+\"Amazon authorize invalid state : %1 with reason %2\",\"Unexpected state for the Amazon Pay authorization. State: %1, Reason code: %2\"\n\"Amazon capture declined : %1\",\"Amazon Pay declined the capture. Reason code: %1\"\n\"Amazon capture invalid state : %1 with reason %2\",\"Unexpected state for the Amazon Pay capture. State: %1, Reason code: %2\"\n\"Amazon refund invalid state : %1 with reason %2\",\"Unexpected state for the Amazon Pay refund. State: %1, Reason code: %2\"\n\"the country for your address is not allowed for this store\",\"The country associated with your address is not allowed for this store.\"\n-\"Unfortunately it is not possible to pay with Amazon Pay for this order. Please choose another payment method.\",\"Unfortunately it is not possible to Pay with Amazon Pay for this order. Please choose another payment method.\"\n+\"Unfortunately it is not possible to pay with Amazon Pay for this order. Please choose another payment method.\",\"Unfortunately it is not possible to pay with Amazon Pay for this order. Please choose another payment method.\"\n\"There has been a problem with the selected payment method on your Amazon account. Please choose another one.\",\"There has been a problem with the selected payment method on your Amazon account. Please choose another one.\"\n\"The currency selected is not supported by Amazon Pay\",\"The currency selected is not supported by Amazon Pay on this store.\"\n\"Captured amount of %1 online\",\"Captured amount of %1 online.\"\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Adjusting error text to fix Pay capitalization. Fixes #198.
21,242
05.03.2018 14:45:54
-3,600
386e0a114593c5b9620fc387e9f5cf25a7696472
Increase version to 1.2.6
[
{
"change_type": "MODIFY",
"old_path": "composer.json",
"new_path": "composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"magento2-module\",\n- \"version\": \"1.2.5\",\n+ \"version\": \"1.2.6\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/conf.py",
"new_path": "docs/conf.py",
"diff": "@@ -60,9 +60,9 @@ author = u'Amazon.com Inc or its affiliates'\n# built documents.\n#\n# The short X.Y version.\n-version = u'1.2.5'\n+version = u'1.2.6'\n# The full version, including alpha/beta/rc tags.\n-release = u'1.2.5'\n+release = u'1.2.6'\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/installation.rst",
"new_path": "docs/installation.rst",
"diff": "@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\n* Sign in to your server via SSH\n* `cd` into you Magento installation directory\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^1.2.5`\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^1.2.6`\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\n* Follow any advice the upgrade routine provides\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^1.2.5` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^1.2.6` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\n"
},
{
"change_type": "MODIFY",
"old_path": "marketplace-composer.json",
"new_path": "marketplace-composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"metapackage\",\n- \"version\": \"1.2.5\",\n+ \"version\": \"1.2.6\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"1.2.5\",\n- \"amzn/login-with-amazon-module\": \"1.2.5\",\n- \"amzn/amazon-pay-module\": \"1.2.5\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"1.2.6\",\n+ \"amzn/login-with-amazon-module\": \"1.2.6\",\n+ \"amzn/amazon-pay-module\": \"1.2.6\"\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/composer.json",
"new_path": "src/Core/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-with-amazon-core-module\",\n\"description\": \"Shared functionality for Amazon Pay and Login with Amazon modules\",\n\"type\": \"magento2-module\",\n- \"version\": \"1.2.5\",\n+ \"version\": \"1.2.6\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/module.xml",
"new_path": "src/Core/etc/module.xml",
"diff": "<?xml version=\"1.0\"?>\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Core\" setup_version=\"1.2.5\">\n+ <module name=\"Amazon_Core\" setup_version=\"1.2.6\">\n<sequence>\n<module name=\"Magento_Store\"/>\n<module name=\"Magento_Customer\"/>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/composer.json",
"new_path": "src/Login/composer.json",
"diff": "\"name\": \"amzn/login-with-amazon-module\",\n\"description\": \"Login with Amazon module\",\n\"type\": \"magento2-module\",\n- \"version\": \"1.2.5\",\n+ \"version\": \"1.2.6\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^1.2.5\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^1.2.6\",\n\"magento/module-customer\": \"^100.1.0|^101.0.0\",\n\"magento/module-checkout\": \"^100.1.0|^100.2.0\"\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/composer.json",
"new_path": "src/Payment/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-module\",\n\"description\": \"Amazon Pay module\",\n\"type\": \"magento2-module\",\n- \"version\": \"1.2.5\",\n+ \"version\": \"1.2.6\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^1.2.5\",\n- \"amzn/login-with-amazon-module\": \"^1.2.5\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^1.2.6\",\n+ \"amzn/login-with-amazon-module\": \"^1.2.6\",\n\"magento/module-eav\": \"^100.1.0|^101.0.0\",\n\"magento/module-sales\": \"^100.1.0|^101.0.0\",\n\"magento/module-quote\": \"^100.1.0|^101.0.0\",\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Increase version to 1.2.6
21,242
04.04.2018 11:13:02
-7,200
85c7b70b3384503f5b13c9bbe404777c5074298c
Extend payment region information
[
{
"change_type": "MODIFY",
"old_path": "docs/configuration.rst",
"new_path": "docs/configuration.rst",
"diff": "@@ -25,7 +25,11 @@ The credentials can be found in Seller Central at :menuselection:`Integration --\nPayment Region\n..............\n-Select the region where you registered your seller account from the provided list. If you're unsure about this information, please consult the Amazon Pay merchant support.\n+Select the region where you registered your seller account from the provided list. If you're unsure about this information, please consult the Amazon Pay merchant support. Supported regions are:\n+* Euro (use for countries that use EUR as their currency, e.g. Germany, France, Italy, Spain, etc.)\n+* United Kingdom\n+* United States\n+* Japan\nSandbox\n.......\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Extend payment region information
21,245
18.05.2018 11:58:44
21,600
60a58bc99d14da9a31f777a8a86543e0bac9eb21
Update - added update from pre-2.0.0 branch to core helper class that removes amazon enabled ambiguity in response to github issues 207 and 209
Update - added update from pre-2.0.0 branch to core helper class that removes amazon enabled ambiguity in response to github issues 207 and 209
21,245
18.05.2018 14:07:06
21,600
beb4a3f90a08725c47ae458b9e988a8256bae6e7
Update - added in fixes for action/pwaenabled coming in pre-2.0.0 to remove ambiguity. Added checks for amazonpay data in JS calls (layout/data issue resolved in pre-2.0.0 so this is a workaround for current master).
[
{
"change_type": "MODIFY",
"old_path": "src/Core/Model/Config/SimplePath.php",
"new_path": "src/Core/Model/Config/SimplePath.php",
"diff": "@@ -334,8 +334,8 @@ class SimplePath\n*/\npublic function autoEnable()\n{\n- if (!$this->getConfig('payment/amazon_payment/pwa_enabled')) {\n- $this->config->saveConfig('payment/amazon_payment/pwa_enabled', true, $this->_scope, $this->_scopeId);\n+ if (!$this->getConfig('payment/amazon_payment/active')) {\n+ $this->config->saveConfig('payment/amazon_payment/active', true, $this->_scope, $this->_scopeId);\n$this->messageManager->addSuccess(__(\"Login and Pay with Amazon is now enabled.\"));\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/adminhtml/system.xml",
"new_path": "src/Core/etc/adminhtml/system.xml",
"diff": "</group>\n<group id=\"options\" translate=\"label\" type=\"text\" sortOrder=\"20\" showInDefault=\"1\" showInWebsite=\"1\" showInStore=\"1\">\n<label>Options</label>\n- <field id=\"pwa_enabled\" translate=\"label\" type=\"select\" sortOrder=\"10\" showInDefault=\"1\" showInWebsite=\"1\" showInStore=\"1\">\n+ <field id=\"active\" translate=\"label\" type=\"select\" sortOrder=\"10\" showInDefault=\"1\" showInWebsite=\"1\" showInStore=\"1\">\n<label>Enable Amazon Pay</label>\n<source_model>Magento\\Config\\Model\\Config\\Source\\Yesno</source_model>\n- <config_path>payment/amazon_payment/pwa_enabled</config_path>\n+ <config_path>payment/amazon_payment/active</config_path>\n</field>\n<field id=\"lwa_enabled\" translate=\"label\" type=\"select\" sortOrder=\"20\" showInDefault=\"1\" showInWebsite=\"1\" showInStore=\"1\">\n<label>Enable Login with Amazon</label>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/config.xml",
"new_path": "src/Core/etc/config.xml",
"diff": "<default>\n<payment>\n<amazon_payment>\n- <active>1</active>\n+ <active>0</active>\n<is_gateway>1</is_gateway>\n<title>Amazon Pay</title>\n<sort_order>1</sort_order>\n<can_void>1</can_void>\n<can_use_checkout>1</can_use_checkout>\n<packstation_terms>Packstation,Pack-Station,Pack Station,PO Box,Post Office box,Locker</packstation_terms>\n- <pwa_enabled>0</pwa_enabled>\n<lwa_enabled>0</lwa_enabled>\n<authorization_mode>synchronous</authorization_mode>\n<update_mechanism>polling</update_mechanism>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/web/js/amazon-widgets-loader.js",
"new_path": "src/Payment/view/frontend/web/js/amazon-widgets-loader.js",
"diff": "* permissions and limitations under the License.\n*/\n-var registry = require('uiRegistry');\n-var amazonPayment = registry.get('amazonPayment');\n+var registry = require('uiRegistry'),\n+ amazonPayment = registry.get('amazonPayment');\n+if (amazonPayment !== undefined) {\ndefine([amazonPayment.widgetUrl], function () {\n+ 'use strict';\n+\n//after amazon widgets file as loaded\n});\n+}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/web/js/view/checkout-revert.js",
"new_path": "src/Payment/view/frontend/web/js/view/checkout-revert.js",
"diff": "@@ -27,7 +27,7 @@ define(\n'use strict';\nvar self;\n-\n+ if (registry.get('amazonPayment') !== undefined) {\nreturn Component.extend({\ndefaults: {\ntemplate: 'Amazon_Payment/checkout-revert'\n@@ -56,5 +56,8 @@ define(\n);\n}\n});\n+ } else {\n+ return Component.extend({});\n+ }\n}\n);\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/web/js/view/checkout-sandbox-simulator.js",
"new_path": "src/Payment/view/frontend/web/js/view/checkout-sandbox-simulator.js",
"diff": "define(\n[\n'jquery',\n- \"uiComponent\",\n+ 'uiComponent',\n'ko',\n'Amazon_Payment/js/model/storage',\n'uiRegistry'\n@@ -16,9 +16,7 @@ define(\nregistry\n) {\n'use strict';\n-\n- var self;\n-\n+ if (registry.get('amazonPayment') !== undefined) {\nreturn Component.extend({\ndefaults: {\ntemplate: 'Amazon_Payment/checkout-sandbox-simulator'\n@@ -27,10 +25,17 @@ define(\nisSandboxEnabled: ko.observable(registry.get('amazonPayment').isSandboxEnabled),\nsandboxSimulationReference: amazonStorage.sandboxSimulationReference,\nsandboxSimulationOptions: ko.observableArray(registry.get('amazonPayment').sandboxSimulationOptions),\n+\n+ /**\n+ * Init\n+ */\ninitialize: function () {\n- self = this;\nthis._super();\n}\n});\n}\n+ else {\n+ return Component.extend({});\n+ }\n+ }\n);\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/web/js/view/checkout-widget-address.js",
"new_path": "src/Payment/view/frontend/web/js/view/checkout-widget-address.js",
"diff": "define(\n[\n'jquery',\n- \"uiComponent\",\n+ 'uiComponent',\n'ko',\n'Magento_Customer/js/model/customer',\n'Magento_Checkout/js/model/quote',\n@@ -42,8 +42,9 @@ define(\nregistry\n) {\n'use strict';\n- var self;\n+ var self;\n+ if (registry.get('amazonPayment') !== undefined) {\nreturn Component.extend({\ndefaults: {\ntemplate: 'Amazon_Payment/checkout-widget-address'\n@@ -57,34 +58,54 @@ define(\nisAmazonAccountLoggedIn: amazonStorage.isAmazonAccountLoggedIn,\nisAmazonEnabled: ko.observable(registry.get('amazonPayment').isPwaEnabled),\nrates: shippingService.getShippingRates(),\n+\n+ /**\n+ * Init\n+ */\ninitialize: function () {\nself = this;\nthis._super();\n},\n+\n/**\n* Call when component template is rendered\n*/\ninitAddressWidget: function () {\nself.renderAddressWidget();\n},\n+\n/**\n* render Amazon address Widget\n*/\nrenderAddressWidget: function () {\n- new OffAmazonPayments.Widgets.AddressBook({\n+ new OffAmazonPayments.Widgets.AddressBook({ // eslint-disable-line no-undef\nsellerId: self.options.sellerId,\nscope: self.options.widgetScope,\n+\n+ /**\n+ * Order reference creation callback\n+ */\nonOrderReferenceCreate: function (orderReference) {\nvar orderid = orderReference.getAmazonOrderReferenceId();\n+\namazonStorage.setOrderReference(orderid);\n},\n- onAddressSelect: function (orderReference) {\n+\n+ /**\n+ * Address select callback\n+ */\n+ onAddressSelect: function () { // orderReference\nself.getShippingAddressFromAmazon();\n},\ndesign: {\ndesignMode: 'responsive'\n},\n+\n+ /**\n+ * Error callback\n+ */\nonError: function (error) {\n+ console.log(error);\n}\n}).bind(self.options.addressWidgetDOMId);\n},\n@@ -93,9 +114,13 @@ define(\n* Get shipping address from Amazon API\n*/\ngetShippingAddressFromAmazon: function () {\n+ var serviceUrl, payload;\n+\namazonStorage.isShippingMethodsLoading(true);\nshippingService.isLoading(true);\n- var serviceUrl = urlBuilder.createUrl('/amazon-shipping-address/:amazonOrderReference', {amazonOrderReference: amazonStorage.getOrderReference()}),\n+ serviceUrl = urlBuilder.createUrl('/amazon-shipping-address/:amazonOrderReference', {\n+ amazonOrderReference: amazonStorage.getOrderReference()\n+ }),\npayload = {\naddressConsentToken: amazonStorage.getAddressConsentToken()\n};\n@@ -106,18 +131,21 @@ define(\n).done(\nfunction (data) {\nvar amazonAddress = data.shift(),\n- addressData = addressConverter.formAddressDataToQuoteAddress(amazonAddress);\n+ addressData = addressConverter.formAddressDataToQuoteAddress(amazonAddress),\n+ i;\n//if telephone is blank set it to 00000000 so it passes the required validation\n- addressData.telephone = !(addressData.telephone) ? '0000000000' : addressData.telephone;\n+ addressData.telephone = !addressData.telephone ? '0000000000' : addressData.telephone;\n//fill in blank street fields\nif ($.isArray(addressData.street)) {\n- for (var i = addressData.street.length; i <= 2; i++) {\n+ for (i = addressData.street.length; i <= 2; i++) {\naddressData.street[i] = '';\n}\n}\n- checkoutData.setShippingAddressFromData(addressConverter.quoteAddressToFormAddressData(addressData));\n+ checkoutData.setShippingAddressFromData(\n+ addressConverter.quoteAddressToFormAddressData(addressData)\n+ );\ncheckoutDataResolver.resolveEstimationAddress();\n}\n).fail(\n@@ -130,14 +158,23 @@ define(\n);\n},\n+ /**\n+ * Get Amazon Order Reference ID\n+ */\ngetAmazonOrderReference: function () {\nreturn amazonStorage.getOrderReference();\n},\n+ /**\n+ * Get Amazon Address Consent Token\n+ */\ngetAddressConsentToken: function () {\nreturn amazonStorage.getAddressConsentToken();\n}\n});\n+ } else {\n+ return Component.extend({});\n+ }\n}\n);\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Update - added in fixes for action/pwaenabled coming in pre-2.0.0 to remove ambiguity. Added checks for amazonpay data in JS calls (layout/data issue resolved in pre-2.0.0 so this is a workaround for current master).
21,245
23.05.2018 16:54:43
21,600
0684761cb46db0feec82489bbb3f0b48297916ca
Update - added split-database support for quote-split related tables
[
{
"change_type": "MODIFY",
"old_path": "docs/configuration.rst",
"new_path": "docs/configuration.rst",
"diff": "@@ -26,6 +26,7 @@ The credentials can be found in Seller Central at :menuselection:`Integration --\nPayment Region\n..............\nSelect the region where you registered your seller account from the provided list. If you're unsure about this information, please consult the Amazon Pay merchant support. Supported regions are:\n+\n* Euro (use for countries that use EUR as their currency, e.g. Germany, France, Italy, Spain, etc.)\n* United Kingdom\n* United States\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Added missing line for list formatting
21,252
18.06.2018 15:08:01
-10,800
7123348109fbf8929ef76d71593bd584b4e1ad53
Fixes the bug which causes 'Add to Cart' request executed twice under certain conditions
[
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/web/js/catalog-add-to-cart.js",
"new_path": "src/Payment/view/frontend/web/js/catalog-add-to-cart.js",
"diff": "@@ -23,8 +23,9 @@ define([\n$.widget('amazon.catalogAddToCart', $.mage.catalogAddToCart, {\n_create: function () {\n- //this is overridden here and ignores the redirect option until fixed by Magento (as of 2.1)\n+ if (this.options.bindSubmit) {\nthis._bindSubmit();\n+ }\n},\n_bindSubmit: function () {\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Fixes the bug which causes 'Add to Cart' request executed twice under certain conditions
Updated module.xml files to have 2.1.0 version to match composer.json updates.
21,251
07.08.2018 17:11:59
25,200
54367f425c59227c857de56bbedda60fd31adc26
Update decline messages
[
{
"change_type": "MODIFY",
"old_path": "src/Payment/etc/amazon_error_mapping.xml",
"new_path": "src/Payment/etc/amazon_error_mapping.xml",
"diff": "<?xml version=\"1.0\"?>\n<mapping xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:module:Magento_Payment:etc/error_mapping.xsd\">\n<message_list>\n- <message code=\"AmazonRejected\" translate=\"true\">Rejected - please choose a different payment method.</message>\n+ <message code=\"AmazonRejected\" translate=\"true\">Unfortunately it is not possible to use Amazon Pay for this order, please choose another payment method.</message>\n<message code=\"ProcessingFailure\" translate=\"true\">Processing Failure - unable to authorize transaction.</message>\n<message code=\"BillingAgreementConstraintsExist\" translate=\"true\">Unable to authorize transaction.</message>\n<message code=\"PaymentMethodNotUpdated\" translate=\"true\">Buyer did not specify valid Amazon Wallet payment method.</message>\n<message code=\"InvalidAddress\" translate=\"true\">Invalid values passed in request.</message>\n<message code=\"InvalidParameterValue\" translate=\"true\">Invalid values passed in request.</message>\n<message code=\"OrderReferenceCountExceeded\" translate=\"true\">You have attempted to create more than the maximum allowed limit of one Order Reference object on a Billing Agreement object that is in the Draft State.</message>\n- <message code=\"TransactionTimedOut\" translate=\"true\">Unable to complete this transaction. Please try again later or choose a different payment method.</message>\n+ <message code=\"TransactionTimedOut\" translate=\"true\">Unfortunately it is not possible to use Amazon Pay for this order, please choose another payment method.</message>\n<message code=\"TransactionCountExceeded\" translate=\"true\">Number of authorizations, captures or refunds has exceeded allowed limits.</message>\n<message code=\"TransactionAmountExceeded\" translate=\"true\">Number of authorizations, captures or refunds has exceeded allowed limits.</message>\n<message code=\"InvalidSandboxSimulationSpecified\" translate=\"true\">Invalid operation for sandbox environment.</message>\n<message code=\"RequestThrottled\" translate=\"true\">Request rejected because request rate is higher than allocated throttling limits.</message>\n<message code=\"ServiceUnavailable\" translate=\"true\">The service is temporarily unavailable. Please try again later.</message>\n<message code=\"PaymentMethodNotAllowed\" translate=\"true\">Invalid payment method - please select a different payment method.</message>\n- <message code=\"InvalidPaymentMethod\" translate=\"true\">Invalid payment method - please select a different payment method.</message>\n+ <message code=\"InvalidPaymentMethod\" translate=\"true\">There has been a problem with the selected payment method on your Amazon account. Please choose another one.</message>\n</message_list>\n</mapping>\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Update decline messages (#304)
21,245
08.08.2018 11:06:32
21,600
41236bc79c8461c80cc9be59a9c8f0abe66114da
Update - removed unnecessary class reference, altered check for upgrade from 3.0 to 2.1. Added a check for missing postal code.
[
{
"change_type": "MODIFY",
"old_path": "src/Core/Domain/AmazonAddressFactory.php",
"new_path": "src/Core/Domain/AmazonAddressFactory.php",
"diff": "@@ -82,7 +82,7 @@ class AmazonAddressFactory\n$data = [\nAmazonAddressInterface::CITY => $this->escaper->escapeHtml($address['City']),\n- AmazonAddressInterface::POSTAL_CODE => $this->escaper->escapeHtml($address['PostalCode']),\n+ AmazonAddressInterface::POSTAL_CODE => isset($address['PostalCode']) ? $this->escaper->escapeHtml($address['PostalCode']) : '',\nAmazonAddressInterface::COUNTRY_CODE => $this->escaper->escapeHtml($address['CountryCode']),\nAmazonAddressInterface::TELEPHONE => $this->escaper->escapeHtml($address['Phone']) ?? '',\nAmazonAddressInterface::STATE_OR_REGION => $this->escaper->escapeHtml($address['StateOrRegion']) ?? '',\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/Setup/UpgradeData.php",
"new_path": "src/Core/Setup/UpgradeData.php",
"diff": "@@ -33,7 +33,7 @@ class UpgradeData implements UpgradeDataInterface\npublic function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface $context)\n{\n// Used update query because all scopes needed to have this value updated and this is a fast, simple approach\n- if (version_compare($context->getVersion(), '3.0.0', '<')) {\n+ if (version_compare($context->getVersion(), '2.1.0', '<')) {\n$select = $setup->getConnection()->select()->from(\n$setup->getTable('core_config_data'),\n['config_id', 'value']\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/Model/CustomerLinkRepository.php",
"new_path": "src/Login/Model/CustomerLinkRepository.php",
"diff": "@@ -24,7 +24,6 @@ use Amazon\\Login\\Api\\Data;\nuse Amazon\\Login\\Api\\Data\\CustomerLinkInterface;\nuse Amazon\\Login\\Api\\Data\\CustomerLinkSearchResultsInterfaceFactory;\nuse Amazon\\Login\\Model\\ResourceModel\\CustomerLink as CustomerLinkResourceModel;\n-use Amazon\\Login\\Model\\ResourceModel\\CustomerLink\\Collection;\nuse Amazon\\Login\\Model\\ResourceModel\\CustomerLink\\CollectionFactory;\n/**\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Update AP-408 - removed unnecessary class reference, altered check for upgrade from 3.0 to 2.1. Added a check for missing postal code.
21,245
08.08.2018 12:11:04
21,600
4adbf29ce0cccabde0ed2e7324387a7b4f1c508f
Updated - added 2 additional seconds to decline delay.
Update - check to ensure potentially optional fields are checked by index before getting data.
21,245
14.08.2018 13:13:33
21,600
a9c214aa5a187e2caa37e4a69d76df9f537e0d50
Update - removed all references to adding history/status messages to orders in new gateway implementation
[
{
"change_type": "MODIFY",
"old_path": "src/Payment/Gateway/Helper/SubjectReader.php",
"new_path": "src/Payment/Gateway/Helper/SubjectReader.php",
"diff": "@@ -137,20 +137,6 @@ class SubjectReader\nreturn $quoteLink;\n}\n- /**\n- * Adds status message - should be called after transaction and order are saved\n- * and ID exists.\n- *\n- * @param $message\n- */\n- public function setOrderMessage($message)\n- {\n- $order = $this->getOrder();\n- if ($order) {\n- $order->addStatusHistoryComment($message);\n- }\n- }\n-\n/**\n* @return \\Magento\\Sales\\Model\\Order\n*/\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/Gateway/Response/CompleteAuthHandler.php",
"new_path": "src/Payment/Gateway/Response/CompleteAuthHandler.php",
"diff": "@@ -95,11 +95,6 @@ class CompleteAuthHandler implements HandlerInterface\n$payment->setIsTransactionClosed(false);\n$quoteLink = $this->subjectReader->getQuoteLink();\n$quoteLink->setConfirmed(true)->save();\n-\n- $message = __('Authorized amount of %1 online', $order->getGrandTotal());\n- $message .= ' ' . __('Transaction ID: \"%1\"', $amazonId);\n-\n- $order->addStatusHistoryComment($message);\n}\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/Gateway/Response/CompleteSaleHandler.php",
"new_path": "src/Payment/Gateway/Response/CompleteSaleHandler.php",
"diff": "@@ -104,12 +104,6 @@ class CompleteSaleHandler implements HandlerInterface\n$quoteLink = $this->subjectReader->getQuoteLink();\n$quoteLink->setConfirmed(true)->save();\n-\n- $message = __('Captured amount of %1 online', $order->getGrandTotal());\n- $message .= ' ' . __('Transaction ID: \"%1\"', $amazonId);\n-\n- $order->addStatusHistoryComment($message);\n-\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/Gateway/Response/SettlementHandler.php",
"new_path": "src/Payment/Gateway/Response/SettlementHandler.php",
"diff": "@@ -100,12 +100,6 @@ class SettlementHandler implements HandlerInterface\n$quote = $this->quoteRepository->get($order->getQuoteId());\n$quoteLink = $this->subjectReader->getQuoteLink($quote->getId());\n$quoteLink->setConfirmed(true)->save();\n-\n- $message = __('Captured amount of %1 online', $order->getGrandTotal());\n- $message .= ' ' . __('Transaction ID: \"%1\"', $quoteLink->getAmazonOrderReferenceId());\n-\n- $order->addStatusHistoryComment($message);\n-\n}\n}\nelse {\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Update - removed all references to adding history/status messages to orders in new gateway implementation
21,245
16.08.2018 19:27:43
21,600
bbfd7fa955b3b8e45c2fb0618134b6c521ba1e32
Update - fixes logger setup/classes and di settings related to them.
[
{
"change_type": "MODIFY",
"old_path": "src/Core/Logger/Handler/Client.php",
"new_path": "src/Core/Logger/Handler/Client.php",
"diff": "namespace Amazon\\Core\\Logger\\Handler;\nuse Magento\\Framework\\Logger\\Handler\\Base;\n-use Monolog\\Logger;\nclass Client extends Base\n{\n@@ -30,5 +29,5 @@ class Client extends Base\n/**\n* @var int\n*/\n- protected $loggerType = Logger::DEBUG;\n+ protected $loggerType = \\Monolog\\Logger::DEBUG;\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/Logger/Handler/Ipn.php",
"new_path": "src/Core/Logger/Handler/Ipn.php",
"diff": "namespace Amazon\\Core\\Logger\\Handler;\nuse Magento\\Framework\\Logger\\Handler\\Base;\n-use Monolog\\Logger;\nclass Ipn extends Base\n{\n@@ -30,5 +29,5 @@ class Ipn extends Base\n/**\n* @var int\n*/\n- protected $loggerType = Logger::DEBUG;\n+ protected $loggerType = \\Monolog\\Logger::DEBUG;\n}\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/Core/Logger/IpnLogger.php",
"diff": "+<?php\n+/*\n+ * Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\").\n+ * You may not use this file except in compliance with the License.\n+ * A copy of the License is located at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * or in the \"license\" file accompanying this file. This file is distributed\n+ * on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\n+ * express or implied. See the License for the specific language governing\n+ * permissions and limitations under the License.\n+ *\n+ */\n+\n+namespace Amazon\\Core\\Logger;\n+\n+/**\n+ * Class Logger\n+ *\n+ * @package Amazon\\MCF\\Logger\n+ */\n+class IpnLogger extends \\Monolog\\Logger\n+{\n+}\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/Core/Logger/Logger.php",
"diff": "+<?php\n+/*\n+ * Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\").\n+ * You may not use this file except in compliance with the License.\n+ * A copy of the License is located at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * or in the \"license\" file accompanying this file. This file is distributed\n+ * on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\n+ * express or implied. See the License for the specific language governing\n+ * permissions and limitations under the License.\n+ *\n+ */\n+\n+namespace Amazon\\Core\\Logger;\n+\n+/**\n+ * Class Logger\n+ *\n+ * @package Amazon\\MCF\\Logger\n+ */\n+class Logger extends \\Monolog\\Logger\n+{\n+}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/di.xml",
"new_path": "src/Core/etc/di.xml",
"diff": "<argument name=\"remoteAddress\" xsi:type=\"object\">Amazon_Core_RemoteAddressWithAdditionalIpHeaders</argument>\n</arguments>\n</type>\n- <virtualType name=\"amazonClientLogger\" type=\"Magento\\Framework\\Logger\\Monolog\">\n+ <type name=\"Amazon\\Core\\Logger\\Logger\">\n<arguments>\n+ <argument name=\"name\" xsi:type=\"string\">amazonClientLogger</argument>\n<argument name=\"handlers\" xsi:type=\"array\">\n<item name=\"debug\" xsi:type=\"object\">Amazon\\Core\\Logger\\Handler\\Client</item>\n</argument>\n</arguments>\n- </virtualType>\n+ </type>\n<type name=\"Amazon\\Core\\Client\\ClientFactory\">\n<arguments>\n- <argument name=\"logger\" xsi:type=\"object\">amazonClientLogger</argument>\n+ <argument name=\"logger\" xsi:type=\"object\">Amazon\\Core\\Logger\\Logger</argument>\n</arguments>\n</type>\n<type name=\"Amazon\\Core\\Helper\\CategoryExclusion\">\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/etc/di.xml",
"new_path": "src/Payment/etc/di.xml",
"diff": "</argument>\n</arguments>\n</type>\n- <virtualType name=\"amazonIpnLogger\" type=\"Magento\\Framework\\Logger\\Monolog\">\n+ <type name=\"Amazon\\Core\\Logger\\IpnLogger\">\n<arguments>\n+ <argument name=\"name\" xsi:type=\"string\">amazonIpnLogger</argument>\n<argument name=\"handlers\" xsi:type=\"array\">\n<item name=\"debug\" xsi:type=\"object\">Amazon\\Core\\Logger\\Handler\\Ipn</item>\n</argument>\n</arguments>\n- </virtualType>\n+ </type>\n<type name=\"Amazon\\Payment\\Ipn\\IpnHandlerFactoryInterface\">\n<arguments>\n<argument name=\"logger\" xsi:type=\"object\">amazonIpnLogger</argument>\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Update - fixes logger setup/classes and di settings related to them.
21,245
16.08.2018 19:33:08
21,600
9548e5e91871f265e995f9e54b4f9b02c4995abb
Update - fixed headers/documentation on new logger classes.
[
{
"change_type": "MODIFY",
"old_path": "src/Core/Logger/IpnLogger.php",
"new_path": "src/Core/Logger/IpnLogger.php",
"diff": "<?php\n-/*\n- * Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n+/**\n+ * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\").\n* You may not use this file except in compliance with the License.\n* A copy of the License is located at\n*\n- * http://www.apache.org/licenses/LICENSE-2.0\n+ * http://aws.amazon.com/apache2.0\n*\n* or in the \"license\" file accompanying this file. This file is distributed\n* on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\n* express or implied. See the License for the specific language governing\n* permissions and limitations under the License.\n- *\n*/\n-\nnamespace Amazon\\Core\\Logger;\n/**\n- * Class Logger\n- *\n- * @package Amazon\\MCF\\Logger\n+ * Enables implementation of custom log file.\n*/\nclass IpnLogger extends \\Monolog\\Logger\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/Logger/Logger.php",
"new_path": "src/Core/Logger/Logger.php",
"diff": "<?php\n-/*\n- * Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n+/**\n+ * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\").\n* You may not use this file except in compliance with the License.\n* A copy of the License is located at\n*\n- * http://www.apache.org/licenses/LICENSE-2.0\n+ * http://aws.amazon.com/apache2.0\n*\n* or in the \"license\" file accompanying this file. This file is distributed\n* on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\n* express or implied. See the License for the specific language governing\n* permissions and limitations under the License.\n- *\n*/\n-\nnamespace Amazon\\Core\\Logger;\n/**\n- * Class Logger\n- *\n- * @package Amazon\\MCF\\Logger\n+ * Enables implementation of custom log file.\n*/\nclass Logger extends \\Monolog\\Logger\n{\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Update - fixed headers/documentation on new logger classes.
Support Issue
* Update re: error message
* Revert "Update re: error message - accidently commited to master,
not to new branch.
This reverts commit
* Update - changed dependency versions for compatibility
Support Issue
* Update re: error message
* Revert "Update re: error message - accidently commited to master,
not to new branch.
This reverts commit
* Update re: APS-50/APS-51 - incorrect implementation of schema for tables used in splt database
[
{
"change_type": "DELETE",
"old_path": "src/Core/Setup/UpgradeSchema.php",
"new_path": null,
"diff": "-<?php\n-/**\n- * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n- *\n- * Licensed under the Apache License, Version 2.0 (the \"License\").\n- * You may not use this file except in compliance with the License.\n- * A copy of the License is located at\n- *\n- * http://aws.amazon.com/apache2.0\n- *\n- * or in the \"license\" file accompanying this file. This file is distributed\n- * on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\n- * express or implied. See the License for the specific language governing\n- * permissions and limitations under the License.\n- */\n-namespace Amazon\\Core\\Setup;\n-\n-use Magento\\Framework\\Setup\\ModuleContextInterface;\n-use Magento\\Framework\\Setup\\SchemaSetupInterface;\n-use Magento\\Framework\\Setup\\UpgradeSchemaInterface;\n-\n-class UpgradeSchema implements UpgradeSchemaInterface\n-{\n-\n- public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $context)\n- {\n- $setup->startSetup();\n-\n- if (version_compare($context->getVersion(), '1.0.0', '<=')) {\n- $setup->getConnection()->addColumn(\n- $setup->getTable('quote_item'),\n- 'is_excluded_product',\n- [\n- 'type' => \\Magento\\Framework\\DB\\Ddl\\Table::TYPE_SMALLINT,\n- 'visible' => false,\n- 'required' => false,\n- 'default' => 0,\n- 'nullable' => false,\n- 'unsigned' => true,\n- 'comment' => 'Flags whether or not product is excluded from Amazon Pay'\n- ]\n- );\n- }\n-\n- $setup->endSetup();\n- }\n-}\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/Core/etc/db_schema.xml",
"diff": "+<schema xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n+ xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd\">\n+ <table name=\"amazon_quote\" resource=\"checkout\" engine=\"innodb\" comment=\"amazon_quote\">\n+ <column xsi:type=\"int\" name=\"entity_id\" padding=\"10\" unsigned=\"true\" nullable=\"false\" identity=\"true\"\n+ comment=\"Entity ID\"/>\n+ <column xsi:type=\"int\" name=\"quote_id\" padding=\"10\" unsigned=\"true\" nullable=\"false\" identity=\"false\"\n+ comment=\"Quote ID\"/>\n+ <column xsi:type=\"varchar\" name=\"amazon_order_reference_id\" nullable=\"false\" length=\"255\" comment=\"Amazon Order Reference ID\"/>\n+ <column xsi:type=\"varchar\" name=\"sandbox_simulation_reference\" nullable=\"true\" length=\"255\" comment=\"Sandbox simulation reference\"/>\n+ <column xsi:type=\"smallint\" name=\"confirmed\" padding=\"5\" unsigned=\"true\" nullable=\"false\"\n+ identity=\"false\" default=\"0\" comment=\"Quote confirmed with Amazon\"/>\n+ <constraint xsi:type=\"primary\" name=\"PRIMARY\">\n+ <column name=\"entity_id\"/>\n+ </constraint>\n+ <constraint xsi:type=\"foreign\" name=\"AMAZON_QUOTE_QUOTE_ID_QUOTE_ENTITY_ID\" table=\"amazon_quote\"\n+ column=\"quote_id\" referenceTable=\"quote\" referenceColumn=\"entity_id\" onDelete=\"CASCADE\"/>\n+ <index name=\"AMAZON_QUOTE_QUOTE_ID\" indexType=\"btree\">\n+ <column name=\"quote_id\"/>\n+ </index>\n+ </table>\n+ <table name=\"amazon_sales_order\" resource=\"sales\" engine=\"innodb\" comment=\"amazon_sales_order\">\n+ <column xsi:type=\"int\" name=\"entity_id\" padding=\"10\" unsigned=\"true\" nullable=\"false\" identity=\"true\"\n+ comment=\"Entity ID\"/>\n+ <column xsi:type=\"int\" name=\"order_id\" padding=\"10\" unsigned=\"true\" nullable=\"false\" identity=\"false\"\n+ comment=\"Order ID\"/>\n+ <column xsi:type=\"varchar\" name=\"amazon_order_reference_id\" nullable=\"false\" length=\"255\" comment=\"Amazon Order Reference ID\"/>\n+ <constraint xsi:type=\"primary\" name=\"PRIMARY\">\n+ <column name=\"entity_id\"/>\n+ </constraint>\n+ <constraint xsi:type=\"foreign\" name=\"AMAZON_SALES_ORDER_ORDER_ID_SALES_ORDER_ENTITY_ID\" table=\"amazon_sales_order\"\n+ column=\"order_id\" referenceTable=\"sales_order\" referenceColumn=\"entity_id\" onDelete=\"CASCADE\"/>\n+ <index name=\"AMAZON_SALES_ORDER_ORDER_ID\" indexType=\"btree\">\n+ <column name=\"order_id\"/>\n+ </index>\n+ </table>\n+</schema>\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/Setup/UpgradeSchema.php",
"new_path": "src/Payment/Setup/UpgradeSchema.php",
"diff": "@@ -44,84 +44,7 @@ class UpgradeSchema implements UpgradeSchemaInterface\n*/\npublic function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $context)\n{\n- if (version_compare($context->getVersion(), '1.1.0', '<')) {\n- $linkTables = [\n- 'quote_id' => QuoteLink::TABLE_NAME,\n- 'order_id' => OrderLink::TABLE_NAME\n- ];\n-\n- foreach ($linkTables as $fieldName => $tableName) {\n- $table = $setup->getConnection()->newTable($setup->getTable($tableName));\n-\n- $table\n- ->addColumn(\n- 'entity_id',\n- Table::TYPE_INTEGER,\n- null,\n- [\n- 'identity' => true,\n- 'unsigned' => true,\n- 'primary' => true,\n- 'nullable' => false\n- ]\n- )\n- ->addColumn(\n- $fieldName,\n- Table::TYPE_INTEGER,\n- null,\n- [\n- 'unsigned' => true,\n- 'nullable' => false\n- ]\n- )\n- ->addColumn(\n- 'amazon_order_reference_id',\n- Table::TYPE_TEXT,\n- 255,\n- [\n- 'nullable' => false\n- ]\n- )\n- ->addIndex(\n- $setup->getIdxName(\n- $tableName,\n- [$fieldName],\n- AdapterInterface::INDEX_TYPE_UNIQUE\n- ),\n- [$fieldName],\n- ['type' => AdapterInterface::INDEX_TYPE_UNIQUE]\n- );\n-\n- $setup->getConnection()->createTable($table);\n- }\n- }\n- if (version_compare($context->getVersion(), '1.2.0', '<')) {\n- $setup->getConnection()->addColumn(\n- $setup->getTable(QuoteLink::TABLE_NAME),\n- 'sandbox_simulation_reference',\n- [\n- 'type' => Table::TYPE_TEXT,\n- 'length' => 255,\n- 'nullable' => true,\n- 'comment' => 'Sandbox simulation reference'\n- ]\n- );\n- }\n-\n- if (version_compare($context->getVersion(), '1.3.0', '<')) {\n- $setup->getConnection()->addColumn(\n- $setup->getTable(QuoteLink::TABLE_NAME),\n- 'confirmed',\n- [\n- 'unsigned' => true,\n- 'nullable' => false,\n- 'default' => 0,\n- 'type' => Table::TYPE_SMALLINT,\n- 'comment' => 'Quote confirmed with Amazon'\n- ]\n- );\n- }\nif (version_compare($context->getVersion(), '1.4.0', '<')) {\n$table = $setup->getConnection()->newTable($setup->getTable(PendingCapture::TABLE_NAME));\n@@ -167,25 +90,6 @@ class UpgradeSchema implements UpgradeSchemaInterface\n$setup->getConnection()->createTable($table);\n}\n- if (version_compare($context->getVersion(), '1.6.0', '<')) {\n- $setup->getConnection()->addForeignKey(\n- $setup->getFkName(QuoteLink::TABLE_NAME, 'quote_id', $setup->getTable('quote'), 'entity_id'),\n- $setup->getTable(QuoteLink::TABLE_NAME),\n- 'quote_id',\n- $setup->getTable('quote'),\n- 'entity_id',\n- AdapterInterface::FK_ACTION_CASCADE\n- );\n-\n- $setup->getConnection()->addForeignKey(\n- $setup->getFkName(OrderLink::TABLE_NAME, 'order_id', $setup->getTable('sales_order'), 'entity_id'),\n- $setup->getTable(OrderLink::TABLE_NAME),\n- 'order_id',\n- $setup->getTable('sales_order'),\n- 'entity_id',\n- AdapterInterface::FK_ACTION_CASCADE\n- );\n- }\nif (version_compare($context->getVersion(), '1.7.0', '<')) {\n$this->addColumnsToPendingCaptureQueue($setup);\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/etc/extension_attributes.xml",
"new_path": "src/Payment/etc/extension_attributes.xml",
"diff": "<?xml version=\"1.0\"?>\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Api/etc/extension_attributes.xsd\">\n<extension_attributes for=\"Magento\\Quote\\Api\\Data\\CartInterface\">\n- <attribute code=\"amazon_order_reference_id\" type=\"string\">\n+ <attribute code=\"amazon_order_reference_id\" type=\"Amazon\\Payment\\Api\\Data\\QuoteLinkInterface\">\n<join reference_table=\"amazon_quote\" reference_field=\"quote_id\" join_on_field=\"entity_id\">\n<field>amazon_order_reference_id</field>\n+ <field>quote_id</field>\n+ <field>sandbox_simulation_reference</field>\n+ <field>confirmed</field>\n</join>\n</attribute>\n</extension_attributes>\n<extension_attributes for=\"Magento\\Sales\\Api\\Data\\OrderInterface\">\n- <attribute code=\"amazon_order_reference_id\" type=\"string\">\n+ <attribute code=\"amazon_order_reference_id\" type=\"Amazon\\Payment\\Api\\Data\\OrderLinkInterface\">\n<join reference_table=\"amazon_sales_order\" reference_field=\"order_id\" join_on_field=\"entity_id\">\n<field>amazon_order_reference_id</field>\n+ <field>order_id</field>\n</join>\n</attribute>\n</extension_attributes>\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Support Issue APS-50, APS-51 (#358)
* Update re: PR-11 error message
* Revert "Update re: PR-11 error message - accidently commited to master,
not to new branch.
This reverts commit 5d7d70d3f7541fa9224e8dce21283d409e442353.
* Update re: APS-50/APS-51 - incorrect implementation of schema for tables used in splt database
21,245
08.10.2018 17:51:54
21,600
fe73e2000f1871e1c289cda66b0af132d72da536
Update configuration section wording
* Update re: error message
* Revert "Update re: error message - accidently commited to master,
not to new branch.
This reverts commit
* Update wording in admin section for Amazon Pay minicart, product page and Magento login popup
[
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/adminhtml/system.xml",
"new_path": "src/Core/etc/adminhtml/system.xml",
"diff": "<config_path>payment/amazon_payment/button_size</config_path>\n</field>\n<field id=\"pwa_pp_button_is_visible\" translate=\"label\" type=\"select\" sortOrder=\"70\" showInDefault=\"1\" showInWebsite=\"1\" showInStore=\"1\">\n- <label>Amazon Pay button on Product Page</label>\n+ <label>Show Amazon Pay button on product page</label>\n<source_model>Magento\\Config\\Model\\Config\\Source\\Yesno</source_model>\n<config_path>payment/amazon_payment/pwa_pp_button_is_visible</config_path>\n</field>\n<field id=\"minicart_button_is_visible\" translate=\"label comment\" type=\"select\" sortOrder=\"80\" showInDefault=\"1\" showInWebsite=\"1\" showInStore=\"1\">\n- <label>Amazon Pay button in minicart</label>\n+ <label>Show Amazon Pay button in minicart</label>\n<source_model>Magento\\Config\\Model\\Config\\Source\\Yesno</source_model>\n<config_path>payment/amazon_payment/minicart_button_is_visible</config_path>\n</field>\n<field id=\"amazonloggin\" translate=\"label comment\" type=\"select\" sortOrder=\"80\" showInDefault=\"1\" showInWebsite=\"1\" showInStore=\"1\">\n- <label>Display Amazon Pay Method</label>\n+ <label>Show Amazon Pay Method</label>\n<comment><![CDATA[If enabled, Amazon Pay is presented as an option in the list of available payment methods during the final step of checkout.]]></comment>\n<source_model>Magento\\Config\\Model\\Config\\Source\\Yesno</source_model>\n<config_path>payment/amazonlogin/active</config_path>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/etc/adminhtml/system.xml",
"new_path": "src/Login/etc/adminhtml/system.xml",
"diff": "<group id=\"advanced\">\n<group id=\"frontend\">\n<field id=\"amazon_login_in_popup\" translate=\"label comment\" type=\"select\" sortOrder=\"60\" showInDefault=\"1\" showInWebsite=\"1\" showInStore=\"1\">\n- <label>Login with Amazon available in authentication popup</label>\n+ <label>Show Login with Amazon in authentication popup</label>\n<source_model>Magento\\Config\\Model\\Config\\Source\\Yesno</source_model>\n<config_path>payment/amazon_payment/amazon_login_in_popup</config_path>\n+ <comment><![CDATA[Displays Login with Amazon Pay option in Magento's account login popup.]]></comment>\n</field>\n</group>\n</group>\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Update configuration section wording (#357)
* Update re: PR-11 error message
* Revert "Update re: PR-11 error message - accidently commited to master,
not to new branch.
This reverts commit 5d7d70d3f7541fa9224e8dce21283d409e442353.
* Update wording in admin section for Amazon Pay minicart, product page and Magento login popup
Support Issue
* Update re: error message
* Revert "Update re: error message - accidently commited to master,
not to new branch.
This reverts commit
* Update re: - updates wording in administration system document to be more consistent and intuitive.
* Update re:
[
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/adminhtml/system.xml",
"new_path": "src/Core/etc/adminhtml/system.xml",
"diff": "<config_path>payment/amazon_payment/minicart_button_is_visible</config_path>\n</field>\n<field id=\"amazonloggin\" translate=\"label comment\" type=\"select\" sortOrder=\"80\" showInDefault=\"1\" showInWebsite=\"1\" showInStore=\"1\">\n- <label>Show Amazon Pay Method</label>\n+ <label>Show Amazon Pay in payment methods</label>\n<comment><![CDATA[If enabled, Amazon Pay is presented as an option in the list of available payment methods during the final step of checkout.]]></comment>\n<source_model>Magento\\Config\\Model\\Config\\Source\\Yesno</source_model>\n<config_path>payment/amazonlogin/active</config_path>\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Support Issue APS-36 (#371)
* Update re: PR-11 error message
* Revert "Update re: PR-11 error message - accidently commited to master,
not to new branch.
This reverts commit 5d7d70d3f7541fa9224e8dce21283d409e442353.
* Update re: APS-36 - updates wording in administration system document to be more consistent and intuitive.
* Update re: APS-36
21,245
19.10.2018 03:50:32
21,600
2219d9b906f96911c523bca9f5d324a192548df7
Support issue
* Update re: error message
* Revert "Update re: error message - accidently commited to master,
not to new branch.
This reverts commit
* Update - fixed di.xml formatting - updated attribute to receive a QuoteInterface object rather than a string
Support issue APS-75, APS-72 (#372)
* Update re: PR-11 error message
* Revert "Update re: PR-11 error message - accidently commited to master,
not to new branch.
This reverts commit 5d7d70d3f7541fa9224e8dce21283d409e442353.
* Update - fixed di.xml formatting - updated attribute to receive a QuoteInterface object rather than a string
[
{
"change_type": "MODIFY",
"old_path": "composer.json",
"new_path": "composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.2\",\n+ \"version\": \"2.2.3\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/conf.py",
"new_path": "docs/conf.py",
"diff": "@@ -60,9 +60,9 @@ author = u'Amazon.com Inc or its affiliates'\n# built documents.\n#\n# The short X.Y version.\n-version = u'2.2.2'\n+version = u'2.2.3'\n# The full version, including alpha/beta/rc tags.\n-release = u'2.2.2'\n+release = u'2.2.3'\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/installation.rst",
"new_path": "docs/installation.rst",
"diff": "@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\n* Sign in to your server via SSH\n* `cd` into you Magento installation directory\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.2`\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.3`\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\n* Follow any advice the upgrade routine provides\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.2` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.3` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\n"
},
{
"change_type": "MODIFY",
"old_path": "marketplace-composer.json",
"new_path": "marketplace-composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"metapackage\",\n- \"version\": \"2.2.2\",\n+ \"version\": \"2.2.3\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.2\",\n- \"amzn/login-with-amazon-module\": \"2.2.2\",\n- \"amzn/amazon-pay-module\": \"2.2.2\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.3\",\n+ \"amzn/login-with-amazon-module\": \"2.2.3\",\n+ \"amzn/amazon-pay-module\": \"2.2.3\"\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/composer.json",
"new_path": "src/Core/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-with-amazon-core-module\",\n\"description\": \"Shared functionality for Amazon Pay and Login with Amazon modules\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.2\",\n+ \"version\": \"2.2.3\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/module.xml",
"new_path": "src/Core/etc/module.xml",
"diff": "<?xml version=\"1.0\"?>\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Core\" setup_version=\"2.2.2\">\n+ <module name=\"Amazon_Core\" setup_version=\"2.2.3\">\n<sequence>\n<module name=\"Magento_Store\"/>\n<module name=\"Magento_Customer\"/>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/composer.json",
"new_path": "src/Login/composer.json",
"diff": "\"name\": \"amzn/login-with-amazon-module\",\n\"description\": \"Login with Amazon module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.2\",\n+ \"version\": \"2.2.3\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.2\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.3\",\n\"magento/module-customer\": \"*\",\n\"magento/module-store\": \"*\",\n\"magento/module-eav\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/etc/module.xml",
"new_path": "src/Login/etc/module.xml",
"diff": "<?xml version=\"1.0\"?>\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Login\" setup_version=\"2.1.1\">\n+ <module name=\"Amazon_Login\" setup_version=\"2.2.3\">\n<sequence>\n<module name=\"Amazon_Core\"/>\n</sequence>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/composer.json",
"new_path": "src/Payment/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-module\",\n\"description\": \"Amazon Pay module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.2\",\n+ \"version\": \"2.2.3\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.2\",\n- \"amzn/login-with-amazon-module\": \"^2.2.2\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.3\",\n+ \"amzn/login-with-amazon-module\": \"^2.2.3\",\n\"magento/module-eav\": \"*\",\n\"magento/module-sales\": \"*\",\n\"magento/module-quote\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/etc/module.xml",
"new_path": "src/Payment/etc/module.xml",
"diff": "<?xml version=\"1.0\"?>\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Payment\" setup_version=\"2.2.2\" >\n+ <module name=\"Amazon_Payment\" setup_version=\"2.2.3\" >\n<sequence>\n<module name=\"Amazon_Core\"/>\n<module name=\"Amazon_Login\"/>\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
version increase to 2.2.3 (#374)
21,245
24.10.2018 12:12:48
21,600
2e988e4aaf438dafbe3e845f58dd6cc1b16264da
Update - made requested changes to schema and updated version to 2.2.4
[
{
"change_type": "MODIFY",
"old_path": "composer.json",
"new_path": "composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.4\",\n+ \"version\": \"2.2.5\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/conf.py",
"new_path": "docs/conf.py",
"diff": "@@ -60,9 +60,9 @@ author = u'Amazon.com Inc or its affiliates'\n# built documents.\n#\n# The short X.Y version.\n-version = u'2.2.3'\n+version = u'2.2.5'\n# The full version, including alpha/beta/rc tags.\n-release = u'2.2.3'\n+release = u'2.2.5'\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/installation.rst",
"new_path": "docs/installation.rst",
"diff": "@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\n* Sign in to your server via SSH\n* `cd` into you Magento installation directory\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.3`\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.5`\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\n* Follow any advice the upgrade routine provides\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.3` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.5` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\n"
},
{
"change_type": "MODIFY",
"old_path": "marketplace-composer.json",
"new_path": "marketplace-composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"metapackage\",\n- \"version\": \"2.2.4\",\n+ \"version\": \"2.2.5\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.4\",\n- \"amzn/login-with-amazon-module\": \"2.2.4\",\n- \"amzn/amazon-pay-module\": \"2.2.4\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.5\",\n+ \"amzn/login-with-amazon-module\": \"2.2.5\",\n+ \"amzn/amazon-pay-module\": \"2.2.5\"\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/composer.json",
"new_path": "src/Core/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-with-amazon-core-module\",\n\"description\": \"Shared functionality for Amazon Pay and Login with Amazon modules\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.4\",\n+ \"version\": \"2.2.5\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/module.xml",
"new_path": "src/Core/etc/module.xml",
"diff": "<?xml version=\"1.0\"?>\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Core\" setup_version=\"2.2.4\">\n+ <module name=\"Amazon_Core\" setup_version=\"2.2.5\">\n<sequence>\n<module name=\"Magento_Store\"/>\n<module name=\"Magento_Customer\"/>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/composer.json",
"new_path": "src/Login/composer.json",
"diff": "\"name\": \"amzn/login-with-amazon-module\",\n\"description\": \"Login with Amazon module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.4\",\n+ \"version\": \"2.2.5\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.4\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.5\",\n\"magento/module-customer\": \"*\",\n\"magento/module-store\": \"*\",\n\"magento/module-eav\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/etc/module.xml",
"new_path": "src/Login/etc/module.xml",
"diff": "<?xml version=\"1.0\"?>\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Login\" setup_version=\"2.2.4\">\n+ <module name=\"Amazon_Login\" setup_version=\"2.2.5\">\n<sequence>\n<module name=\"Amazon_Core\"/>\n</sequence>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/composer.json",
"new_path": "src/Payment/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-module\",\n\"description\": \"Amazon Pay module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.4\",\n+ \"version\": \"2.2.5\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.4\",\n- \"amzn/login-with-amazon-module\": \"^2.2.4\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.5\",\n+ \"amzn/login-with-amazon-module\": \"^2.2.5\",\n\"magento/module-eav\": \"*\",\n\"magento/module-sales\": \"*\",\n\"magento/module-quote\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/etc/module.xml",
"new_path": "src/Payment/etc/module.xml",
"diff": "<?xml version=\"1.0\"?>\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Payment\" setup_version=\"2.2.4\" >\n+ <module name=\"Amazon_Payment\" setup_version=\"2.2.5\" >\n<sequence>\n<module name=\"Amazon_Core\"/>\n<module name=\"Amazon_Login\"/>\n"
}
]
Update re: APS-85 - adds password reset message to info block and no longer overrides base account edit template. (#382)
21,251
01.11.2018 14:38:42
25,200
7ad0081d9a2e294a3199b88555f17cbbf7a348ac
version increase to 2.2.6
[
{
"change_type": "MODIFY",
"old_path": "composer.json",
"new_path": "composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.5\",\n+ \"version\": \"2.2.6\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/conf.py",
"new_path": "docs/conf.py",
"diff": "@@ -60,9 +60,9 @@ author = u'Amazon.com Inc or its affiliates'\n# built documents.\n#\n# The short X.Y version.\n-version = u'2.2.5'\n+version = u'2.2.6'\n# The full version, including alpha/beta/rc tags.\n-release = u'2.2.5'\n+release = u'2.2.6'\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/installation.rst",
"new_path": "docs/installation.rst",
"diff": "@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\n* Sign in to your server via SSH\n* `cd` into you Magento installation directory\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.5`\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.6`\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\n* Follow any advice the upgrade routine provides\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.5` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.6` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\n"
},
{
"change_type": "MODIFY",
"old_path": "marketplace-composer.json",
"new_path": "marketplace-composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"metapackage\",\n- \"version\": \"2.2.5\",\n+ \"version\": \"2.2.6\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.5\",\n- \"amzn/login-with-amazon-module\": \"2.2.5\",\n- \"amzn/amazon-pay-module\": \"2.2.5\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.6\",\n+ \"amzn/login-with-amazon-module\": \"2.2.6\",\n+ \"amzn/amazon-pay-module\": \"2.2.6\"\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/composer.json",
"new_path": "src/Core/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-with-amazon-core-module\",\n\"description\": \"Shared functionality for Amazon Pay and Login with Amazon modules\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.5\",\n+ \"version\": \"2.2.6\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/module.xml",
"new_path": "src/Core/etc/module.xml",
"diff": "<?xml version=\"1.0\"?>\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Core\" setup_version=\"2.2.5\">\n+ <module name=\"Amazon_Core\" setup_version=\"2.2.6\">\n<sequence>\n<module name=\"Magento_Store\"/>\n<module name=\"Magento_Customer\"/>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/composer.json",
"new_path": "src/Login/composer.json",
"diff": "\"name\": \"amzn/login-with-amazon-module\",\n\"description\": \"Login with Amazon module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.5\",\n+ \"version\": \"2.2.6\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.5\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.6\",\n\"magento/module-customer\": \"*\",\n\"magento/module-store\": \"*\",\n\"magento/module-eav\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/etc/module.xml",
"new_path": "src/Login/etc/module.xml",
"diff": "<?xml version=\"1.0\"?>\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Login\" setup_version=\"2.2.5\">\n+ <module name=\"Amazon_Login\" setup_version=\"2.2.6\">\n<sequence>\n<module name=\"Amazon_Core\"/>\n</sequence>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/composer.json",
"new_path": "src/Payment/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-module\",\n\"description\": \"Amazon Pay module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.5\",\n+ \"version\": \"2.2.6\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.5\",\n- \"amzn/login-with-amazon-module\": \"^2.2.5\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.6\",\n+ \"amzn/login-with-amazon-module\": \"^2.2.6\",\n\"magento/module-eav\": \"*\",\n\"magento/module-sales\": \"*\",\n\"magento/module-quote\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/etc/module.xml",
"new_path": "src/Payment/etc/module.xml",
"diff": "<?xml version=\"1.0\"?>\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Payment\" setup_version=\"2.2.5\" >\n+ <module name=\"Amazon_Payment\" setup_version=\"2.2.6\" >\n<sequence>\n<module name=\"Amazon_Core\"/>\n<module name=\"Amazon_Login\"/>\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
version increase to 2.2.6 (#386)
21,251
01.11.2018 17:32:49
25,200
944fe1d421e963230f88684fdd5f009566ea659d
version increase to 2.2.7
[
{
"change_type": "MODIFY",
"old_path": "composer.json",
"new_path": "composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.6\",\n+ \"version\": \"2.2.7\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/conf.py",
"new_path": "docs/conf.py",
"diff": "@@ -60,9 +60,9 @@ author = u'Amazon.com Inc or its affiliates'\n# built documents.\n#\n# The short X.Y version.\n-version = u'2.2.6'\n+version = u'2.2.7'\n# The full version, including alpha/beta/rc tags.\n-release = u'2.2.6'\n+release = u'2.2.7'\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/installation.rst",
"new_path": "docs/installation.rst",
"diff": "@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\n* Sign in to your server via SSH\n* `cd` into you Magento installation directory\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.6`\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.7`\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\n* Follow any advice the upgrade routine provides\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.6` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.7` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\n"
},
{
"change_type": "MODIFY",
"old_path": "marketplace-composer.json",
"new_path": "marketplace-composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"metapackage\",\n- \"version\": \"2.2.6\",\n+ \"version\": \"2.2.7\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.6\",\n- \"amzn/login-with-amazon-module\": \"2.2.6\",\n- \"amzn/amazon-pay-module\": \"2.2.6\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.7\",\n+ \"amzn/login-with-amazon-module\": \"2.2.7\",\n+ \"amzn/amazon-pay-module\": \"2.2.7\"\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/composer.json",
"new_path": "src/Core/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-with-amazon-core-module\",\n\"description\": \"Shared functionality for Amazon Pay and Login with Amazon modules\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.6\",\n+ \"version\": \"2.2.7\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/module.xml",
"new_path": "src/Core/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Core\" setup_version=\"2.2.6\">\n+ <module name=\"Amazon_Core\" setup_version=\"2.2.7\">\n<sequence>\n<module name=\"Magento_Store\"/>\n<module name=\"Magento_Customer\"/>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/composer.json",
"new_path": "src/Login/composer.json",
"diff": "\"name\": \"amzn/login-with-amazon-module\",\n\"description\": \"Login with Amazon module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.6\",\n+ \"version\": \"2.2.7\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.6\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.7\",\n\"magento/module-customer\": \"*\",\n\"magento/module-store\": \"*\",\n\"magento/module-eav\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/etc/module.xml",
"new_path": "src/Login/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Login\" setup_version=\"2.2.6\">\n+ <module name=\"Amazon_Login\" setup_version=\"2.2.7\">\n<sequence>\n<module name=\"Amazon_Core\"/>\n</sequence>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/composer.json",
"new_path": "src/Payment/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-module\",\n\"description\": \"Amazon Pay module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.6\",\n+ \"version\": \"2.2.7\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.6\",\n- \"amzn/login-with-amazon-module\": \"^2.2.6\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.7\",\n+ \"amzn/login-with-amazon-module\": \"^2.2.7\",\n\"magento/module-eav\": \"*\",\n\"magento/module-sales\": \"*\",\n\"magento/module-quote\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/etc/module.xml",
"new_path": "src/Payment/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Payment\" setup_version=\"2.2.6\" >\n+ <module name=\"Amazon_Payment\" setup_version=\"2.2.7\" >\n<sequence>\n<module name=\"Amazon_Core\"/>\n<module name=\"Amazon_Login\"/>\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
version increase to 2.2.7 (#388)
21,245
05.11.2018 21:27:57
25,200
7172998afc544f771d2d92d79242149a11f39718
Update - addresses non-code/style related items reported by internal Magento test
[
{
"change_type": "MODIFY",
"old_path": "src/Core/Block/Config.php",
"new_path": "src/Core/Block/Config.php",
"diff": "@@ -23,6 +23,9 @@ use Magento\\Framework\\View\\Element\\Template\\Context;\n/**\n* Config\n+ *\n+ * @api\n+ *\n* Provides a block that displays links to available custom error logs in Amazon Pay admin/config section.\n*/\nclass Config extends Template\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/composer.json",
"new_path": "src/Core/composer.json",
"diff": "\"Apache-2.0\"\n],\n\"require\": {\n- \"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n+ \"php\": \"~7.1.3||~7.2.0\",\n\"magento/framework\": \"*\",\n+ \"magento/module-sales\": \"*\",\n\"magento/module-config\": \"*\",\n\"magento/module-store\": \"*\",\n\"magento/module-developer\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/view/adminhtml/templates/system/config/logs.phtml",
"new_path": "src/Core/view/adminhtml/templates/system/config/logs.phtml",
"diff": "*/\n?>\n-<div id=\"amazon-payment-log-list\"><?php echo $block->getLinks(); ?></div>\n\\ No newline at end of file\n+<div id=\"amazon-payment-log-list\"><?php echo /* @noEscape */ $block->getLinks(); ?></div>\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/view/adminhtml/web/js/simplepath.js",
"new_path": "src/Core/view/adminhtml/web/js/simplepath.js",
"diff": "@@ -45,6 +45,7 @@ define(\n*/\ninitObservable: function () {\nvar self = this;\n+\nself.$amazonSimplepath = $('#amazon_simplepath');\nself.$amazonFields = $('#payment_' + self.getCountry() + '_' + self.selector + ' .form-list');\nself.$amazonCredentialsHeader = $('#payment_' + self.getCountry() + '_' + self.selector\n@@ -79,6 +80,7 @@ define(\n*/\ninitEventHandlers: function () {\nvar self = this;\n+\nself.$amazonSpBack.click(function () {\nself.showAmazonConfig();\nreturn false;\n@@ -93,20 +95,20 @@ define(\nself.setupWindowLaunch();\n});\n- self.$amazonCredentialJson.on('input', function (e) {\n+ self.$amazonCredentialJson.on('input', function () {\nself.updateCredentials(self);\n});\n},\n/**\n- * Detects when a properly formatted JSON block is pasted into the Credentials JSON field and auto populates\n- * specified fields.\n+ * Detects when a properly formatted JSON block is pasted into the Credentials JSON field\n+ * and auto populates specified fields.\n*\n* @param self\n*/\nupdateCredentials: function (self) {\n- var elJson = self.$amazonCredentialJson.val();\n- var obj = null;\n+ var elJson = self.$amazonCredentialJson.val(), obj = null;\n+\ntry {\nobj = $.parseJSON($.trim(elJson));\n}\n@@ -120,8 +122,12 @@ define(\nif (obj && typeof obj === 'object') {\nvar success = true;\n+\nfor (var prop in obj) {\n- var item = $('#payment_' + self.getCountry() + '_amazon_payment_credentials_' + $.trim(prop));\n+ if ($.trim(prop)) {\n+ var item = $('#payment_' + self.getCountry() + '_amazon_payment_credentials_'\n+ + $.trim(prop));\n+\nif (item && item.length) {\n$('#payment_' + self.getCountry() + '_amazon_payment_credentials_'\n+ $.trim(prop)).val($.trim(obj[prop]));\n@@ -130,6 +136,7 @@ define(\nsuccess = false;\n}\n}\n+ }\nif (success) {\nself.$amazonCredentialJson.val('').attr(\n@@ -141,7 +148,8 @@ define(\nelse {\nself.$amazonCredentialJson.val('').attr(\n'placeholder',\n- $t('One or more of your credential fields did not parse correctly. Please review your entry and try again.')\n+ $t('One or more of your credential fields did not parse correctly. ' +\n+ 'Please review your entry and try again.')\n).focus();\n}\n}\n@@ -151,12 +159,19 @@ define(\n* Sets up Amazon merchant key popup and polls for data update upon user completion.\n*/\nsetupWindowLaunch: function () {\n- var self = this;\n- var heights = [660, 720, 810, 900];\n- var popupWidth = this.getCountry() !== 'us' ? 768 : 1050;\n- var popupHeight = heights[0];\n+ var self = this,\n+ heights = [660, 720, 810, 900],\n+ popupWidth = this.getCountry() !== 'us' ? 768 : 1050, popupHeight = heights[0],\n+ region = self.region,\n+ elCheckDefault = $('#payment_' + self.getCountry()\n+ + '_amazon_payment_credentials_payment_region_inherit:checked'),\n+ elRegion = $('payment_' + self.getCountry() + '_amazon_payment_credentials_payment_region'),\n+ elJson = self.$amazonCredentialJson.val();\n+\nfor (var i in heights) {\n- popupHeight = (window.innerHeight >= heights[i]) ? heights[i] : popupHeight;\n+ if (heights.hasOwnProperty(i)) {\n+ popupHeight = window.innerHeight >= heights[i] ? heights[i] : popupHeight;\n+ }\n}\nself.launchPopup(self.amazonUrl, popupWidth, popupHeight);\n@@ -171,6 +186,7 @@ define(\n$('#save-json').click(function (e) {\ne.stop();\nvar json = $('#json-import').value;\n+\nif (!json || !json.isJSON()) {\nreturn;\n}\n@@ -179,16 +195,14 @@ define(\n});\n// Autoset payment region (for EU/UK)\n- var region = self.region;\n- if (self.region.indexOf('eu') != -1) {\n+ if (self.region.indexOf('eu') !== -1) {\nregion = 'de';\n}\n- var elCheckDefault = $('#payment_' + self.getCountry()\n- + '_amazon_payment_credentials_payment_region_inherit:checked');\n+\nif (elCheckDefault && elCheckDefault.length) {\nelCheckDefault[0].click();\n}\n- var elRegion = $('payment_' + self.getCountry() + '_amazon_payment_credentials_payment_region');\n+\nif (elRegion) {\nelRegion.value = region;\n}\n@@ -231,6 +245,8 @@ define(\n* Sets up dynamic form for capturing popup/form input for simple path setup.\n*/\ngenerateSimplePathForm: function () {\n+ var spElement = null;\n+\nthis.$form = new Element('form', {\nmethod: 'post',\naction: this.amazonUrl,\n@@ -243,26 +259,28 @@ define(\n// Convert formParams JSON to hidden inputs\nfor (var key in this.formParams) {\n- if (typeof this.formParams[key] === 'object' || typeof this.formParams[key] === 'array') {\n+ if (typeof this.formParams[key] == 'object' || typeof this.formParams[key] === 'array') {\nfor (var i in this.formParams[key]) {\nif (typeof this.formParams[key][i] !== 'function') {\n- var element = new Element('input', {\n+ spElement = new Element('input', {\ntype: 'hidden',\nname: key,\nvalue: this.formParams[key][i],\nnovalidate: 'novalidate'\n});\n- $(element).appendTo($(\"#simplepath_form\"));\n+\n+ $(spElement).appendTo($(\"#simplepath_form\"));\n}\n}\n} else {\n- var element = new Element('input', {\n+ spElement = new Element('input', {\ntype: 'hidden',\nname: key,\nnovalidate: 'novalidate',\nvalue: this.formParams[key]\n});\n- $(element).appendTo($(\"#simplepath_form\"));\n+\n+ $(spElement).appendTo($(\"#simplepath_form\"));\n}\n}\n@@ -307,11 +325,10 @@ define(\n* @param requestedHeight\n*/\nlaunchPopup: function (url, requestedWidth, requestedHeight) {\n- var self = this;\nvar leftOffset = this.getLeftOffset(requestedWidth),\ntopOffset = this.getTopOffset(requestedHeight),\n- newWindow = window.open(url, 'simplepath', 'scrollbars=yes, width=' + requestedWidth + ', height=' +\n- requestedHeight + ', top=' + topOffset + ', left=' + leftOffset);\n+ newWindow = window.open(url, 'simplepath', 'scrollbars=yes, width=' + requestedWidth\n+ + ', height=' + requestedHeight + ', top=' + topOffset + ', left=' + leftOffset);\nif (window.focus) {\nnewWindow.focus();\n@@ -333,7 +350,8 @@ define(\n*/\ngetLeftOffset: function (requestedWidth) {\nvar dualScreenLeft = window.screenLeft !== undefined ? window.screenLeft : screen.left;\n- return ((this.windowWidth() / 2) - (requestedWidth / 2)) + dualScreenLeft;\n+\n+ return (this.windowWidth() / 2) - (requestedWidth / 2) + dualScreenLeft;\n},\n/**\n@@ -343,7 +361,8 @@ define(\n*/\ngetTopOffset: function (requestedHeight) {\nvar dualScreenTop = window.screenTop !== undefined ? window.screenTop : screen.top;\n- return ((this.windowHeight() / 2) - (requestedHeight / 2)) + dualScreenTop;\n+\n+ return (this.windowHeight() / 2) - (requestedHeight / 2) + dualScreenTop;\n},\n/**\n@@ -355,9 +374,9 @@ define(\nreturn window.innerWidth;\n} else if (document.documentElement.clientWidth) {\nreturn document.documentElement.clientWidth;\n- } else {\n- return screen.width;\n}\n+\n+ return screen.width;\n},\n/**\n@@ -369,9 +388,9 @@ define(\nreturn window.innerHeight;\n} else if (document.documentElement.clientHeight) {\nreturn document.documentElement.clientHeight;\n- } else {\n- return screen.height;\n}\n+\n+ return screen.height;\n}\n}\n);\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/composer.json",
"new_path": "src/Login/composer.json",
"diff": "\"Apache-2.0\"\n],\n\"require\": {\n- \"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n+ \"php\": \"~7.1.3||~7.2.0\",\n\"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.7\",\n\"magento/module-customer\": \"*\",\n\"magento/module-store\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/Block/Widget/ResetPassword.php",
"new_path": "src/Payment/Block/Widget/ResetPassword.php",
"diff": "@@ -14,6 +14,9 @@ use Magento\\Framework\\UrlFactory;\nuse Magento\\Customer\\Model\\Session;\nuse Amazon\\Login\\Api\\CustomerLinkRepositoryInterface;\n+/**\n+ * @api\n+ */\nclass ResetPassword extends Template\n{\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/composer.json",
"new_path": "src/Payment/composer.json",
"diff": "\"Apache-2.0\"\n],\n\"require\": {\n- \"php\": \"~7.0.13|~7.1.0|~7.2.0\",\n+ \"php\": \"~7.1.3||~7.2.0\",\n\"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.7\",\n\"amzn/login-with-amazon-module\": \"^2.2.7\",\n+ \"magento/module-customer\": \"*\",\n\"magento/module-eav\": \"*\",\n\"magento/module-sales\": \"*\",\n\"magento/module-quote\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/templates/widget/resetpassword.phtml",
"new_path": "src/Payment/view/frontend/templates/widget/resetpassword.phtml",
"diff": "?>\n<div class=\"field password-info\">\n<p><?= $block->escapeHtml(__('If you created this account using Amazon Pay, you might not know your site password.')) ?>\n- <a href=\"<?php echo $block->getLink(); ?>\"><?= $block->escapeHtml(__('Request a password to change your account password.')); ?></a></p>\n+ <a href=\"<?= $block->escapeHtml($block->getLink()); ?>\"><?= $block->escapeHtml(__('Request a password to change your account password.')); ?></a></p>\n</div>\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/web/js/action/place-order.js",
"new_path": "src/Payment/view/frontend/web/js/action/place-order.js",
"diff": "@@ -28,8 +28,7 @@ define(\n'use strict';\nreturn function (paymentData, redirectOnSuccess) {\n- var serviceUrl,\n- payload;\n+ var serviceUrl, payload;\nredirectOnSuccess = redirectOnSuccess !== false;\n@@ -69,11 +68,12 @@ define(\nerrorProcessor.process(response);\namazonStorage.amazonDeclineCode(response.responseJSON.code);\nfullScreenLoader.stopLoader(true);\n- if (response.responseJSON.code == 4273) {\n+ if (response.responseJSON.code === 4273) {\nvar intervalId = setInterval(function () {\nclearInterval(intervalId);\nwindow.location.replace(url.build('checkout/cart/'));\n}, 5000);\n+\n}\n}\n);\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/web/js/amazon-button.js",
"new_path": "src/Payment/view/frontend/web/js/amazon-button.js",
"diff": "@@ -21,11 +21,11 @@ define([\n'modernizr/modernizr',\n'amazonCore',\n'jquery/ui',\n- 'uiRegistry',\n+ 'uiRegistry'\n], function ($, customerData, sectionConfig, amazonPaymentConfig, amazonCsrf) {\n'use strict';\n- var _this,\n- $button;\n+ var _this, $button;\n+\nif (amazonPaymentConfig.isDefined()) {\n$.widget('amazon.AmazonButton', {\noptions: {\n@@ -97,7 +97,8 @@ define([\n* @return {String}\n*/\n_popupCallback: function () {\n- return _this.usePopUp() ? _this.secureHttpsCallback : amazonPaymentConfig.getValue('oAuthHashRedirectUrl');\n+ return _this.usePopUp() ? _this.secureHttpsCallback :\n+ amazonPaymentConfig.getValue('oAuthHashRedirectUrl');\n},\n/**\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/web/js/amazon-widgets-loader.js",
"new_path": "src/Payment/view/frontend/web/js/amazon-widgets-loader.js",
"diff": "var registry = require('uiRegistry');\nif (registry.get('amazonPayment') !== undefined) {\n-\nvar amazonPayment = registry.get('amazonPayment');\ndefine([amazonPayment.widgetUrl], function () {\n'use strict';\n//after amazon widgets file as loaded\n+\n});\n}\n\\ No newline at end of file\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/web/js/view/payment/amazonlogin.js",
"new_path": "src/Payment/view/frontend/web/js/view/payment/amazonlogin.js",
"diff": "define(\n[\n'uiComponent',\n- 'Magento_Checkout/js/model/payment/renderer-list',\n+ 'Magento_Checkout/js/model/payment/renderer-list'\n],\nfunction (\nComponent,\n@@ -14,10 +14,9 @@ define(\ncomponent: 'Amazon_Payment/js/view/payment/method-renderer/amazonlogin'\n}\n);\n- /**\n- *\n- * Add view logic here if needed\n- */\n+\n+ // Add view logic here if needed\n+\nreturn Component.extend({});\n}\n);\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/web/js/view/payment/method-renderer/amazon-payment-widget.js",
"new_path": "src/Payment/view/frontend/web/js/view/payment/method-renderer/amazon-payment-widget.js",
"diff": "@@ -154,16 +154,17 @@ define(\nJSON.stringify(payload)\n).done(\nfunction (data) {\n- var amazonAddress = data.shift(),\n- addressData;\n+ var amazonAddress = data.shift(), addressData;\naddressData = addressConverter.formAddressDataToQuoteAddress(amazonAddress);\naddressData.telephone = !addressData.telephone ? '0000000000' : addressData.telephone;\nselectBillingAddress(addressData);\namazonStorage.isPlaceOrderDisabled(false);\n+\nif(window.checkoutConfig.amazonLogin.amazon_customer_email) {\nvar customerField = $('#customer-email').val();\n+\nif (!customerField) {\n$('#customer-email').val(window.checkoutConfig.amazonLogin.amazon_customer_email);\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/view/frontend/web/js/view/payment/method-renderer/amazonlogin.js",
"new_path": "src/Payment/view/frontend/web/js/view/payment/method-renderer/amazonlogin.js",
"diff": "@@ -7,16 +7,17 @@ define(\n'mage/storage',\n'amazonPaymentConfig',\n'uiRegistry',\n- 'Amazon_Login/js/view/login-button',\n+ 'Amazon_Login/js/view/login-button'\n],\n- function ($,\n+ function (\n+ $,\nComponent,\nko,\namazonStorage,\nstorage,\namazonPaymentConfig,\nregistry,\n- loginButton,\n+ loginButton\n) {\n'use strict';\n@@ -27,17 +28,15 @@ define(\ndefaults: {\ntemplate: 'Amazon_Payment/payment/amazonlogin'\n},\n-\ngetCode: function () {\nreturn 'amazonlogin';\n},\nisActive: function () {\nreturn true;\n},\n-\nisPwaVisible: function () {\nreturn amazonStorage.isPwaVisible && amazonStorage.isAmazonEnabled;\n- },\n+ }\n}\n);\n}\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Update - addresses non-code/style related items reported by internal Magento test (#389)
21,251
05.11.2018 21:03:20
28,800
b4b7212f39b832971ae1ec46787e50c366e6c1d8
version increase to 2.2.8
[
{
"change_type": "MODIFY",
"old_path": "composer.json",
"new_path": "composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.7\",\n+ \"version\": \"2.2.8\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/conf.py",
"new_path": "docs/conf.py",
"diff": "@@ -60,9 +60,9 @@ author = u'Amazon.com Inc or its affiliates'\n# built documents.\n#\n# The short X.Y version.\n-version = u'2.2.7'\n+version = u'2.2.8'\n# The full version, including alpha/beta/rc tags.\n-release = u'2.2.7'\n+release = u'2.2.8'\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/installation.rst",
"new_path": "docs/installation.rst",
"diff": "@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\n* Sign in to your server via SSH\n* `cd` into you Magento installation directory\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.7`\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.8`\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\n* Follow any advice the upgrade routine provides\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.7` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.8` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\n"
},
{
"change_type": "MODIFY",
"old_path": "marketplace-composer.json",
"new_path": "marketplace-composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"metapackage\",\n- \"version\": \"2.2.7\",\n+ \"version\": \"2.2.8\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.7\",\n- \"amzn/login-with-amazon-module\": \"2.2.7\",\n- \"amzn/amazon-pay-module\": \"2.2.7\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.8\",\n+ \"amzn/login-with-amazon-module\": \"2.2.8\",\n+ \"amzn/amazon-pay-module\": \"2.2.8\"\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/composer.json",
"new_path": "src/Core/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-with-amazon-core-module\",\n\"description\": \"Shared functionality for Amazon Pay and Login with Amazon modules\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.7\",\n+ \"version\": \"2.2.8\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/module.xml",
"new_path": "src/Core/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Core\" setup_version=\"2.2.7\">\n+ <module name=\"Amazon_Core\" setup_version=\"2.2.8\">\n<sequence>\n<module name=\"Magento_Store\"/>\n<module name=\"Magento_Customer\"/>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/composer.json",
"new_path": "src/Login/composer.json",
"diff": "\"name\": \"amzn/login-with-amazon-module\",\n\"description\": \"Login with Amazon module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.7\",\n+ \"version\": \"2.2.8\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.1.3||~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.7\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.8\",\n\"magento/module-customer\": \"*\",\n\"magento/module-store\": \"*\",\n\"magento/module-eav\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/etc/module.xml",
"new_path": "src/Login/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Login\" setup_version=\"2.2.7\">\n+ <module name=\"Amazon_Login\" setup_version=\"2.2.8\">\n<sequence>\n<module name=\"Amazon_Core\"/>\n</sequence>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/composer.json",
"new_path": "src/Payment/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-module\",\n\"description\": \"Amazon Pay module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.7\",\n+ \"version\": \"2.2.8\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.1.3||~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.7\",\n- \"amzn/login-with-amazon-module\": \"^2.2.7\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.8\",\n+ \"amzn/login-with-amazon-module\": \"^2.2.8\",\n\"magento/module-customer\": \"*\",\n\"magento/module-eav\": \"*\",\n\"magento/module-sales\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/etc/module.xml",
"new_path": "src/Payment/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Payment\" setup_version=\"2.2.7\" >\n+ <module name=\"Amazon_Payment\" setup_version=\"2.2.8\" >\n<sequence>\n<module name=\"Amazon_Core\"/>\n<module name=\"Amazon_Login\"/>\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
version increase to 2.2.8 (#390)
21,251
06.11.2018 10:57:27
28,800
08ad8f66fae36f4dc0f1756bf67c6c655d8cfa05
version increase to 2.2.9
[
{
"change_type": "MODIFY",
"old_path": "composer.json",
"new_path": "composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.8\",\n+ \"version\": \"2.2.9\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/conf.py",
"new_path": "docs/conf.py",
"diff": "@@ -60,9 +60,9 @@ author = u'Amazon.com Inc or its affiliates'\n# built documents.\n#\n# The short X.Y version.\n-version = u'2.2.8'\n+version = u'2.2.9'\n# The full version, including alpha/beta/rc tags.\n-release = u'2.2.8'\n+release = u'2.2.9'\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/installation.rst",
"new_path": "docs/installation.rst",
"diff": "@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\n* Sign in to your server via SSH\n* `cd` into you Magento installation directory\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.8`\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.9`\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\n* Follow any advice the upgrade routine provides\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.8` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.9` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\n"
},
{
"change_type": "MODIFY",
"old_path": "marketplace-composer.json",
"new_path": "marketplace-composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"metapackage\",\n- \"version\": \"2.2.8\",\n+ \"version\": \"2.2.9\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.8\",\n- \"amzn/login-with-amazon-module\": \"2.2.8\",\n- \"amzn/amazon-pay-module\": \"2.2.8\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.9\",\n+ \"amzn/login-with-amazon-module\": \"2.2.9\",\n+ \"amzn/amazon-pay-module\": \"2.2.9\"\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/composer.json",
"new_path": "src/Core/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-with-amazon-core-module\",\n\"description\": \"Shared functionality for Amazon Pay and Login with Amazon modules\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.8\",\n+ \"version\": \"2.2.9\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/module.xml",
"new_path": "src/Core/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Core\" setup_version=\"2.2.8\">\n+ <module name=\"Amazon_Core\" setup_version=\"2.2.9\">\n<sequence>\n<module name=\"Magento_Store\"/>\n<module name=\"Magento_Customer\"/>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/composer.json",
"new_path": "src/Login/composer.json",
"diff": "\"name\": \"amzn/login-with-amazon-module\",\n\"description\": \"Login with Amazon module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.8\",\n+ \"version\": \"2.2.9\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.1.3||~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.8\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.9\",\n\"magento/module-customer\": \"*\",\n\"magento/module-store\": \"*\",\n\"magento/module-eav\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/etc/module.xml",
"new_path": "src/Login/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Login\" setup_version=\"2.2.8\">\n+ <module name=\"Amazon_Login\" setup_version=\"2.2.9\">\n<sequence>\n<module name=\"Amazon_Core\"/>\n</sequence>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/composer.json",
"new_path": "src/Payment/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-module\",\n\"description\": \"Amazon Pay module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.8\",\n+ \"version\": \"2.2.9\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.1.3||~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.8\",\n- \"amzn/login-with-amazon-module\": \"^2.2.8\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.9\",\n+ \"amzn/login-with-amazon-module\": \"^2.2.9\",\n\"magento/module-customer\": \"*\",\n\"magento/module-eav\": \"*\",\n\"magento/module-sales\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/etc/module.xml",
"new_path": "src/Payment/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Payment\" setup_version=\"2.2.8\" >\n+ <module name=\"Amazon_Payment\" setup_version=\"2.2.9\" >\n<sequence>\n<module name=\"Amazon_Core\"/>\n<module name=\"Amazon_Login\"/>\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
version increase to 2.2.9 (#395)
21,245
06.11.2018 15:27:12
25,200
a9bb0d585ba6578f599a3849c20a1dd21e994734
Update - fixes issues in last Magento PR
[
{
"change_type": "MODIFY",
"old_path": "src/Core/view/adminhtml/web/js/simplepath.js",
"new_path": "src/Core/view/adminhtml/web/js/simplepath.js",
"diff": "@@ -244,7 +244,6 @@ define(\n* Sets up dynamic form for capturing popup/form input for simple path setup.\n*/\ngenerateSimplePathForm: function () {\n- var spElement = null;\nthis.$form = new Element('form', {\nmethod: 'post',\n@@ -258,28 +257,24 @@ define(\n// Convert formParams JSON to hidden inputs\nfor (var key in this.formParams) {\n- if (typeof this.formParams[key] == 'object' || typeof this.formParams[key] === 'array') {\n+ if ( $.isPlainObject(this.formParams[key]) || $.isArray(this.formParams[key])) {\nfor (var i in this.formParams[key]) {\nif (typeof this.formParams[key][i] !== 'function') {\n- spElement = new Element('input', {\n+ $(new Element('input', {\ntype: 'hidden',\nname: key,\nvalue: this.formParams[key][i],\nnovalidate: 'novalidate'\n- });\n-\n- $(spElement).appendTo($(\"#simplepath_form\"));\n+ })).appendTo($(\"#simplepath_form\"));\n}\n}\n} else {\n- spElement = new Element('input', {\n+ $(new Element('input', {\ntype: 'hidden',\nname: key,\nnovalidate: 'novalidate',\nvalue: this.formParams[key]\n- });\n-\n- $(spElement).appendTo($(\"#simplepath_form\"));\n+ })).appendTo($(\"#simplepath_form\"));\n}\n}\n@@ -369,13 +364,9 @@ define(\n* @returns {number}\n*/\nwindowWidth: function () {\n- if (window.innerWidth) {\n- return window.innerWidth;\n- } else if (document.documentElement.clientWidth) {\n- return document.documentElement.clientWidth;\n- }\n-\n- return screen.width;\n+ return window.innerWidth\n+ || document.documentElement.clientWidth\n+ || screen.width;\n},\n/**\n@@ -383,13 +374,9 @@ define(\n* @returns {number}\n*/\nwindowHeight: function () {\n- if (window.innerHeight) {\n- return window.innerHeight;\n- } else if (document.documentElement.clientHeight) {\n- return document.documentElement.clientHeight;\n- }\n-\n- return screen.height;\n+ return window.innerHeight\n+ || document.documentElement.clientHeight\n+ || screen.height;\n}\n}\n);\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
Update - fixes issues in last Magento PR (#396)
21,251
06.11.2018 15:33:16
28,800
643e37a420143a1d17f7bcbe669d2437b4ca14f5
version increase to 2.2.10
[
{
"change_type": "MODIFY",
"old_path": "composer.json",
"new_path": "composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.9\",\n+ \"version\": \"2.2.10\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/conf.py",
"new_path": "docs/conf.py",
"diff": "@@ -60,9 +60,9 @@ author = u'Amazon.com Inc or its affiliates'\n# built documents.\n#\n# The short X.Y version.\n-version = u'2.2.9'\n+version = u'2.2.10'\n# The full version, including alpha/beta/rc tags.\n-release = u'2.2.9'\n+release = u'2.2.10'\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/installation.rst",
"new_path": "docs/installation.rst",
"diff": "@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\n* Sign in to your server via SSH\n* `cd` into you Magento installation directory\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.9`\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.10`\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\n* Follow any advice the upgrade routine provides\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.9` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.10` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\n"
},
{
"change_type": "MODIFY",
"old_path": "marketplace-composer.json",
"new_path": "marketplace-composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"metapackage\",\n- \"version\": \"2.2.9\",\n+ \"version\": \"2.2.10\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.9\",\n- \"amzn/login-with-amazon-module\": \"2.2.9\",\n- \"amzn/amazon-pay-module\": \"2.2.9\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.10\",\n+ \"amzn/login-with-amazon-module\": \"2.2.10\",\n+ \"amzn/amazon-pay-module\": \"2.2.10\"\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/composer.json",
"new_path": "src/Core/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-with-amazon-core-module\",\n\"description\": \"Shared functionality for Amazon Pay and Login with Amazon modules\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.9\",\n+ \"version\": \"2.2.10\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/module.xml",
"new_path": "src/Core/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Core\" setup_version=\"2.2.9\">\n+ <module name=\"Amazon_Core\" setup_version=\"2.2.10\">\n<sequence>\n<module name=\"Magento_Store\"/>\n<module name=\"Magento_Customer\"/>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/composer.json",
"new_path": "src/Login/composer.json",
"diff": "\"name\": \"amzn/login-with-amazon-module\",\n\"description\": \"Login with Amazon module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.9\",\n+ \"version\": \"2.2.10\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.1.3||~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.9\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.10\",\n\"magento/module-customer\": \"*\",\n\"magento/module-store\": \"*\",\n\"magento/module-eav\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/etc/module.xml",
"new_path": "src/Login/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Login\" setup_version=\"2.2.9\">\n+ <module name=\"Amazon_Login\" setup_version=\"2.2.10\">\n<sequence>\n<module name=\"Amazon_Core\"/>\n</sequence>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/composer.json",
"new_path": "src/Payment/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-module\",\n\"description\": \"Amazon Pay module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.9\",\n+ \"version\": \"2.2.10\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.1.3||~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.9\",\n- \"amzn/login-with-amazon-module\": \"^2.2.9\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.10\",\n+ \"amzn/login-with-amazon-module\": \"^2.2.10\",\n\"magento/module-customer\": \"*\",\n\"magento/module-eav\": \"*\",\n\"magento/module-sales\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/etc/module.xml",
"new_path": "src/Payment/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Payment\" setup_version=\"2.2.9\" >\n+ <module name=\"Amazon_Payment\" setup_version=\"2.2.10\" >\n<sequence>\n<module name=\"Amazon_Core\"/>\n<module name=\"Amazon_Login\"/>\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
version increase to 2.2.10 (#398)
21,251
09.11.2018 09:37:01
28,800
d429bb4ac75cf7e6ed54a5695ddecf710f4ff76e
increasing version to 3.0.0
[
{
"change_type": "MODIFY",
"old_path": "composer.json",
"new_path": "composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.10\",\n+ \"version\": \"3.0.0\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/conf.py",
"new_path": "docs/conf.py",
"diff": "@@ -60,9 +60,9 @@ author = u'Amazon.com Inc or its affiliates'\n# built documents.\n#\n# The short X.Y version.\n-version = u'2.2.10'\n+version = u'3.0.0'\n# The full version, including alpha/beta/rc tags.\n-release = u'2.2.10'\n+release = u'3.0.0'\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/installation.rst",
"new_path": "docs/installation.rst",
"diff": "@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\n* Sign in to your server via SSH\n* `cd` into you Magento installation directory\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.10`\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^3.0.0`\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\n* Follow any advice the upgrade routine provides\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^2.2.10` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^3.0.0` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\n"
},
{
"change_type": "MODIFY",
"old_path": "marketplace-composer.json",
"new_path": "marketplace-composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"metapackage\",\n- \"version\": \"2.2.10\",\n+ \"version\": \"3.0.0\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"2.2.10\",\n- \"amzn/login-with-amazon-module\": \"2.2.10\",\n- \"amzn/amazon-pay-module\": \"2.2.10\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"3.0.0\",\n+ \"amzn/login-with-amazon-module\": \"3.0.0\",\n+ \"amzn/amazon-pay-module\": \"3.0.0\"\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/composer.json",
"new_path": "src/Core/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-with-amazon-core-module\",\n\"description\": \"Shared functionality for Amazon Pay and Login with Amazon modules\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.10\",\n+ \"version\": \"3.0.0\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/module.xml",
"new_path": "src/Core/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Core\" setup_version=\"2.2.10\">\n+ <module name=\"Amazon_Core\" setup_version=\"3.0.0\">\n<sequence>\n<module name=\"Magento_Store\"/>\n<module name=\"Magento_Customer\"/>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/composer.json",
"new_path": "src/Login/composer.json",
"diff": "\"name\": \"amzn/login-with-amazon-module\",\n\"description\": \"Login with Amazon module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.10\",\n+ \"version\": \"3.0.0\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.1.3||~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.10\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^3.0.0\",\n\"magento/module-customer\": \"*\",\n\"magento/module-store\": \"*\",\n\"magento/module-eav\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/etc/module.xml",
"new_path": "src/Login/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Login\" setup_version=\"2.2.10\">\n+ <module name=\"Amazon_Login\" setup_version=\"3.0.0\">\n<sequence>\n<module name=\"Amazon_Core\"/>\n</sequence>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/composer.json",
"new_path": "src/Payment/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-module\",\n\"description\": \"Amazon Pay module\",\n\"type\": \"magento2-module\",\n- \"version\": \"2.2.10\",\n+ \"version\": \"3.0.0\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.1.3||~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^2.2.10\",\n- \"amzn/login-with-amazon-module\": \"^2.2.10\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^3.0.0\",\n+ \"amzn/login-with-amazon-module\": \"^3.0.0\",\n\"magento/module-customer\": \"*\",\n\"magento/module-eav\": \"*\",\n\"magento/module-sales\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/etc/module.xml",
"new_path": "src/Payment/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Payment\" setup_version=\"2.2.10\" >\n+ <module name=\"Amazon_Payment\" setup_version=\"3.0.0\" >\n<sequence>\n<module name=\"Amazon_Core\"/>\n<module name=\"Amazon_Login\"/>\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
increasing version to 3.0.0
21,246
30.11.2018 14:32:58
28,800
4a64bcd32a51388bdfc2c5a250c143f1b9727abe
add Klarna Checkout Compatibility with event observer
[
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/Payment/Observer/KlarnaKcoOverride.php",
"diff": "+<?php\n+/**\n+ * Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\").\n+ * You may not use this file except in compliance with the License.\n+ * A copy of the License is located at\n+ *\n+ * http://aws.amazon.com/apache2.0\n+ *\n+ * or in the \"license\" file accompanying this file. This file is distributed\n+ * on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either\n+ * express or implied. See the License for the specific language governing\n+ * permissions and limitations under the License.\n+ */\n+namespace Amazon\\Payment\\Observer;\n+\n+use Magento\\Framework\\Event\\ObserverInterface;\n+use Magento\\Framework\\Event\\Observer;\n+use Amazon\\Core\\Helper\\Data;\n+use Magento\\Customer\\Model\\Session;\n+\n+class KlarnaKcoOverride implements ObserverInterface\n+{\n+ /**\n+ * @var Data\n+ */\n+ private $coreHelper;\n+\n+ /**\n+ * @var Session\n+ */\n+ private $session;\n+\n+ /**\n+ * @param Data $coreHelper\n+ * @param Session $session\n+ */\n+ public function __construct(\n+ Data $coreHelper,\n+ Session $session\n+ ) {\n+ $this->coreHelper = $coreHelper;\n+ $this->session = $session;\n+ }\n+\n+ public function execute(Observer $observer)\n+ {\n+ if ($this->coreHelper->isPwaEnabled() && $this->session->getAfterAmazonAuthUrl()) {\n+ // Force customer to use default (Amazon) checkout\n+ $observer->getOverrideObject()->setForceDisabled(true);\n+ }\n+ }\n+}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/etc/frontend/events.xml",
"new_path": "src/Payment/etc/frontend/events.xml",
"diff": "<event name=\"shortcut_buttons_container\">\n<observer name=\"amazon_buttons\" instance=\"Amazon\\Payment\\Observer\\AddAmazonButton\"/>\n</event>\n+ <event name=\"kco_override_load_checkout\">\n+ <observer name=\"amazon_core_klarna_kco_override\" instance=\"Amazon\\Payment\\Observer\\KlarnaKcoOverride\" />\n+ </event>\n</config>\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
ASD-18 add Klarna Checkout Compatibility with event observer
21,246
10.12.2018 08:53:05
28,800
6be171b10019f44381f99c5334a0fcdc9fe5da6f
Explicitly set region and environment in onAmazonLoginReady callback
Load login and pay buttons asynchronously (ASD-32) (#410)
Looks good to me.
21,258
04.01.2019 15:29:50
28,800
4811be03794b5b9055337cdbd5a1c51d0fe54740
version increase 3.0.1
[
{
"change_type": "MODIFY",
"old_path": "composer.json",
"new_path": "composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"magento2-module\",\n- \"version\": \"3.0.0\",\n+ \"version\": \"3.0.1\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/conf.py",
"new_path": "docs/conf.py",
"diff": "@@ -60,9 +60,9 @@ author = u'Amazon.com Inc or its affiliates'\n# built documents.\n#\n# The short X.Y version.\n-version = u'3.0.0'\n+version = u'3.0.1'\n# The full version, including alpha/beta/rc tags.\n-release = u'3.0.0'\n+release = u'3.0.1'\n# The language for content autogenerated by Sphinx. Refer to documentation\n# for a list of supported languages.\n"
},
{
"change_type": "MODIFY",
"old_path": "docs/installation.rst",
"new_path": "docs/installation.rst",
"diff": "@@ -20,12 +20,12 @@ In case you are not able or willing to use the web installation, you can install\n* Sign in to your server via SSH\n* `cd` into you Magento installation directory\n-* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^3.0.0`\n+* Install the extension via composer: `composer require amzn/amazon-payments-magento-2-plugin:^3.0.1`\n* Enable the extension: `php bin/magento module:enable Amazon_Core Amazon_Login Amazon_Payment`\n* Upgrade the Magento installation: `php bin/magento setup:upgrade`\n* Follow any advice the upgrade routine provides\n-.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^3.0.0` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\n+.. note:: `composer require amzn/amazon-payments-magento-2-plugin:^3.0.1` will always install the most current, non-breaking, Amazon Pay extension for you, when you run an update. To fix it to a specifix version, please remove the `^`\nIn production mode, you will also have to compile the code and the dependency injection (DI) configuration and deploy static content\n"
},
{
"change_type": "MODIFY",
"old_path": "marketplace-composer.json",
"new_path": "marketplace-composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-magento-2-module\",\n\"description\": \"Official Magento2 Plugin to integrate with Amazon Pay and Login with Amazon\",\n\"type\": \"metapackage\",\n- \"version\": \"3.0.0\",\n+ \"version\": \"3.0.1\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"3.0.0\",\n- \"amzn/login-with-amazon-module\": \"3.0.0\",\n- \"amzn/amazon-pay-module\": \"3.0.0\"\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"3.0.1\",\n+ \"amzn/login-with-amazon-module\": \"3.0.1\",\n+ \"amzn/amazon-pay-module\": \"3.0.1\"\n}\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/composer.json",
"new_path": "src/Core/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-and-login-with-amazon-core-module\",\n\"description\": \"Shared functionality for Amazon Pay and Login with Amazon modules\",\n\"type\": \"magento2-module\",\n- \"version\": \"3.0.0\",\n+ \"version\": \"3.0.1\",\n\"license\": [\n\"Apache-2.0\"\n],\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Core/etc/module.xml",
"new_path": "src/Core/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Core\" setup_version=\"3.0.0\">\n+ <module name=\"Amazon_Core\" setup_version=\"3.0.1\">\n<sequence>\n<module name=\"Magento_Store\"/>\n<module name=\"Magento_Customer\"/>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/composer.json",
"new_path": "src/Login/composer.json",
"diff": "\"name\": \"amzn/login-with-amazon-module\",\n\"description\": \"Login with Amazon module\",\n\"type\": \"magento2-module\",\n- \"version\": \"3.0.0\",\n+ \"version\": \"3.0.1\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.1.3||~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^3.0.0\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^3.0.1\",\n\"magento/module-customer\": \"*\",\n\"magento/module-store\": \"*\",\n\"magento/module-eav\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Login/etc/module.xml",
"new_path": "src/Login/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Login\" setup_version=\"3.0.0\">\n+ <module name=\"Amazon_Login\" setup_version=\"3.0.1\">\n<sequence>\n<module name=\"Amazon_Core\"/>\n</sequence>\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/composer.json",
"new_path": "src/Payment/composer.json",
"diff": "\"name\": \"amzn/amazon-pay-module\",\n\"description\": \"Amazon Pay module\",\n\"type\": \"magento2-module\",\n- \"version\": \"3.0.0\",\n+ \"version\": \"3.0.1\",\n\"license\": [\n\"Apache-2.0\"\n],\n\"require\": {\n\"php\": \"~7.1.3||~7.2.0\",\n- \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^3.0.0\",\n- \"amzn/login-with-amazon-module\": \"^3.0.0\",\n+ \"amzn/amazon-pay-and-login-with-amazon-core-module\": \"^3.0.1\",\n+ \"amzn/login-with-amazon-module\": \"^3.0.1\",\n\"magento/module-customer\": \"*\",\n\"magento/module-eav\": \"*\",\n\"magento/module-sales\": \"*\",\n"
},
{
"change_type": "MODIFY",
"old_path": "src/Payment/etc/module.xml",
"new_path": "src/Payment/etc/module.xml",
"diff": "*/\n-->\n<config xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"urn:magento:framework:Module/etc/module.xsd\">\n- <module name=\"Amazon_Payment\" setup_version=\"3.0.0\" >\n+ <module name=\"Amazon_Payment\" setup_version=\"3.0.1\" >\n<sequence>\n<module name=\"Amazon_Core\"/>\n<module name=\"Amazon_Login\"/>\n"
}
]
PHP
Apache License 2.0
amzn/amazon-payments-magento-2-plugin
version increase 3.0.1 (#411)
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.