diff --git a/Settings.php b/Settings.php index 621daab..c6217ef 100644 --- a/Settings.php +++ b/Settings.php @@ -9,7 +9,7 @@ final class Settings extends \Df\StripeClone\Settings { * @used-by \Df\Payment\Method::action() * @return void */ - public function init() {\Stripe\Stripe::setApiKey($this->testableP('secretKey'));} + public function init() {\Stripe\Stripe::setApiKey($this->privateKey());} /** @return bool */ public function isMerchantInUS() {return 'US' === $this->account()->{'country'};} diff --git a/composer.json b/composer.json index a5d9422..fefb11d 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "mage2pro/stripe" - ,"version": "1.6.37" + ,"version": "1.6.38" ,"description": "The «Stripe» payment extension for Magento 2." ,"type": "magento2-module" ,"homepage": "https://mage2.pro/c/extensions/stripe" @@ -11,7 +11,7 @@ "homepage": "https://mage2.pro/users/dmitry_fedyuk", "role": "Developer" }] - ,"require": {"mage2pro/core": "^1.12.12", "stripe/stripe-php": "3.*"} + ,"require": {"mage2pro/core": "^1.12.13", "stripe/stripe-php": "3.*"} ,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Stripe\\": ""}} ,"keywords": [ "API"