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

Fix namespace and make IPN callback work as it creates a new invoice …#48

Open
ndeet wants to merge 1 commit into
btcpayserver:masterfrom
ndeet:additional-tokens-fixes
Open

Fix namespace and make IPN callback work as it creates a new invoice …#48
ndeet wants to merge 1 commit into
btcpayserver:masterfrom
ndeet:additional-tokens-fixes

Conversation

@ndeet

@ndeet ndeet commented Jan 26, 2021

Copy link
Copy Markdown
Collaborator

…and fails with old Currency class.

Namespace was wrong as I was not aware that this repo is a clone with imports and some minor mods from the other bitpay php client repo.

Also fixed invoice creation that is triggeren on the IPN callback processing. We need to use the CurrencyUnrestricted class there to avoid making the Client fail because of currency symbol restrictions.

@boooyu44

boooyu44 commented Feb 14, 2021

Copy link
Copy Markdown

+1

Having same warning from composer:

Class Bitpay\CurrencyUnrestricted located in ./vendor/btcpayserver/btcpayserver-php-client/src/BTCPayServer/CurrencyUnrestricted.php does not comply with psr-4 autoloading standard. Skipping.

Why is this PR not accepted yet?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants