bitpay / php-bitpay-client

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

Could not load token access #283

Open Klarwasser opened 6 years ago

Klarwasser commented 6 years ago

Hello . i become a response from Bitpay POST https://test.bitpay.com:443/invoices HTTP/1.1\r\nContent-Type: application/json\r\nX-BitPay-Plugin-Info: BitPay PHP-Client/2.2.19\r\nUser-Agent: BitPay PHP-Client/2.2.19 (PHP 7.1.18)\r\nX-Accept-Version: 2.0.0\r\nContent-Length: 850\r\nx-identity: 02e14256d9ae807515531cc5391b8bdc37d9eff309243e8a3d96c5e5bb84e16956\r\nx-signature: 304402200ef8512c3e79ef648c5837ae0bb746522d0d02ca1d0ff232fd081cd5dd09590a0220664e8b6ed6285356b4b913230b6a20e117eaa72d2a04c16880119678864b0177\r\n\r\n{\"price\":4,\"currency\":\"EUR\",\"posData\":null,\"notificationURL\":\"http:\\/\\/jtl4.modulexpert.de\\/includes\\/modules\\/notify.php?ph=680b7b5ff24173a56cc49dc1cee501c548ce3ab\",\"transactionSpeed\":\"medium\",\"fullNotifications\":true,\"extendedNotifications\":false,\"notificationEmail\":null,\"redirectURL\":\"http:\\/\\/jtl4.modulexpert.de\\/includes\\/modules\\/notify.php?ph=680b7b5ff24173a56cc469dc1cee501c548ce3ab\",\"orderID\":\"Ihre Bestellung 10096 beim Onlineshop\",\"itemDesc\":\"Ihre Bestellung 10096\",\"itemCode\":\"10096\",\"physical\":false,\"buyerName\":\"Thorsten Peters\",\"buyerAddress1\":\"Birkenweg 5\",\"buyerAddress2\":\"\",\"buyerCity\":\"Wacken\",\"buyerState\":null,\"buyerZip\":\"25596\",\"buyerCountry\":null,\"buyerEmail\":\"info@modulexpert.de\",\"buyerPhone\":null,\"buyerNotify\":null,\"guid\":\"75495a68-4ad4-e72f-7e00-0c73509ab332\",\"nonce\":1529407879.694088,\"token\":\"JAE3dLZeNgK8EiYfBMCPcG\"} HTTP/1.1 500 Internal Server Error\r\nDate: Tue, 19 Jun 2018 11:31:20 GMT\r\nContent-Type: application/json; charset=utf-8\r\nContent-Length: 39\r\nConnection: keep-alive\r\nSet-Cookie: __cfduid=db0092169675267bdb3209e29faeea4d1529407879; expires=Wed, 19-Jun-19 11:31:19 GMT; path=/; domain=.bitpay.com; HttpOnly\r\nStrict-Transport-Security: max-age=31536000\r\nX-Download-Options: noopen\r\nX-Content-Type-Options: nosniff\r\nAccess-Control-Allow-Origin: *\r\nAccess-Control-Allow-Methods: HEAD,GET,POST,PUT,DELETE,OPTIONS\r\nAccess-Control-Allow-Headers: Content-Type,Authorization,Content-Length,X-Requested-With,Cache-Control,X-Accept-Version,x-signature,x-pubkey,x-identity,cf-connecting-ip\r\nETag: W/\"27-Pu7d/k1xx7WlSLRLDn0FxAE4OqQ\"\r\nset-cookie: connect.sid=s%3A7gTpqOX2SFhFG9XL2Qbh04VsYVeHa81.GzAbwz1OGfxWBb8YlohmXwadXyocR2QggwWYz7LuuVo; Path=/; HttpOnly; Secure\r\nExpect-CT: max-age=604800, report-uri=\"https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\"\r\nServer: cloudflare\r\nCF-RAY: 42d5ab306b0996a6-FRA\r\n\r\n{\"error\":\"Could not load token access\"}