Issue when calling GFS API

  • 760 Views
  • Last Post 16 September 2020
surendra posted this 24 December 2018

We have an issue when calling GFS API. We did and investigation in the following environment (RAID UAT) and the information are as follows,

https://stage.loveraid.com/

In the following file - gfs-checkout/gfs-checkout-widget/gfs-checkout-widget.html line 1513, there is a function call queryServer: function (token, data). When shipping options load it doesn't return values for data. When that function calls it get a value like "W10=". Because of this the functionality break from that point and not proceeding after that. In the code base there is a console.log is available inside this function. We also fond that this is not working at all in HTTPS but working on HTTP sometimes. Could you please help us to understand this issue?

You can recreate this in the above environment - if you do an inspect through chrome you can see this error coming. Let me know if you need any further access on to the environment.

Thanks,

Surendra

Order By: Standard | Newest | Votes
Simon Wilson posted this 31 December 2018

Hi Surendra,

I have taken a look at the site and i can see an issue right away where the fields (city and postcode) are not mapped into GFS Checkout when you build the gfs.data package, This is potentially why the request is failing to return any data.

I have checked on our demo store aswell and the issue in reference to "W10=" i cannot see this happening and the data i am seeing has quite a few "=" in it and we are not experiencing the same issues.

Please map this data accordingly and let me know if this is still happening.

 

 

Simon

saeed20 posted this 09 September 2020

rubbish removal near me

AlexHall posted this 12 September 2020

Mobile apps can be used to increase customer loyalty because it allows businesses to communicate directly with their customers via In-app purchases, ads, promotions, and notifications sent to customers' phone via mobile apps. Visit the ios services website to find out more about the services we offer.

Allenwalker posted this 16 September 2020

Mice like to gain access to a heated and nourished apartment. This means that fighting or catching the mice can quickly develop into an unpopular but unfortunately necessary task. The catch mice should be performed to humane way necessarily. If you want to get rid of the mice within your own four walls, you can choose our Mice control Toronto Company.

Close