Widget integration with Magento 2

  • Last Post 23 September 2020
  • Topic Is Solved
David posted this 22 January 2018


We have recently started to integrated GFS Checkout into Magento 2 however we have come across an issue where within the Magento 2  framework it uses Knockout.js to render the checkout elements. We have the GFS widget working fine on a flat html page but when it is included in to a dynamically rendered knockout template the widget fails on a couple of fronts. Firstly as the widget contains inline js it will try to execute before the Knockout.js bindings have completed, meaning the `gfs-data` attributes are not available to it.


Secondly the Links to some of the images seem to point to the root of the website rather than the static folder which is used in Magento 2.


Can you advise if you have come across this before and if you have any suggestion on how to correct this?



Order By: Standard | Newest | Votes
Simon Wilson posted this 23 January 2018

Hi David,


Thank you for your query,

having reviewed this with the developers we have released a new version of the widgets on github the changes have added observers into the widget so taht when the page loads and then the gfs-data is changed it will refresh the widget and populate the details that are required,


in regards to the links this is being dealt with at the minute and another release will take place shortly to correct this, You will see this commited on github once the work has been completed,


alternativelly if you have any suggestions to the widget code please feel free to make a pull request and our Dev's will review and test the changes before commiting them.



GeorgeMcCullough posted this 16 July 2020

The development of the integration is filed for the approach of the reforms for all shows. The management of the groups and writemypapers is wisely informed for the development of the paper. This chunk is faced for the approval of the targeted element for the signs.

Ethan Wood posted this 20 July 2020

Need urgent help with your assignment? Check the top paper writing services for 2020 and place an order at a trusted online company.

saeed20 posted this 09 September 2020

for learn more


AlexMiller posted this 12 September 2020

A logo is an important part of your company's brand and makes a significant impact on a company's public perception. Make your own logo is one of the most important branding investments a business can make.

ron1955sab posted this 23 September 2020

Hello there! I would like to share you the coolest and the most famous online essay writing company. It is top agency of all the times. So, guys, click on their https://expert-writers.net webpage and you will be fully satisfied!