bitpay / opencart-plugin

Opencart payment plugin for Bitpay.com
MIT License
31 stars 47 forks source link

Added Test Mode, Fixed unauthorized ugly error #17

Closed samuelbohler closed 10 years ago

samuelbohler commented 10 years ago

Test Mode implements the test.bitpay.com/api, and allows the user to switch between it and live mode.

If an incorrect API Key is used, PHP errors trying to log a string when the server response is an array. The array is now converted to a string first.

ionux commented 10 years ago

Very nice fix - thanks!