jtl-software / connector-shopware5

GNU Lesser General Public License v3.0
8 stars 5 forks source link

Precision 2 should be added for surcharges as well #6

Closed nfech01 closed 10 months ago

nfech01 commented 11 months ago

Is it possible to add precision 2 to surcharges? Currently we add it by ourselves as it caused problems with AdvancedPromotionSuite. As the position there will be used within Shopware with the number rounded with a precision of 2, but saved with a lot more digits, this leads to differences in payment (1 cent in most of the cases).

https://github.com/jtl-software/connector-shopware5/blob/ff680542ce6a98f26e755ffad2dff06d015139cb/src/Controller/CustomerOrder.php#L189C1-L190C1

github-actions[bot] commented 10 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 10 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.