when I create_invoice this exception thrown. why and what's it solution? "Exception: Not authorized for facade: pos" client = BitPay::SDK::Client.new(api_uri:'https://test.bitpay.com', pem: File.read('/home/pikessoft/projects/jinious/lib/bitpay.pem'), insecure: true ) @invoice = client.create_invoice(price: amount, currency: 'USD') Error Message is: *** BitPay::BitPayError Exception: Not authorized for facade: pos
when I create_invoice this exception thrown. why and what's it solution?
"Exception: Not authorized for facade: pos"
client = BitPay::SDK::Client.new(api_uri:'https://test.bitpay.com', pem: File.read('/home/pikessoft/projects/jinious/lib/bitpay.pem'), insecure: true )
@Invoice = client.create_invoice(price: amount, currency: 'USD')
Error Message is:
*** BitPay::BitPayError Exception: Not authorized for facade: pos