New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postcode not found V2.1.1 #219

Closed
Twiggled opened this Issue Sep 21, 2018 · 10 comments

Comments

Projects
None yet
6 participants
@Twiggled
Copy link

Twiggled commented Sep 21, 2018

Expected behavior:
Type in postcode and postcode is found and person can order

Actual behavior:
Error message saying postcode can not be found.

Reproduce steps:
No idea. It was working fine a week ago and then 3 days ago it all stopped working. I have tried replacing the API Key and nothing helps. So I made a new install and straight out of the box this issue is happening.

Version:
(TastyIgniter version number)
2.1.1

Additional Information:
(Additional information, if any)
I have had a working site for 2 years with a few minor errors and now this has just happened. Has something changed in the google api I should be aware of.

@Twiggled

This comment has been minimized.

Copy link

Twiggled commented Sep 21, 2018

Update:-. So Its strange. I have checked again and again and used customers postcodes to check who have ordered before and while not all of them work some do. Some random ones are working. I tried to order from one postcode and its fine. next street over and there postcode does not work.

any help much appreciated spent 2 days looking into this with no luck.

@saravananshivaji

This comment has been minimized.

Copy link
Contributor

saravananshivaji commented Sep 22, 2018

Is the delivery area set properly?
please join Http://slack.tastyigniter.com the slack channel and we can debug the issue after.

@Twiggled

This comment has been minimized.

Copy link

Twiggled commented Sep 23, 2018

Thanks will join now and just for people googling and finding this. Everything has been working for 2 years and nothing has changed in the past few weeks for this to go wrong. Delivery area is set correctly. However if I click repeatedly after entering the postcode it eventually accepts it.

@saravananshivaji

This comment has been minimized.

Copy link
Contributor

saravananshivaji commented Sep 27, 2018

This issue has been already addressed in 2.1.X (system/TastyIgniter/libraries/Location.php) -- see the getLatLng is passing the $map_Key in the googleapi url, also check the $map_key is not empty as shown below.

       $map_key = $this->CI->config->item('maps_api_key')
                         ? 'key='.$this->CI->config->item('maps_api_key').'&' : '';
       $url  = 'https://maps.googleapis.com/maps/api/geocode/json?'.$map_key
           .'address=' . urlencode($temp_query) .'&sensor=false'; 

@sampoyigi sampoyigi closed this Oct 5, 2018

@sagansidhu

This comment has been minimized.

Copy link

sagansidhu commented Oct 12, 2018

I have added new api key.. also updated the location.php
but still same issue going on.

This restaurant currently does not deliver to your address

I can share the login details if somebody can help ASAP.. please

@letssmokegood

This comment has been minimized.

Copy link

letssmokegood commented Oct 15, 2018

I swear Twiggled it's little stuff like that which makes this software a pain in the ass, and instead of help they say it's been addressed here or there instead of actually posting helpful links or more articulate answers, i've wasted a load of time trying to get basic shit to work.

@saravananshivaji

This comment has been minimized.

Copy link
Contributor

saravananshivaji commented Oct 15, 2018

Hi,

I bet this is a issue with API (May be due to restrictions), as we are limited in support and people like you must help with committing the fixes or supporting new features. We can only support when we have time, as we are working on version 3.x we have a tight schedule. Hope you understand and help for the betterment.

Regards,
Saran

@sagansidhu

This comment has been minimized.

Copy link

sagansidhu commented Oct 16, 2018

Hello Saran,

I have created a new API, but still it is not working.. could you please help ?

@saravananshivaji

This comment has been minimized.

Copy link
Contributor

saravananshivaji commented Oct 16, 2018

Hello Saran,

I have created a new API, but still it is not working.. could you please help ?

please join Http://slack.tastyigniter.com the slack channel and we can debug the issue after.

@ianhaney

This comment has been minimized.

Copy link

ianhaney commented Oct 17, 2018

I am having this same issue in 2.1.1. can anyone help please? I have created new api key and still not working and keep getting the same message "This restaurant currently does not deliver to your address"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment