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 @@
# 6.5.1
* Minor Fix am Customer-Objekt für besseren PayPal-B2B-Support

# 6.5.0
* Migration von Unzer UI Component V1 zu Unzer UI Component V2
* Express-Checkout für Apple Pay, Google Pay und PayPal wurde hinzugefügt
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 @@
# 6.5.1
* Minor fix to customer object for better Paypal B2B support

# 6.5.0
* Migration from Unzer UI Component V1 to Unzer UI Component V2
* Express checkout for Apple Pay, Google Pay and Paypal has been added
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": "6.5.0",
"version": "6.5.1",
"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 @@ -206,9 +206,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