Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG_de-DE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 7.1.2
* Minor Fix am Customer-Objekt für besseren PayPal-B2B-Support

# 7.1.1
* Bugfix PHP8.2 Kompatibilität
* Fix foreign key issue in Migrationen
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG_en-GB.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 7.1.2
* Minor fix to customer object for better Paypal B2B support

# 7.1.1
* Fix foreign key issue in migrations
* PHP8.2 compatibility fix
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "unzerdev/shopware6",
"description": "Unzer payment integration for Shopware 6",
"version": "7.1.1",
"version": "7.1.2",
"type": "shopware-platform-plugin",
"license": "Apache-2.0",
"minimum-stability": "dev",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,9 @@ protected function updateAdditionalDataToCustomer(
if (empty($companyInfo->getCompanyType()) || $updatedCompany) {
$companyInfo->setCompanyType('Company Type');
}
// if (empty($companyInfo->getRegistrationType()) || $updatedCompany) {
// $companyInfo->setRegistrationType('not_registered');
// }
if (empty($companyInfo->getRegistrationType()) || $updatedCompany) {
$companyInfo->setRegistrationType('not_registered');
}
if (empty($companyInfo->getFunction()) || $updatedCompany) {
$companyInfo->setFunction('OWNER');
}
Expand Down