Hi everyone,
I'm trying to use Fedex Shipping Extension but, I have problems to know where I the information I need to configure it in Fedex Developer Portal. Anyone using this extension?
Thank you!
I'm trying to use Fedex Shipping Extension but, I have problems to know where I the information I need to configure it in Fedex Developer Portal. Anyone using this extension?
Thank you!
Last edited by stanmx on Sat Jun 08, 2024 3:58 am, edited 1 time in total.
Have you contacted the extension developer? Have you contacted FedEx?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Hi Paul, yes but I don't have answer yet. I create my API Key and Secret Key in Fedex, But I am not sure if my current setup inside the OpenCart Admin is right.paulfeakins wrote: ↑Fri May 31, 2024 10:26 pmHave you contacted the extension developer? Have you contacted FedEx?
I received the next error in console when I try to select a shipping method in the checkout page:
Code: Select all
SyntaxError: JSON Parse error: Unrecognized token '<'
parsererror
<pre><br><h1>REQUEST</h1>Array
(
[accountNumber] => Array
(
[value] => <my account number>
)
[requestedShipment] => Array
(
[shipper] => Array
(
[address] => Array
(
[streetLines] => Array
(
[0] => 1929 Avenida Del Mexico
[1] => Unit 268
)
[city] => San Diego
[stateOrProvinceCode] => California
[postalCode] => 22154
[countryCode] => US
[residential] => false
)
)
[recipient] => Array
(
[address] => Array
(
[streetLines] => Array
(
[0] => 2576 Catamaran Way
[1] =>
)
[city] => Chula Vista
[stateOrProvinceCode] => CA
[postalCode] => 91914
[countryCode] => US
[residential] => false
)
)
[rateRequestType] => Array
(
[0] => LIST
[1] => ACCOUNT
)
[pickupType] => CONTACT_FEDEX_TO_SCHEDULE
[requestedPackageLineItems] => Array
(
[0] => Array
(
[subPackagingType] => BOX
[groupPackageCount] => 1
[weight] => Array
(
[units] => KG
[value] => 0.03
)
)
)
[packagingType] => YOUR_PACKAGING
[totalPackageCount] => 1
[totalWeight] => 0.03
)
)
<br><h1>RESPONSE</h1>stdClass Object
(
[transactionId] => <my transaction ID>
[errors] => Array
(
[0] => stdClass Object
(
[code] => SHIPPER.ADDRESSSTATEORPROVINCECODE.MAXCHAREXCEEDED
[message] => The length of the origin state or province code exceeds the limit of 2 characters. Please update and try again.
)
)
)
Code: Select all
SyntaxError: JSON Parse error: Unrecognized token '<'
parsererror
<pre><br><h1>REQUEST</h1>Array
(
[accountNumber] => Array
(
[value] => <my account number>
)
[requestedShipment] => Array
(
[shipper] => Array
(
[address] => Array
(
[streetLines] => Array
(
[0] => 1929 Avenida Del Mexico
[1] => Unit 268
)
[city] => San Diego
[stateOrProvinceCode] => CA
[postalCode] => 22154
[countryCode] => US
[residential] => false
)
)
[recipient] => Array
(
[address] => Array
(
[streetLines] => Array
(
[0] => 2576 Catamaran Way
[1] =>
)
[city] => Chula Vista
[stateOrProvinceCode] => CA
[postalCode] => 91914
[countryCode] => US
[residential] => false
)
)
[rateRequestType] => Array
(
[0] => LIST
[1] => ACCOUNT
)
[pickupType] => CONTACT_FEDEX_TO_SCHEDULE
[requestedPackageLineItems] => Array
(
[0] => Array
(
[subPackagingType] => BOX
[groupPackageCount] => 1
[weight] => Array
(
[units] => KG
[value] => 0.03
)
)
)
[packagingType] => YOUR_PACKAGING
[totalPackageCount] => 1
[totalWeight] => 0.03
)
)
<br><h1>RESPONSE</h1>stdClass Object
(
[transactionId] => <my transaction ID>
[errors] => Array
(
[0] => stdClass Object
(
[code] => RATE.LOCATION.NOSERVICE
[message] => FedEx service is not currently available to this origin / destination combination. Enter new information or contact FedEx Customer Service.
)
)
)
This output isn't correct, it looks like a developer has tried to add some debug code including a print_r() or similar.stanmx wrote: ↑Tue Jun 04, 2024 2:50 pmCode: Select all
SyntaxError: JSON Parse error: Unrecognized token '<' parsererror <pre><br><h1>REQUEST</h1>Array (
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
The debug option should only write to a log file and not output to the web browser.
Indeed, so it's probably not that.ADD Creative wrote: ↑Wed Jun 05, 2024 6:29 pmThe debug option should only write to a log file and not output to the web browser.
Looks like someone has been poking about in the code, specifically that AJAX endpoint which you should be able to find the path of in the network tab in your browser.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Hi Paul, what do you mean with this last part? Thank you!paulfeakins wrote: ↑Wed Jun 05, 2024 7:14 pmIndeed, so it's probably not that.ADD Creative wrote: ↑Wed Jun 05, 2024 6:29 pmThe debug option should only write to a log file and not output to the web browser.
Looks like someone has been poking about in the code, specifically that AJAX endpoint which you should be able to find the path of in the network tab in your browser.
--I'm considering changing to another Shipping Service because I can't made to run this.
I don't think you are using my FedEx Pro extension, but if you are, please contact me here for support:
www.getclearthinking.com/contact
If you're not using mine but are interested in switching, you can view the demo admin panel here:
https://demo.getclearthinking.com/admin ... /fedex_pro
It works on all OpenCart 3.0 and 4.0 versions, including 4.0.2.3. Feel free to reach out using the contact link above if you have any questions.
www.getclearthinking.com/contact
If you're not using mine but are interested in switching, you can view the demo admin panel here:
https://demo.getclearthinking.com/admin ... /fedex_pro
It works on all OpenCart 3.0 and 4.0 versions, including 4.0.2.3. Feel free to reach out using the contact link above if you have any questions.
Hi Paul, what do you mean with this last part? Thank you!
[/quote]
You private messaged me, but I cannot provide free personal support that way, if you want help then you must reply in this forum so that others can benefit from the information and other developers can help as well.
What I mean is very simple; it seems someone, maybe a developer, has added some debugging code to one of your files. Perhaps it was left there by mistake.
Anyway, switching to Johnathan's extension is probably a good idea.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Thank you Paul, and don't worry, I respect your position and I apologize if it was interpreted that way.paulfeakins wrote: ↑Fri Jun 07, 2024 7:50 pmYou private messaged me, but I cannot provide free personal support that way, if you want help then you must reply in this forum so that others can benefit from the information and other developers can help as well.stanmx wrote: ↑Fri Jun 07, 2024 3:07 amHi Paul, what do you mean with this last part? Thank you!paulfeakins wrote: ↑Fri Jun 07, 2024 7:50 pmLooks like someone has been poking about in the code, specifically that AJAX endpoint which you should be able to find the path of in the network tab in your browser.
What I mean is very simple; it seems someone, maybe a developer, has added some debugging code to one of your files. Perhaps it was left there by mistake.
Anyway, switching to Johnathan's extension is probably a good idea.
Thank you Johnathan! We will try with UPS or USPS, I will check your extensions
Who is online
Users browsing this forum: No registered users and 10 guests