Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Payment fees - 10.1.1

Vote:
 

Hi

We are currently using the DIBS payment gateway (http://world.episerver.com/add-ons/dibs/) as the only means of payments on our site. 
Is it possible to add a fee on the payment in EPiServer, based on the chosen payment type sent to DIBS? 

/Swensson

#174697
Edited, Feb 02, 2017 11:54
Vote:
 

Hi,

I don't think that is possible. You have to include the cost in the total amount of the order. The question is for which article. I would imagine you to have your own IOrderGroupEx inherit from IOrderGroup to add a new field and update the calculators to set that field (PaymentFee etc.) 

In short, no, I don't know a working solution, and I'm also interested if someone want to share a solution for this.

/Q

#174701
Feb 02, 2017 13:42
Vote:
 

The way we normally solve it is to have custom logic that sets the HandlingTotal on the IOrderForm depending on what payment type is chosen. We don't use the Handling for anything besisdes payment fees.

We do however have our own calculators for order total and tax calculations, whether or not IOrderForm.HandlingTotal is taken into account by the default calculators i can not say.

/EN

#174705
Feb 02, 2017 15:33
Vote:
 

As of release 10.1.0 (http://world.episerver.com/releases/episerver---update-139/) of Episerver Commerce Handling cost is included in the calculation of order total. See bug http://world.episerver.com/documentation/Release-Notes/ReleaseNote/?releaseNoteId=COM-3344

This topic was also discussed here: http://world.episerver.com/Modules/Forum/Pages/Thread.aspx?id=170799

/Martin

#174706
Edited, Feb 02, 2017 15:55
Vote:
 
<p>Me and my bad memory.&nbsp; &gt;.&lt;</p> <p>Do you know if it works with the tax calculations now too?</p>
#174707
Feb 02, 2017 16:03
Vote:
 

No idea unfortunately Erik. 

#174732
Feb 02, 2017 17:32
Vote:
 

For your information, http://world.episerver.com/documentation/Release-Notes/ReleaseNote/?releaseNoteId=COM-3344 was fixed and released in 10.1.0.

And IMO, it's great idea if you use IOrderForm.HandlingTotal (y)

/Son Do

#174745
Edited, Feb 03, 2017 4:58
Vote:
 
<p>The problem with using HandlingTotal (not that there is any other way to avoid it) is that it is ignored in the tax calculations.</p> <p>In fact as far as my knowledge goes there is no way to configure the handling/payment vat rate in episerver it only supports vat for shipping and items.</p> <p>Implementing your own ITaxCalculator is propably the only way to adhere to swedish law and avoid the IRS.</p>
#174770
Feb 03, 2017 15:17
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.