goshippo / shippo-php-client

Shipping API PHP library (USPS, FedEx, UPS and more)
https://goshippo.com/docs
MIT License
160 stars 90 forks source link

Circular documentation, error messages go where? #72

Open i-make-robots opened 4 years ago

i-make-robots commented 4 years ago

README here says go to https://goshippo.com/docs, which leads to https://goshippo.com/docs/client-libraries/, which says go to https://github.com/goshippo/shippo-php-client.

I'm using shippo with foxycart.io. Some requests are failing and only the end user is seeing an error message. Where are shippo errors ending up? I don't see them in the goshippo website or in my wordpress/foxycart back end.

Thank you!

jfriedr commented 4 years ago

Thanks for creating an issue for this. The php client is a wrapper around our REST API. What do you currently use to log errors? If you have an example or screenshot of the error the user is seeing I'd be happy to look into that further.

We do need to improve the ability to see the errors so if there's a standard you normally follow please let me know.

i-make-robots commented 4 years ago

I ended up writing in a few calls to mail(). Maybe put a $Email in config, if it is not null then send messages there?

On Aug 3, 2020, at 9:04 AM, Joseph Friedrich notifications@github.com wrote:

 Thanks for creating an issue for this. The php client is a wrapper around our REST API. What do you currently use to log errors? If you have an example or screenshot of the error the user is seeing I'd be happy to look into that further.

We do need to improve the ability to see the errors so if there's a standard you normally follow please let me know.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.