Skip to content

Commit

Permalink
Release 1.0.74
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Schurter committed Jan 28, 2020
1 parent e643f28 commit f569ee9
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 31 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This repository contains the Magento 2.3 extension that enables to process payme

## Documentation

* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.73/docs/en/documentation.html)
* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.74/docs/en/documentation.html)

## Supported One Step Checkouts

Expand All @@ -22,4 +22,4 @@ We do provide special integrations for the following one step checkouts:

## License

Please see the [license file](https://github.com/pfpayments/magento-2.3/blob/1.0.73/LICENSE) for more information.
Please see the [license file](https://github.com/pfpayments/magento-2.3/blob/1.0.74/LICENSE) for more information.
53 changes: 31 additions & 22 deletions Setup/UpgradeData.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,29 +34,38 @@ public function upgrade(ModuleDataSetupInterface $setup, ModuleContextInterface

private function addOrderStatusShipped(ModuleDataSetupInterface $setup)
{
$data = [
[
'status' => 'shipped_postfinancecheckout',
'label' => \__('Shipped')
]
];
$setup->getConnection()->insertArray($setup->getTable('sales_order_status'), [
'status',
'label'
], $data);

$data = [
[
'status' => 'shipped_postfinancecheckout',
'state' => 'processing',
'is_default' => 0
]
];
$setup->getConnection()->insertArray($setup->getTable('sales_order_status_state'),
[
$select = $setup->getConnection()
->select()
->from($setup->getTable('sales_order_status'), [
'status'
])
->where('status = ?', 'shipped_postfinancecheckout');

if (count($setup->getConnection()->fetchAll($select)) == 0) {
$data = [
[
'status' => 'shipped_postfinancecheckout',
'label' => \__('Shipped')
]
];
$setup->getConnection()->insertArray($setup->getTable('sales_order_status'), [
'status',
'state',
'is_default'
'label'
], $data);

$data = [
[
'status' => 'shipped_postfinancecheckout',
'state' => 'processing',
'is_default' => 0
]
];
$setup->getConnection()->insertArray($setup->getTable('sales_order_status_state'),
[
'status',
'state',
'is_default'
], $data);
}
}
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
}
],
"type" : "magento2-module",
"version" : "1.0.73",
"version" : "1.0.74",
"require" : {
"php": "~7.1.3||~7.2.0",
"magento/framework" : "^102.0.0",
Expand Down
2 changes: 1 addition & 1 deletion docs/en/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ <h2>Documentation</h2> </div>
</a>
</li>
<li>
<a href="https://github.com/pfpayments/magento-2.3/releases/tag/1.0.73/">
<a href="https://github.com/pfpayments/magento-2.3/releases/tag/1.0.74/">
Source
</a>
</li>
Expand Down
2 changes: 1 addition & 1 deletion etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<resource>PostFinanceCheckout_Payment::config</resource>
<group id="information" translate="label comment" type="text" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Information</label>
<comment><![CDATA[If you need help setting up the PostFinance Checkout extension, check out the <a href="https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.73/docs/en/documentation.html" target="_blank">documentation</a>.]]></comment>
<comment><![CDATA[If you need help setting up the PostFinance Checkout extension, check out the <a href="https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.74/docs/en/documentation.html" target="_blank">documentation</a>.]]></comment>
<field id="version" translate="label" type="label" sortOrder="10" showInDefault="1" showInWebsite="1" showInStore="1">
<label>Module Version</label>
</field>
Expand Down
2 changes: 1 addition & 1 deletion etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<default>
<postfinancecheckout_payment>
<information>
<version>1.0.73</version>
<version>1.0.74</version>
<sdk_version>2.0.11</sdk_version>
</information>
<general>
Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="PostFinanceCheckout_Payment" setup_version="1.0.73">
<module name="PostFinanceCheckout_Payment" setup_version="1.0.74">
<sequence>
<module name="Magento_Sales"/>
<module name="Magento_Payment"/>
Expand Down
2 changes: 1 addition & 1 deletion i18n/de_DE.csv
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"Gift Wrap","Geschenkverpackung"
"Hold Delivery","Lieferung halten"
"ID required","ID erforderlich"
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.73/docs/en/documentation.html"" target=""_blank"">documentation</a>.","Falls Sie Hilfe benötigen beim Einrichten der PostFinance Checkout-Erweiterung, sehen Sie sich die <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.73/docs/en/documentation.html"" target=""_blank"">Dokumentation</a> an."
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.74/docs/en/documentation.html"" target=""_blank"">documentation</a>.","Falls Sie Hilfe benötigen beim Einrichten der PostFinance Checkout-Erweiterung, sehen Sie sich die <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.74/docs/en/documentation.html"" target=""_blank"">Dokumentation</a> an."
"Inactive","Inaktiv"
"Information","Informationen"
"Invoice","Rechnung"
Expand Down
2 changes: 1 addition & 1 deletion i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"Gift Wrap","Gift Wrap"
"Hold Delivery","Hold Delivery"
"ID required","ID required"
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.73/docs/en/documentation.html"" target=""_blank"">documentation</a>.","If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.73/docs/en/documentation.html"" target=""_blank"">documentation</a>."
"If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.74/docs/en/documentation.html"" target=""_blank"">documentation</a>.","If you need help setting up the PostFinance Checkout extension, check out the <a href=""https://plugin-documentation.postfinance-checkout.ch/pfpayments/magento-2.3/1.0.74/docs/en/documentation.html"" target=""_blank"">documentation</a>."
"Inactive","Inactive"
"Information","Information"
"Invoice","Invoice"
Expand Down

0 comments on commit f569ee9

Please sign in to comment.