Skip to content
This repository has been archived by the owner on Nov 8, 2021. It is now read-only.

Errors and nothing works. #30

Open
HarmJan1990 opened this issue May 15, 2020 · 1 comment
Open

Errors and nothing works. #30

HarmJan1990 opened this issue May 15, 2020 · 1 comment

Comments

@HarmJan1990
Copy link

Hi,

I installed this via Composer and am following the examples in the tutorial folder.
Step 1, works.
Step 2, works but its not showing up in the Access token tab on the server.
Step 3 Gives warnings about array_key_exists(), says its creating an invoice but it isn't and shows an empty array.

Then i tried CreateInvoice.php but it says Fatal error: Uncaught Error: Class 'BTCPayServer\BTCPayServer' not found.
I tried making an invoice on the server and getting the info from it with getInvoice.php but that says Fatal error: Method BTCPayServer\Client\Request::__toString() must not throw an exception, caught Error: Call to undefined method BTCPayServer\Client\Request::getSchema()

I don't really know whats going on. Any help would be appreciated!

@rudygodoy
Copy link

The error you are facing has been reported already in #26

dcentrica added a commit to dcentrica/btcpayserver-php-client that referenced this issue Aug 18, 2020
- Replaced all occurances of "BitPay" with "BTCPayServer"
- Used library imports instead of FQCN instantiation
- Removed cruft, whitespace etc
- Pulled all required config into single array
- Fixes btcpayserver#30 where access token isn't displayed (Incorrect pairing process)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants