bitpay / php-bitpay-client

PHP implementation for the BitPay cryptographically secure RESTful API
MIT License
165 stars 149 forks source link

Error at confirm: We were unable to decode your transaction #270

Closed StingNguyen closed 6 years ago

StingNguyen commented 6 years ago

I have get a Error:

https://test.bitpay.com/invoice?id=YMXhsmRwtbLUNzGKQoheFd

9f720971-57a8-4685-8417-708bd6c3d85c

StingNguyen commented 6 years ago

$item = new \Bitpay\Item(); $item->setPrice($params['price']); $item->setDescription($params['description']); $invoice->setRedirectUrl($params['redirect']); $invoice->setItem($item);

$invoice->setCurrency(new \Bitpay\Currency('EUR')); /**

StingNguyen commented 6 years ago

could you help me?

pieterpoorthuis commented 6 years ago

The error was on BitPay's side and has been fixed.

You should now be able to pay test BTC invoices on test.bitpay.com