maksuturva / magento2_payment_module

Svea Payment module for Magento 2
Other
4 stars 13 forks source link

Feature/handling fee #20

Closed Kamax123 closed 4 years ago

Kamax123 commented 4 years ago

This feature implements handling fee functionality for SVEA payment module

What the feature does:

This feature allows the user of the module to configure handling fee for various payment methods. Additions in this implementation:

General:

    Admin: Handling fee is configurable per payment method

Order:

    Handling fee is added into Magento totals/total rows when customer selects payment method

    Handling fee is exported in pmt_row_type attribute, with value 3

Refunds

    Magento Order view: Handling fee is shown as own line

        Editable amount with default sum is the whole handling fee.

        User cannot enter bigger amount than original

    Refund logic for the handling fee, refund data exported

Admin

    Handling fee is configurable per payment method