Payment Plugin - Order totals

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hey guys,

i'm developing a payment plugin and based on the user input on the payment info screen (number of installments), i need to update the order total value.

So far using the custom values dictionary i can calculate and send the correct value to the payment gateway but still need to update the order total with the new value.

I was thinking about extending the IPaymentMethod interface to add a new method (CustomCalculationFee) and overriding the OrderProcessingService, but maybe someone can point me an easier way to do it.
6 years ago
How about using the "Additional fee"?
6 years ago
THe "AdditionalFee" is calculated before the payment info screen, when the user select the payment method.

Here a picture of my problem:

https://imgur.com/Lm9E8C5
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.