Developer forum

Forum » Ecommerce - Standard features » DIBS - different amount in authorize/capture transaction

DIBS - different amount in authorize/capture transaction

Espen Strømsnes
Reply

We have a customer that has DIBS integration.

We have a shipment provider that adds a shipping fee of $25 to US orders under $100.

We have a problem where the amount captured is less than the order total. See screenshot here from DW admin and DIBS-admin. As you can see the amount captured is the order total amount excluding the shipment fee. Why?

 

 

Regards,

Espen

dibs.png

Replies

 
Nicolai Pedersen
Reply

Can we see your shipment provider?

 
Dimitrij Jazel
Reply

Hi Nicolai,

We are not using shipping provider for this.

In the Information step, we have 2 shipping methods. SHIP1 and SHIP2

We check if customer is from US or not. If IS, then we just set "SHIP2" as selected method.

 

At the same time, in DW MC Ecommerce > Advanced Configuration > Shopping cart

we have this setting set https://www.screencast.com/t/amY0jn99aVV My suspicion is that this are somehow related.

Default SHIP1 shipping method is 94USD, and with SHIP2 is 119USD

 

 
Viktor Letavin
Reply

Hi,

Do you have "Card fee added by DIBS" setting enabled? and if yes and that shipping fee is set from DIBS.

Anyway could be good to have logs entry from

System\Log\eCom\CheckoutHandler\Dynamicweb.Ecommerce.CheckoutHandlers.Dibs.Dibs

 

Best Regards, Viktor.

Untitled.jpg
 
Espen Strømsnes
Reply

Logging was disabled, so unfortunately there's no log entries. I have enabled logging now, so we'll just wait and see if any interesting is logged.

Regarding the "Card fee added by DIBS" setting, it is disabled on all payment methods in DW admin.

I doubt that enabling this setting will solve the issue with different authorize/capture amount.  As far as I can see (based on the DW doc: "If this is checked then DIBS adds a card fee to the order depending on which card type is used."), this will add the DIBS card fee to the authorize/capture amount. I can't see that this has anything to do with shipping fee added by DW.

 

One quick question; does DW pass amount as a parameter both in authorize and capture events to DIBS, or does DW only pass the DIBS transaction ID when capturing the amount? The reason I'm asking is that as far as I can see from the DIBS admin page above is that the amount authorized is $119 and the amount captured is $94.

Best regards,

Espen

 
Viktor Letavin
Reply

Hi,

Since "add fee" setting is disabled there is no need in logs I requested.

To answer your question DW pass order for authorize and use it order.Price as amount to send into DIBS. I didn't remember if DIBS have "autocapture" option(when it is cuptured right after auth by DIBS) if the missing captured amout was lost this way - I guess I need more investigations. Other way to capture is use backend UI from ribbon on the order edit screen. There are 2 ways of capturing - Full capture and Split capture. Full capture uses order.Price + external fee mentioned in the documentation, and Split Capture can be used 1 or more times for order, until all the order.Price will be captured. I would like to know if you capture order by backend and, if yes, which way Full or Split. Also could be nice to know what information capture dialog on order says.

 

BR, Viktor.

 
Espen Strømsnes
Espen Strømsnes
Reply
This post has been marked as an answer

Sorry for the late reply. 

I turns out that the amount is not captured by DW. DW only reserves the amount. The capture is done by the ERP and there was a bug there that caused the wrong amount to be captured.

Espen

 

Votes for this answer: 1
 
Victor Letavin
Reply

Hi,

Does this means that the problem solved?smiley

BR, Viktor.

 
Espen Strømsnes
Espen Strømsnes
Reply

Yes it does :-)

 

Es

 

You must be logged in to post in the forum