Has anyone else had the app just stop working recently? I've got it installed on my test site and it was working flawlessly. I hadn't done any updating testing in the last couple of months and now it's not returning rates. Nothing changed. I removed and reinstalled the app, no rates. API keys are correct. I'm stumped.
1.0.9.9 store running oAuth 2.1.0
UPS Shipping Module
Just stopped working - UPS Shipping Module
-
otgrouch
- Member
- Posts: 13
- Joined: Wed Dec 06, 2023 4:27 pm
- Phoenix Version:
- Contact:
Re: Just stopped working
You can try the following:
Edit includes/modules/shipping/zipupsoauth.php
Look for the line: (around line 113 ish)
add just below that code:
**Make sure to replace your.ip.addr.here above with your external IP of your computer (https://whatismyipaddress.com/)
I tested the UPS mod here and its working fine. The above should give you some clues.
Edit includes/modules/shipping/zipupsoauth.php
Look for the line: (around line 113 ish)
Code: Select all
$response = curl_exec( $ch );Code: Select all
if ( $_SERVER['REMOTE_ADDR'] == 'c' ) {
var_dump( $response );
die();
}
I tested the UPS mod here and its working fine. The above should give you some clues.
zipurman
-----------
-----------
- zipurman
- Builder
- Posts: 540
- Joined: Tue Oct 13, 2020 5:20 pm
- Phoenix Version: v
- Contact:
Re: Just stopped working
Figured it out. A few things had happened...I'm not sure how, but it's been a couple of months since I worked in the sandbox and it's possible that moving database tables around had some affect or maybe I just fat fingered something.
I had country set to United States - not US. UPS error reporting pointed this one out for me.
Fixed that and got a fatal error because I did not enter a value for the handling fee. Put in a value and the fatal error disappeared, but rates still were not showing up.
Went and looked at my zones and (I only allow UPS to US addresses) US did not have 'all zones' selected, so it wasn't sending in ANY shipping zones.
So apparently all on me. Thanks for the assist.
I had country set to United States - not US. UPS error reporting pointed this one out for me.
Fixed that and got a fatal error because I did not enter a value for the handling fee. Put in a value and the fatal error disappeared, but rates still were not showing up.
Went and looked at my zones and (I only allow UPS to US addresses) US did not have 'all zones' selected, so it wasn't sending in ANY shipping zones.
So apparently all on me. Thanks for the assist.
-
otgrouch
- Member
- Posts: 13
- Joined: Wed Dec 06, 2023 4:27 pm
- Phoenix Version:
- Contact:
- zipurman
- Builder
- Posts: 540
- Joined: Tue Oct 13, 2020 5:20 pm
- Phoenix Version: v
- Contact: