Skip to content

Commit

Permalink
Release 4.0.34
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewrowanwallee committed May 31, 2022
1 parent 116ae44 commit e327d03
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ tail -f var/log/postfinancecheckout_payment*.log

## Documentation

[Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/shopware-6/4.0.33/docs/en/documentation.html)
[Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/shopware-6/4.0.34/docs/en/documentation.html)

## License

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@
"postfinancecheckout/sdk": "3.0.1"
},
"type": "shopware-platform-plugin",
"version": "4.0.33"
"version": "4.0.34"
}
2 changes: 1 addition & 1 deletion docs/en/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h2>Documentation</h2> </div>
</a>
</li>
<li>
<a href="https://github.com/pfpayments/shopware-6/releases/tag/4.0.33/">
<a href="https://github.com/pfpayments/shopware-6/releases/tag/4.0.34/">
Source
</a>
</li>
Expand Down
4 changes: 4 additions & 0 deletions src/Core/Util/Payload/TransactionPayload.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ public function get(): TransactionCreate
$transactionData['meta_data']['additionalAddress2'] = $additionalAddress2;
}

if (!empty($this->transaction->getOrder()->getCustomerComment())) {
$transactionData['meta_data']['customer_comment'] = $this->transaction->getOrder()->getCustomerComment();
}

$transactionPayload = (new TransactionCreate())
->setAutoConfirmationEnabled(false)
->setBillingAddress($billingAddress)
Expand Down

0 comments on commit e327d03

Please sign in to comment.