diff --git a/composer.json b/composer.json index ccf2d79..2f02879 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mage2pro/square" - ,"version": "2.0.3" + ,"version": "2.0.4" ,"description": "The «Square» payment extension for Magento 2." ,"type": "magento2-module" ,"homepage": "https://mage2.pro/c/extensions/square" @@ -11,7 +11,7 @@ "homepage": "https://mage2.pro/users/dmitry_fedyuk", "role": "Developer" }] - ,"require": {"mage2pro/core": ">=3.2.2"} + ,"require": {"mage2pro/core": ">=3.2.7"} ,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Square\\": ""}} ,"keywords": [ "API" diff --git a/view/frontend/web/main.js b/view/frontend/web/main.js index d8e1b00..acbd977 100644 --- a/view/frontend/web/main.js +++ b/view/frontend/web/main.js @@ -29,12 +29,6 @@ return parent.extend({ } ,expirationComposite: '' }, - /** - * 2016-09-28 - * Dfe_Square/expiration.html - * @returns {String[]} - */ - dfCardExpirationCompositeId: function() {return this.fid('expiration_composite');}, /** * 2016-09-28 * @used-by Dfe_Square/atTheEnd.html @@ -306,6 +300,12 @@ return parent.extend({ * You can also specify placeholder text, which is shown when the input is empty.» * Type: object. * https://docs.connect.squareup.com/articles/adding-payment-form#sqpaymentformparameters + * + * 2017-10-17 + * I do not set a placeholder here, + * because Square does not allow to specify a custom CSS rules for it, + * and the stantard placeholder font is too bold. + * https://docs.connect.squareup.com/articles/adding-payment-form#stylinginputinteriors */ ,cardNumber: {elementId: this.dfCardNumberId()} /**