Skip to content
This repository was archived by the owner on May 29, 2025. It is now read-only.
This repository was archived by the owner on May 29, 2025. It is now read-only.

Exception: Not authorized for facade: pos #57

@rana-ammir

Description

@rana-ammir

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions