Developer forum

Forum » Ecommerce - Standard features » DIBS FlexWin with decorator="responsive"

DIBS FlexWin with decorator="responsive"

Martin Rickmann
Reply

Hi there,

We would like to use the updated DIBS Flexwin payment window as this is the only DIBS window that has mobilepay integrated. I believe it is a simple matter of adding a decorator field to "responsive" in the post form. Is there some way to succeed with this using the DIBS FlexWin checkout handler? 

We tried just adding an template and render the post form by template - but this does not really function for us as template tags are not working.

We are running v. 8.8.1.6. 

Thx 
Martin


Replies

 
Vladimir
Reply

Hi Martin,

All should work - I just had tested.

So what you do:

1 Made in payment settings Post mode = Render template

2.Added to template <input type="hidden" name="decorator" value="responsive" />

3. In cart, had pressed "Create order" and then got a form without tags?

 

Best regards,

Vladimir

 
Martin Rickmann
Reply

Hi Vladimir,

Thx for your input. We already tested this. If I do what you suggest I get the form shown in attachment file. I can see my added decorator field. But all other info like Dibs.merchant is not rendered. 

If I activate auto post again - and observe the post data I do not see decorator: 

merchant=90219960&amount=14900&currency=208&orderid=DEMOORDER693&accepturl=http%3A%2F%2F%2FDefault.aspx%3FID%3D9260%26CheckoutHandlerOrderID%3DDEMOORDER693%26DibsState%3DAccept&cancelurl=http%3A%2F%2F2FDefault.aspx%3FID%3D9260%26CheckoutHandlerOrderID%3DDEMOORDER693%26DibsState%3DCancel&callbackurl=http%3A%2F%2F%2FDefault.aspx%3FID%3D9260%26CheckoutHandlerOrderID%3DDEMOORDER693%26DibsState%3DCallback&uniqueoid=true&test=true&lang=da&color=blue&md5key=118bb58f8dc60ae2eca0421113a4a067

Shouldn't I be able to either manipulate the post template with autopost or get the values rendered in the template and then fire the form myself?

 

 

2017-05-09_13_56_48-Start.png
 
Vladimir
Reply

hehe:) I have an idea what is wrong - tags should be with @ char

e.g. : <!--@Dibs.merchant-->

 

 

 
Martin Bakken Rickmann
Reply

I don't know how I missed that. Where can we send beers?

Thx

 

 
Nicolai Pedersen
Reply

:-).

Vladimir will be in Denmark from Friday - I'll make sure he gets plenty!!

 

You must be logged in to post in the forum