shippo-php-client icon indicating copy to clipboard operation
shippo-php-client copied to clipboard

Circular documentation, error messages go where?

Open i-make-robots opened this issue 3 years ago • 2 comments

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!

i-make-robots avatar Jul 23 '20 17:07 i-make-robots

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.

jfriedr avatar Aug 03 '20 16:08 jfriedr

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 [email protected] 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.

i-make-robots avatar Aug 03 '20 16:08 i-make-robots