abantecart / ups-php

PHP SDK to UPS RESTful API
MIT License
13 stars 9 forks source link

Rating seems broken, Successful API call returns all NULL values for all entities #21

Closed Noodleyman closed 3 weeks ago

Noodleyman commented 3 months ago

testing out rating today, and although a valid API call is made and reports success, all returned results are NULL, thus none of the returned API data is available. seems a generic issue with this wrapper.

Testing the exact same API call manually via CURL works correctly.

Example: image

same API call via CURL: image

APanteleychuk commented 1 month ago

@Noodleyman I have the same problem Did you find any solution?

Noodleyman commented 1 month ago

Nope, I abandoned use of this wrapped and just wrote my own in the end as I only have minimal use cases

APanteleychuk commented 1 month ago

@Noodleyman did you put your solution on git for public access? I think such a code would be useful to many users

abolabo commented 1 month ago

@APanteleychuk @Noodleyman please check this out first. Official repo is full of issues related to Rate API. https://github.com/UPS-API/api-documentation/issues Have no idea how UPS plan to implement it.

abolabo commented 3 weeks ago

Please see our extension as example based on API here https://github.com/abantecart/abantecart-src/tree/master/public_html/extensions/ups