Skip to content

Commit d6532ee

Browse files
fix dependency error
1 parent 641ca99 commit d6532ee

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed

.gitignore

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1-
/.tmp
2-
magento2.zip
1+
/.bundle
2+
/vendor
3+
bundle.zip
4+
composer.lock

Model/Payment.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,10 @@ public function __construct(
5757

5858
\SatispayOnline\Api::setSecurityBearer($this->getConfigData('security_bearer'));
5959
\SatispayOnline\Api::setStaging((bool)$this->getConfigData('staging'));
60-
\SatispayOnline\Api::setClient('Magento/'.$version);
60+
61+
\SatispayOnline\Api::setPluginName('Magento2');
62+
\SatispayOnline\Api::setType('ECOMMERCE-PLUGIN');
63+
\SatispayOnline\Api::setPlatformVersion($version);
6164
}
6265

6366
public function isAvailable(\Magento\Quote\Api\Data\CartInterface $quote = null) {

bundle.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
find . -name '.DS_Store' -type f -delete
22
rm -rf magento2.zip
3-
rm -rf .tmp
4-
mkdir .tmp && mkdir .tmp
5-
cp -R * .tmp
6-
cd .tmp && zip -r archive.zip .
3+
rm -rf .bundle
4+
mkdir .bundle && mkdir .bundle
5+
cp -R * .bundle
6+
cd .bundle && zip -r archive.zip .
77
cd ..
8-
mv .tmp/archive.zip magento2.zip
9-
rm -rf .tmp
8+
mv .bundle/archive.zip bundle.zip
9+
rm -rf .bundle

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
],
1313
"require": {
14-
"satispay/online-api-php-sdk": "^1.3"
14+
"satispay/online-api-php-sdk": "^1.6.2"
1515
},
1616
"type": "magento2-module",
1717
"autoload": {

0 commit comments

Comments
 (0)