Developer forum

Forum » Ecommerce - Standard features » DW 9.10.12: External payment fee not included in order total

DW 9.10.12: External payment fee not included in order total

Roald Haahr
Reply

On a solutiong running 9.10.12, we are using the Epay payment provider, which will add an external fee to an order and that fee should be presented to the customers. While being able to find the external fee in template tags, it doesn't look like there is a property for the order total that includes the external fee, as is shown on the screenshot below.

Am I missing something?

Kind regards,
Roald

 


Replies

 
Nicolai Pedersen
Reply

Hi Roald

Yes, there are many tags and they can be a bit difficult to get around.

You can see below that it is doable.

The tag with all included is Ecom:Order.Price.*

The dump below comes from a "CartAndDiscount" cheatsheet template that shows all the different tags for orderlines and subtotals. By hovering each number in this cart, you can see what the tag is called.

The cheatsheet is attached.

BR Nicolai

 
Roald Haahr
Reply

Hi Nicolai,

Thank you for the cheatsheet! That does indeed seem pretty helpful.

However, it does not include the external payment fee that my question concerns. I added the cheatsheet and got the screendumb below. Printing out @TemplateTags() and searching through the table, the total price that I am seaching for is just not there.

I can find the external payment fee by @GetString("Ecom:Order.ExternalFee"), but it is not included in any total price. What I hoped to find is a total price of 2975 (sub total) + 43,77 (external payment fee) = 3018,77.

Kind regards,
Roald

 
Nicolai Pedersen
Reply

Oh, now I understand!

The Order.ExternalPaymentFee property is the GetString("Ecom:Order.ExternalFee").

Some payment gateways can return the value that has been added to the order - after the payment has happened. In ePay that is supported if you set the "Card fee added by ePay" property.

But the amount is not available before the receipt.

BR Nicolai

 

You must be logged in to post in the forum