We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 76081f24 authored by Shruti Holennavar's avatar Shruti Holennavar

Changed version to 2.0.7 and resetting processing field to 0 when notifications are processed 100%

parent 3a4a37a1
......@@ -331,6 +331,7 @@ class Cron
// set done to true
$dateEnd = new \DateTime();
$notification->setDone(true);
$notification->setProcessing(false);
$notification->setUpdatedAt($dateEnd);
$notification->save();
$this->_adyenLogger->addAdyenNotificationCronjob(
......
......@@ -59,8 +59,8 @@ class UpgradeSchema implements UpgradeSchemaInterface
$this->updateSchemaVersion204($setup);
}
if (version_compare($context->getVersion(), '2.0.6', '<')) {
$this->updateSchemaVersion206($setup);
if (version_compare($context->getVersion(), '2.0.7', '<')) {
$this->updateSchemaVersion207($setup);
}
$setup->endSetup();
......@@ -269,12 +269,12 @@ class UpgradeSchema implements UpgradeSchemaInterface
/**
* Upgrade to 2.0.6
* Upgrade to 2.0.7
*
* @param SchemaSetupInterface $setup
* @return void
*/
public function updateSchemaVersion206(SchemaSetupInterface $setup)
public function updateSchemaVersion207(SchemaSetupInterface $setup)
{
$connection = $setup->getConnection();
$tableName = $setup->getTable('adyen_notification');
......
......@@ -24,7 +24,7 @@
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Adyen_Payment" setup_version="2.0.6">
<module name="Adyen_Payment" setup_version="2.0.7">
<sequence>
<module name="Magento_Sales"/>
<module name="Magento_Quote"/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment