diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..aff8f9e Binary files /dev/null and b/.DS_Store differ diff --git a/Model/Config/Backend/AccessCode.php b/Model/Config/Backend/AccessCode.php index 4dc3dc1..b365e69 100644 --- a/Model/Config/Backend/AccessCode.php +++ b/Model/Config/Backend/AccessCode.php @@ -56,6 +56,7 @@ public function __construct( /** * @return $this + * @throws \Magento\Framework\Exception\LocalizedException */ public function beforeSave() { diff --git a/composer.json b/composer.json index f8a7fa6..1c1c559 100644 --- a/composer.json +++ b/composer.json @@ -38,7 +38,7 @@ "magepal/magento2-checkout-success-misc-script":"Add miscellaneous HTML and scripts to your checkout success page" }, "type": "magento2-module", - "version": "1.0.7", + "version": "1.0.8", "autoload": { "files": [ "registration.php" diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml index ac2b236..22a90ed 100644 --- a/etc/adminhtml/system.xml +++ b/etc/adminhtml/system.xml @@ -83,14 +83,16 @@ MagePal\PreviewCheckoutSuccessPage\Block\Adminhtml\System\Config\Form\Field\OrderIncrement - + + MagePal\PreviewCheckoutSuccessPage\Model\Config\Backend\ModifyTimestamp 1 - + + MagePal\PreviewCheckoutSuccessPage\Model\Config\Backend\AccessCode 1 @@ -106,4 +108,4 @@ - \ No newline at end of file +