btcpayserver/commerce_btcpay

undefined offset in Bitpay\Client\Response::createFromRawResponse

renguer0 opened this issue · 0 comments

When checkout finishes, I see this error from Drupal admin error messages:

Notice: Undefined offset: 2 in Bitpay\Client\Response::createFromRawResponse() (line 76 of vendor/bitpay/php-client/src/Bitpay/Client/Response.php).
Bitpay\Client\Response::createFromRawResponse('HTTP/2 200 
server: nginx
date: Mon, 27 Apr 2020 02:29:52 GMT
content-type: application/json; charset=utf-8
content-length: 2061
access-control-allow-origin: *
referrer-policy: same-origin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-frame-options: DENY
strict-transport-security: max-age=31536000

The process completes OK. Maybe I need to modify some values in my nginx configuration.

Thanks for your time. I appreciate all sugestions.