├── .github └── workflows │ └── analyze.yml ├── README.md ├── modules └── gateways │ ├── bitpaycheckout.php │ └── bitpaycheckout │ ├── callback │ └── bitpaycheckout_ipn.php │ ├── composer.json │ ├── composer.lock │ ├── icon-256x256.png │ ├── vendor │ ├── autoload.php │ ├── bin │ │ └── yaml-lint │ ├── bitpay │ │ ├── key-utils │ │ │ ├── .github │ │ │ │ ├── dependabot.yml │ │ │ │ └── workflows │ │ │ │ │ └── test.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── composer.json │ │ │ ├── examples.php │ │ │ ├── phpunit.xml │ │ │ ├── ruleset.xml │ │ │ ├── src │ │ │ │ └── BitPayKeyUtils │ │ │ │ │ ├── KeyHelper │ │ │ │ │ ├── Key.php │ │ │ │ │ ├── KeyInterface.php │ │ │ │ │ ├── PrivateKey.php │ │ │ │ │ ├── PublicKey.php │ │ │ │ │ └── SinKey.php │ │ │ │ │ ├── Math │ │ │ │ │ ├── BcEngine.php │ │ │ │ │ ├── EngineInterface.php │ │ │ │ │ ├── GmpEngine.php │ │ │ │ │ └── Math.php │ │ │ │ │ ├── Storage │ │ │ │ │ ├── EncryptedFilesystemStorage.php │ │ │ │ │ ├── FilesystemStorage.php │ │ │ │ │ └── StorageInterface.php │ │ │ │ │ └── Util │ │ │ │ │ ├── Base58.php │ │ │ │ │ ├── CurveParameterInterface.php │ │ │ │ │ ├── Error.php │ │ │ │ │ ├── Fingerprint.php │ │ │ │ │ ├── Point.php │ │ │ │ │ ├── PointInterface.php │ │ │ │ │ ├── Secp256k1.php │ │ │ │ │ ├── SecureRandom.php │ │ │ │ │ └── Util.php │ │ │ └── test │ │ │ │ └── unit │ │ │ │ └── BitPayKeyUtils │ │ │ │ ├── KeyHelper │ │ │ │ ├── KeyTest.php │ │ │ │ ├── PrivateKeyTest.php │ │ │ │ ├── PublicKeyTest.php │ │ │ │ └── SinKeyTest.php │ │ │ │ ├── Math │ │ │ │ ├── BcEngineTest.php │ │ │ │ ├── GmpEngineTest.php │ │ │ │ └── MathTest.php │ │ │ │ ├── Storage │ │ │ │ ├── EncryptedFilesystemStorageTest.php │ │ │ │ ├── FilesystemStorageTest.php │ │ │ │ ├── test1.txt │ │ │ │ ├── test11.txt │ │ │ │ ├── test3.txt │ │ │ │ └── test4.txt │ │ │ │ └── Util │ │ │ │ ├── Base58Test.php │ │ │ │ ├── ErrorTest.php │ │ │ │ ├── FingerprintTest.php │ │ │ │ ├── PointTest.php │ │ │ │ ├── Secp256k1Test.php │ │ │ │ ├── SecureRandomTest.php │ │ │ │ └── UtilTest.php │ │ └── sdk │ │ │ ├── .github │ │ │ ├── dependabot.yml │ │ │ └── workflows │ │ │ │ ├── documentation.yml │ │ │ │ └── test.yml │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── composer.json │ │ │ ├── composer.lock │ │ │ ├── docs │ │ │ ├── classes │ │ │ │ ├── BitPaySDK-Client-BillClient.html │ │ │ │ ├── BitPaySDK-Client-InvoiceClient.html │ │ │ │ ├── BitPaySDK-Client-LedgerClient.html │ │ │ │ ├── BitPaySDK-Client-PayoutClient.html │ │ │ │ ├── BitPaySDK-Client-PayoutRecipientsClient.html │ │ │ │ ├── BitPaySDK-Client-RateClient.html │ │ │ │ ├── BitPaySDK-Client-RefundClient.html │ │ │ │ ├── BitPaySDK-Client-SettlementClient.html │ │ │ │ ├── BitPaySDK-Client-TokenClient.html │ │ │ │ ├── BitPaySDK-Client-WalletClient.html │ │ │ │ ├── BitPaySDK-Client.html │ │ │ │ ├── BitPaySDK-Env.html │ │ │ │ ├── BitPaySDK-Exceptions-BillCreationException.html │ │ │ │ ├── BitPaySDK-Exceptions-BillDeliveryException.html │ │ │ │ ├── BitPaySDK-Exceptions-BillException.html │ │ │ │ ├── BitPaySDK-Exceptions-BillQueryException.html │ │ │ │ ├── BitPaySDK-Exceptions-BillUpdateException.html │ │ │ │ ├── BitPaySDK-Exceptions-BitPayApiException.html │ │ │ │ ├── BitPaySDK-Exceptions-BitPayException.html │ │ │ │ ├── BitPaySDK-Exceptions-BitPayExceptionProvider.html │ │ │ │ ├── BitPaySDK-Exceptions-BitPayGenericException.html │ │ │ │ ├── BitPaySDK-Exceptions-BitPayValidationException.html │ │ │ │ ├── BitPaySDK-Exceptions-CurrencyException.html │ │ │ │ ├── BitPaySDK-Exceptions-CurrencyQueryException.html │ │ │ │ ├── BitPaySDK-Exceptions-InvoiceCancellationException.html │ │ │ │ ├── BitPaySDK-Exceptions-InvoiceCreationException.html │ │ │ │ ├── BitPaySDK-Exceptions-InvoiceException.html │ │ │ │ ├── BitPaySDK-Exceptions-InvoicePaymentException.html │ │ │ │ ├── BitPaySDK-Exceptions-InvoiceQueryException.html │ │ │ │ ├── BitPaySDK-Exceptions-InvoiceUpdateException.html │ │ │ │ ├── BitPaySDK-Exceptions-LedgerException.html │ │ │ │ ├── BitPaySDK-Exceptions-LedgerQueryException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutBatchCancellationException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutBatchCreationException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutBatchException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutBatchNotificationException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutBatchQueryException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutCancellationException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutCreationException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutNotificationException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutQueryException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutRecipientCancellationException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutRecipientCreationException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutRecipientException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutRecipientNotificationException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutRecipientQueryException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutRecipientUpdateException.html │ │ │ │ ├── BitPaySDK-Exceptions-PayoutUpdateException.html │ │ │ │ ├── BitPaySDK-Exceptions-RateException.html │ │ │ │ ├── BitPaySDK-Exceptions-RateQueryException.html │ │ │ │ ├── BitPaySDK-Exceptions-RefundCancellationException.html │ │ │ │ ├── BitPaySDK-Exceptions-RefundCreationException.html │ │ │ │ ├── BitPaySDK-Exceptions-RefundException.html │ │ │ │ ├── BitPaySDK-Exceptions-RefundNotificationException.html │ │ │ │ ├── BitPaySDK-Exceptions-RefundQueryException.html │ │ │ │ ├── BitPaySDK-Exceptions-RefundUpdateException.html │ │ │ │ ├── BitPaySDK-Exceptions-SettlementException.html │ │ │ │ ├── BitPaySDK-Exceptions-SettlementQueryException.html │ │ │ │ ├── BitPaySDK-Exceptions-WalletException.html │ │ │ │ ├── BitPaySDK-Exceptions-WalletQueryException.html │ │ │ │ ├── BitPaySDK-Functional-AbstractClientTestCase.html │ │ │ │ ├── BitPaySDK-Functional-BillClientTest.html │ │ │ │ ├── BitPaySDK-Functional-Config.html │ │ │ │ ├── BitPaySDK-Functional-InvoiceClientTest.html │ │ │ │ ├── BitPaySDK-Functional-LedgerClientTest.html │ │ │ │ ├── BitPaySDK-Functional-PayoutClientTest.html │ │ │ │ ├── BitPaySDK-Functional-PayoutRecipientsClientTest.html │ │ │ │ ├── BitPaySDK-Functional-RateClientTest.html │ │ │ │ ├── BitPaySDK-Functional-RefundClientTest.html │ │ │ │ ├── BitPaySDK-Functional-SettlementsClientTest.html │ │ │ │ ├── BitPaySDK-Functional-TokenClientTest.html │ │ │ │ ├── BitPaySDK-Functional-WalletClientTest.html │ │ │ │ ├── BitPaySDK-Logger-BitPayLogger.html │ │ │ │ ├── BitPaySDK-Logger-EmptyLogger.html │ │ │ │ ├── BitPaySDK-Logger-LoggerProvider.html │ │ │ │ ├── BitPaySDK-Model-Bill-Bill.html │ │ │ │ ├── BitPaySDK-Model-Bill-BillStatus.html │ │ │ │ ├── BitPaySDK-Model-Bill-Item.html │ │ │ │ ├── BitPaySDK-Model-Currency.html │ │ │ │ ├── BitPaySDK-Model-Facade.html │ │ │ │ ├── BitPaySDK-Model-Invoice-Buyer.html │ │ │ │ ├── BitPaySDK-Model-Invoice-BuyerFields.html │ │ │ │ ├── BitPaySDK-Model-Invoice-BuyerProvidedInfo.html │ │ │ │ ├── BitPaySDK-Model-Invoice-Invoice.html │ │ │ │ ├── BitPaySDK-Model-Invoice-InvoiceRefundAddresses.html │ │ │ │ ├── BitPaySDK-Model-Invoice-InvoiceStatus.html │ │ │ │ ├── BitPaySDK-Model-Invoice-InvoiceTransaction.html │ │ │ │ ├── BitPaySDK-Model-Invoice-InvoiceWebhook.html │ │ │ │ ├── BitPaySDK-Model-Invoice-ItemizedDetails.html │ │ │ │ ├── BitPaySDK-Model-Invoice-MinerFees.html │ │ │ │ ├── BitPaySDK-Model-Invoice-MinerFeesItem.html │ │ │ │ ├── BitPaySDK-Model-Invoice-Refund.html │ │ │ │ ├── BitPaySDK-Model-Invoice-RefundInfo.html │ │ │ │ ├── BitPaySDK-Model-Invoice-RefundStatus.html │ │ │ │ ├── BitPaySDK-Model-Invoice-RefundWebhook.html │ │ │ │ ├── BitPaySDK-Model-Invoice-Shopper.html │ │ │ │ ├── BitPaySDK-Model-Invoice-SupportedTransactionCurrencies.html │ │ │ │ ├── BitPaySDK-Model-Invoice-SupportedTransactionCurrency.html │ │ │ │ ├── BitPaySDK-Model-Invoice-UniversalCodes.html │ │ │ │ ├── BitPaySDK-Model-Ledger-Buyer.html │ │ │ │ ├── BitPaySDK-Model-Ledger-Ledger.html │ │ │ │ ├── BitPaySDK-Model-Ledger-LedgerEntry.html │ │ │ │ ├── BitPaySDK-Model-Payout-Payout.html │ │ │ │ ├── BitPaySDK-Model-Payout-PayoutGroup.html │ │ │ │ ├── BitPaySDK-Model-Payout-PayoutGroupFailed.html │ │ │ │ ├── BitPaySDK-Model-Payout-PayoutRecipient.html │ │ │ │ ├── BitPaySDK-Model-Payout-PayoutRecipients.html │ │ │ │ ├── BitPaySDK-Model-Payout-PayoutStatus.html │ │ │ │ ├── BitPaySDK-Model-Payout-PayoutTransaction.html │ │ │ │ ├── BitPaySDK-Model-Payout-PayoutWebhook.html │ │ │ │ ├── BitPaySDK-Model-Payout-RecipientReferenceMethod.html │ │ │ │ ├── BitPaySDK-Model-Payout-RecipientStatus.html │ │ │ │ ├── BitPaySDK-Model-Payout-RecipientWebhook.html │ │ │ │ ├── BitPaySDK-Model-Rate-Rate.html │ │ │ │ ├── BitPaySDK-Model-Rate-Rates.html │ │ │ │ ├── BitPaySDK-Model-Settlement-InvoiceData.html │ │ │ │ ├── BitPaySDK-Model-Settlement-PayoutInfo.html │ │ │ │ ├── BitPaySDK-Model-Settlement-RefundInfo.html │ │ │ │ ├── BitPaySDK-Model-Settlement-Settlement.html │ │ │ │ ├── BitPaySDK-Model-Settlement-SettlementLedgerEntry.html │ │ │ │ ├── BitPaySDK-Model-Settlement-WithHoldings.html │ │ │ │ ├── BitPaySDK-Model-Wallet-Currencies.html │ │ │ │ ├── BitPaySDK-Model-Wallet-CurrencyQr.html │ │ │ │ ├── BitPaySDK-Model-Wallet-Wallet.html │ │ │ │ ├── BitPaySDK-PosClient.html │ │ │ │ ├── BitPaySDK-Test-ClientTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-BillCreationExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-BillDeliveryExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-BillExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-BillQueryExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-BillUpdateExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-BitPayExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-CurrencyExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-CurrencyQueryExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-InvoiceCancellationExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-InvoiceCreationExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-InvoiceExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-InvoicePaymentExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-InvoiceQueryExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-InvoiceUpdateExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-LedgerExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-LedgerQueryExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutBatchCancellationExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutBatchCreationExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutBatchExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutBatchNotificationExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutBatchQueryExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutCancellationExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutCreationExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutNotificationExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutQueryExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutRecipientCancellationExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutRecipientCreationExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutRecipientExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutRecipientNotificationExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutRecipientQueryExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutRecipientUpdateExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-PayoutUpdateExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-RateExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-RateQueryExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-RefundCancellationExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-RefundCreationExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-RefundExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-RefundNotificationExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-RefundQueryExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-RefundUpdateExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-SettlementExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-SettlementQueryExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-WalletExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Exceptions-WalletQueryExceptionTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Bill-BillTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Bill-ItemTest.html │ │ │ │ ├── BitPaySDK-Test-Model-CurrencyTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Invoice-BuyerProvidedInfoTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Invoice-BuyerTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Invoice-InvoiceTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Invoice-ItemizedDetailsTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Invoice-MinerFeesItemTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Invoice-MinerFeesTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Invoice-RefundInfoTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Invoice-RefundTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Invoice-RefundWebhookTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Invoice-ShopperTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Invoice-SupportedTransactionCurrenciesTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Invoice-SupportedTransactionCurrencyTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Invoice-UniversalCodesTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Ledger-BuyerTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Ledger-LedgerEntryTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Ledger-LedgerTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Payout-PayoutRecipientTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Payout-PayoutRecipientsTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Payout-PayoutTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Rate-RateTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Rate-RatesTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Settlement-InvoiceDataTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Settlement-PayoutInfoTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Settlement-RefundInfoTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Settlement-SettlementLedgerEntryTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Settlement-SettlementTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Settlement-WithHoldingsTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Wallet-CurrenciesTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Wallet-CurrencyQrTest.html │ │ │ │ ├── BitPaySDK-Test-Model-Wallet-WalletTest.html │ │ │ │ ├── BitPaySDK-Test-TokensTest.html │ │ │ │ ├── BitPaySDK-Tokens.html │ │ │ │ ├── BitPaySDK-Util-JsonMapperFactory.html │ │ │ │ └── BitPaySDK-Util-RESTcli-RESTcli.html │ │ │ ├── css │ │ │ │ ├── base.css │ │ │ │ ├── normalize.css │ │ │ │ └── template.css │ │ │ ├── files │ │ │ │ ├── setup-configgenerator.html │ │ │ │ ├── src-bitpaysdk-client-billclient.html │ │ │ │ ├── src-bitpaysdk-client-invoiceclient.html │ │ │ │ ├── src-bitpaysdk-client-ledgerclient.html │ │ │ │ ├── src-bitpaysdk-client-payoutclient.html │ │ │ │ ├── src-bitpaysdk-client-payoutrecipientsclient.html │ │ │ │ ├── src-bitpaysdk-client-rateclient.html │ │ │ │ ├── src-bitpaysdk-client-refundclient.html │ │ │ │ ├── src-bitpaysdk-client-settlementclient.html │ │ │ │ ├── src-bitpaysdk-client-tokenclient.html │ │ │ │ ├── src-bitpaysdk-client-walletclient.html │ │ │ │ ├── src-bitpaysdk-client.html │ │ │ │ ├── src-bitpaysdk-env.html │ │ │ │ ├── src-bitpaysdk-exceptions-billcreationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-billdeliveryexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-billexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-billqueryexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-billupdateexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-bitpayapiexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-bitpayexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-bitpayexceptionprovider.html │ │ │ │ ├── src-bitpaysdk-exceptions-bitpaygenericexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-bitpayvalidationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-currencyexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-currencyqueryexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-invoicecancellationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-invoicecreationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-invoiceexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-invoicepaymentexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-invoicequeryexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-invoiceupdateexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-ledgerexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-ledgerqueryexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutbatchcancellationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutbatchcreationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutbatchexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutbatchnotificationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutbatchqueryexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutcancellationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutcreationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutnotificationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutqueryexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutrecipientcancellationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutrecipientcreationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutrecipientexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutrecipientnotificationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutrecipientqueryexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutrecipientupdateexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-payoutupdateexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-rateexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-ratequeryexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-refundcancellationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-refundcreationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-refundexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-refundnotificationexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-refundqueryexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-refundupdateexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-settlementexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-settlementqueryexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-walletexception.html │ │ │ │ ├── src-bitpaysdk-exceptions-walletqueryexception.html │ │ │ │ ├── src-bitpaysdk-logger-bitpaylogger.html │ │ │ │ ├── src-bitpaysdk-logger-emptylogger.html │ │ │ │ ├── src-bitpaysdk-logger-loggerprovider.html │ │ │ │ ├── src-bitpaysdk-logger-monologloggerexample.html │ │ │ │ ├── src-bitpaysdk-model-bill-bill.html │ │ │ │ ├── src-bitpaysdk-model-bill-billstatus.html │ │ │ │ ├── src-bitpaysdk-model-bill-item.html │ │ │ │ ├── src-bitpaysdk-model-currency.html │ │ │ │ ├── src-bitpaysdk-model-facade.html │ │ │ │ ├── src-bitpaysdk-model-invoice-buyer.html │ │ │ │ ├── src-bitpaysdk-model-invoice-buyerfields.html │ │ │ │ ├── src-bitpaysdk-model-invoice-buyerprovidedinfo.html │ │ │ │ ├── src-bitpaysdk-model-invoice-invoice.html │ │ │ │ ├── src-bitpaysdk-model-invoice-invoicerefundaddresses.html │ │ │ │ ├── src-bitpaysdk-model-invoice-invoicestatus.html │ │ │ │ ├── src-bitpaysdk-model-invoice-invoicetransaction.html │ │ │ │ ├── src-bitpaysdk-model-invoice-invoicewebhook.html │ │ │ │ ├── src-bitpaysdk-model-invoice-itemizeddetails.html │ │ │ │ ├── src-bitpaysdk-model-invoice-minerfees.html │ │ │ │ ├── src-bitpaysdk-model-invoice-minerfeesitem.html │ │ │ │ ├── src-bitpaysdk-model-invoice-refund.html │ │ │ │ ├── src-bitpaysdk-model-invoice-refundinfo.html │ │ │ │ ├── src-bitpaysdk-model-invoice-refundstatus.html │ │ │ │ ├── src-bitpaysdk-model-invoice-refundwebhook.html │ │ │ │ ├── src-bitpaysdk-model-invoice-shopper.html │ │ │ │ ├── src-bitpaysdk-model-invoice-supportedtransactioncurrencies.html │ │ │ │ ├── src-bitpaysdk-model-invoice-supportedtransactioncurrency.html │ │ │ │ ├── src-bitpaysdk-model-invoice-universalcodes.html │ │ │ │ ├── src-bitpaysdk-model-ledger-buyer.html │ │ │ │ ├── src-bitpaysdk-model-ledger-ledger.html │ │ │ │ ├── src-bitpaysdk-model-ledger-ledgerentry.html │ │ │ │ ├── src-bitpaysdk-model-payout-payout.html │ │ │ │ ├── src-bitpaysdk-model-payout-payoutgroup.html │ │ │ │ ├── src-bitpaysdk-model-payout-payoutgroupfailed.html │ │ │ │ ├── src-bitpaysdk-model-payout-payoutrecipient.html │ │ │ │ ├── src-bitpaysdk-model-payout-payoutrecipients.html │ │ │ │ ├── src-bitpaysdk-model-payout-payoutstatus.html │ │ │ │ ├── src-bitpaysdk-model-payout-payouttransaction.html │ │ │ │ ├── src-bitpaysdk-model-payout-payoutwebhook.html │ │ │ │ ├── src-bitpaysdk-model-payout-recipientreferencemethod.html │ │ │ │ ├── src-bitpaysdk-model-payout-recipientstatus.html │ │ │ │ ├── src-bitpaysdk-model-payout-recipientwebhook.html │ │ │ │ ├── src-bitpaysdk-model-rate-rate.html │ │ │ │ ├── src-bitpaysdk-model-rate-rates.html │ │ │ │ ├── src-bitpaysdk-model-settlement-invoicedata.html │ │ │ │ ├── src-bitpaysdk-model-settlement-payoutinfo.html │ │ │ │ ├── src-bitpaysdk-model-settlement-refundinfo.html │ │ │ │ ├── src-bitpaysdk-model-settlement-settlement.html │ │ │ │ ├── src-bitpaysdk-model-settlement-settlementledgerentry.html │ │ │ │ ├── src-bitpaysdk-model-settlement-withholdings.html │ │ │ │ ├── src-bitpaysdk-model-wallet-currencies.html │ │ │ │ ├── src-bitpaysdk-model-wallet-currencyqr.html │ │ │ │ ├── src-bitpaysdk-model-wallet-wallet.html │ │ │ │ ├── src-bitpaysdk-posclient.html │ │ │ │ ├── src-bitpaysdk-tokens.html │ │ │ │ ├── src-bitpaysdk-util-jsonmapperfactory.html │ │ │ │ ├── src-bitpaysdk-util-restcli-restcli.html │ │ │ │ ├── test-functional-bitpaysdk-abstractclienttestcase.html │ │ │ │ ├── test-functional-bitpaysdk-billclienttest.html │ │ │ │ ├── test-functional-bitpaysdk-config.html │ │ │ │ ├── test-functional-bitpaysdk-invoiceclienttest.html │ │ │ │ ├── test-functional-bitpaysdk-ledgerclienttest.html │ │ │ │ ├── test-functional-bitpaysdk-payoutclienttest.html │ │ │ │ ├── test-functional-bitpaysdk-payoutrecipientsclienttest.html │ │ │ │ ├── test-functional-bitpaysdk-rateclienttest.html │ │ │ │ ├── test-functional-bitpaysdk-refundclienttest.html │ │ │ │ ├── test-functional-bitpaysdk-settlementsclienttest.html │ │ │ │ ├── test-functional-bitpaysdk-tokenclienttest.html │ │ │ │ ├── test-functional-bitpaysdk-walletclienttest.html │ │ │ │ ├── test-unit-bitpaysdk-clienttest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-billcreationexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-billdeliveryexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-billexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-billqueryexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-billupdateexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-bitpayexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-currencyexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-currencyqueryexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-invoicecancellationexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-invoicecreationexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-invoiceexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-invoicepaymentexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-invoicequeryexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-invoiceupdateexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-ledgerexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-ledgerqueryexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutbatchcancellationexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutbatchcreationexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutbatchexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutbatchnotificationexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutbatchqueryexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutcancellationexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutcreationexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutnotificationexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutqueryexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutrecipientcancellationexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutrecipientcreationexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutrecipientexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutrecipientnotificationexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutrecipientqueryexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutrecipientupdateexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-payoutupdateexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-rateexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-ratequeryexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-refundcancellationexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-refundcreationexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-refundexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-refundnotificationexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-refundqueryexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-refundupdateexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-settlementexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-settlementqueryexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-walletexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-exceptions-walletqueryexceptiontest.html │ │ │ │ ├── test-unit-bitpaysdk-model-bill-billtest.html │ │ │ │ ├── test-unit-bitpaysdk-model-bill-itemtest.html │ │ │ │ ├── test-unit-bitpaysdk-model-currencytest.html │ │ │ │ ├── test-unit-bitpaysdk-model-invoice-buyerprovidedinfotest.html │ │ │ │ ├── test-unit-bitpaysdk-model-invoice-buyertest.html │ │ │ │ ├── test-unit-bitpaysdk-model-invoice-invoicetest.html │ │ │ │ ├── test-unit-bitpaysdk-model-invoice-itemizeddetailstest.html │ │ │ │ ├── test-unit-bitpaysdk-model-invoice-minerfeesitemtest.html │ │ │ │ ├── test-unit-bitpaysdk-model-invoice-minerfeestest.html │ │ │ │ ├── test-unit-bitpaysdk-model-invoice-refundinfotest.html │ │ │ │ ├── test-unit-bitpaysdk-model-invoice-refundtest.html │ │ │ │ ├── test-unit-bitpaysdk-model-invoice-refundwebhooktest.html │ │ │ │ ├── test-unit-bitpaysdk-model-invoice-shoppertest.html │ │ │ │ ├── test-unit-bitpaysdk-model-invoice-supportedtransactioncurrenciestest.html │ │ │ │ ├── test-unit-bitpaysdk-model-invoice-supportedtransactioncurrencytest.html │ │ │ │ ├── test-unit-bitpaysdk-model-invoice-universalcodestest.html │ │ │ │ ├── test-unit-bitpaysdk-model-ledger-buyertest.html │ │ │ │ ├── test-unit-bitpaysdk-model-ledger-ledgerentrytest.html │ │ │ │ ├── test-unit-bitpaysdk-model-ledger-ledgertest.html │ │ │ │ ├── test-unit-bitpaysdk-model-payout-payoutrecipientstest.html │ │ │ │ ├── test-unit-bitpaysdk-model-payout-payoutrecipienttest.html │ │ │ │ ├── test-unit-bitpaysdk-model-payout-payouttest.html │ │ │ │ ├── test-unit-bitpaysdk-model-rate-ratestest.html │ │ │ │ ├── test-unit-bitpaysdk-model-rate-ratetest.html │ │ │ │ ├── test-unit-bitpaysdk-model-settlement-invoicedatatest.html │ │ │ │ ├── test-unit-bitpaysdk-model-settlement-payoutinfotest.html │ │ │ │ ├── test-unit-bitpaysdk-model-settlement-refundinfotest.html │ │ │ │ ├── test-unit-bitpaysdk-model-settlement-settlementledgerentrytest.html │ │ │ │ ├── test-unit-bitpaysdk-model-settlement-settlementtest.html │ │ │ │ ├── test-unit-bitpaysdk-model-settlement-withholdingstest.html │ │ │ │ ├── test-unit-bitpaysdk-model-wallet-currenciestest.html │ │ │ │ ├── test-unit-bitpaysdk-model-wallet-currencyqrtest.html │ │ │ │ ├── test-unit-bitpaysdk-model-wallet-wallettest.html │ │ │ │ └── test-unit-bitpaysdk-tokenstest.html │ │ │ ├── graphs │ │ │ │ └── classes.html │ │ │ ├── index.html │ │ │ ├── indices │ │ │ │ └── files.html │ │ │ ├── js │ │ │ │ ├── search.js │ │ │ │ ├── searchIndex.js │ │ │ │ └── template.js │ │ │ ├── namespaces │ │ │ │ ├── bitpaysdk-client.html │ │ │ │ ├── bitpaysdk-exceptions.html │ │ │ │ ├── bitpaysdk-functional.html │ │ │ │ ├── bitpaysdk-logger.html │ │ │ │ ├── bitpaysdk-model-bill.html │ │ │ │ ├── bitpaysdk-model-invoice.html │ │ │ │ ├── bitpaysdk-model-ledger.html │ │ │ │ ├── bitpaysdk-model-payout.html │ │ │ │ ├── bitpaysdk-model-rate.html │ │ │ │ ├── bitpaysdk-model-settlement.html │ │ │ │ ├── bitpaysdk-model-wallet.html │ │ │ │ ├── bitpaysdk-model.html │ │ │ │ ├── bitpaysdk-test-exceptions.html │ │ │ │ ├── bitpaysdk-test-model-bill.html │ │ │ │ ├── bitpaysdk-test-model-invoice.html │ │ │ │ ├── bitpaysdk-test-model-ledger.html │ │ │ │ ├── bitpaysdk-test-model-payout.html │ │ │ │ ├── bitpaysdk-test-model-rate.html │ │ │ │ ├── bitpaysdk-test-model-settlement.html │ │ │ │ ├── bitpaysdk-test-model-wallet.html │ │ │ │ ├── bitpaysdk-test-model.html │ │ │ │ ├── bitpaysdk-test.html │ │ │ │ ├── bitpaysdk-util-restcli.html │ │ │ │ ├── bitpaysdk-util.html │ │ │ │ ├── bitpaysdk.html │ │ │ │ └── default.html │ │ │ ├── packages │ │ │ │ ├── Application.html │ │ │ │ ├── BitPaySDK-Client.html │ │ │ │ ├── BitPaySDK-Exceptions.html │ │ │ │ ├── BitPaySDK-Model-Bill.html │ │ │ │ ├── BitPaySDK-Model-Currencies.html │ │ │ │ ├── BitPaySDK-Model-Invoice.html │ │ │ │ ├── BitPaySDK-Model-Ledger.html │ │ │ │ ├── BitPaySDK-Model-Payout.html │ │ │ │ ├── BitPaySDK-Model-Rate.html │ │ │ │ ├── BitPaySDK-Model-Settlement.html │ │ │ │ ├── BitPaySDK-Model.html │ │ │ │ ├── BitPaySDK-Util-RESTcli.html │ │ │ │ ├── BitPaySDK-Util.html │ │ │ │ ├── BitPaySDK.html │ │ │ │ ├── Bitpay.html │ │ │ │ ├── Bitpaylight.html │ │ │ │ └── default.html │ │ │ └── reports │ │ │ │ ├── deprecated.html │ │ │ │ ├── errors.html │ │ │ │ └── markers.html │ │ │ ├── examples │ │ │ ├── ClientProvider.php │ │ │ ├── General │ │ │ │ └── UseLogger.php │ │ │ ├── Merchant │ │ │ │ ├── BillRequests.php │ │ │ │ ├── InvoiceRequests.php │ │ │ │ ├── LedgerRequests.php │ │ │ │ ├── RefundRequests.php │ │ │ │ └── SettlementRequests.php │ │ │ ├── Payout │ │ │ │ ├── PayoutRequests.php │ │ │ │ └── RecipientRequests.php │ │ │ ├── Pos │ │ │ │ ├── BillRequests.php │ │ │ │ └── InvoiceRequests.php │ │ │ └── Public │ │ │ │ ├── RateRequests.php │ │ │ │ └── WalletRequests.php │ │ │ ├── phpdoc.dist.xml │ │ │ ├── phpunit.xml │ │ │ ├── ruleset.xml │ │ │ ├── setup │ │ │ ├── BitPay.config-example.json │ │ │ ├── BitPay.config-example.yml │ │ │ └── ConfigGenerator.php │ │ │ ├── src │ │ │ └── BitPaySDK │ │ │ │ ├── Client.php │ │ │ │ ├── Client │ │ │ │ ├── BillClient.php │ │ │ │ ├── InvoiceClient.php │ │ │ │ ├── LedgerClient.php │ │ │ │ ├── PayoutClient.php │ │ │ │ ├── PayoutRecipientsClient.php │ │ │ │ ├── RateClient.php │ │ │ │ ├── RefundClient.php │ │ │ │ ├── SettlementClient.php │ │ │ │ ├── TokenClient.php │ │ │ │ └── WalletClient.php │ │ │ │ ├── Env.php │ │ │ │ ├── Exceptions │ │ │ │ ├── BitPayApiException.php │ │ │ │ ├── BitPayException.php │ │ │ │ ├── BitPayExceptionProvider.php │ │ │ │ ├── BitPayGenericException.php │ │ │ │ └── BitPayValidationException.php │ │ │ │ ├── Logger │ │ │ │ ├── BitPayLogger.php │ │ │ │ ├── EmptyLogger.php │ │ │ │ ├── LoggerProvider.php │ │ │ │ └── MonologLoggerExample.php │ │ │ │ ├── Model │ │ │ │ ├── Bill │ │ │ │ │ ├── Bill.php │ │ │ │ │ ├── BillStatus.php │ │ │ │ │ └── Item.php │ │ │ │ ├── Currency.php │ │ │ │ ├── Facade.php │ │ │ │ ├── Invoice │ │ │ │ │ ├── Buyer.php │ │ │ │ │ ├── BuyerFields.php │ │ │ │ │ ├── BuyerProvidedInfo.php │ │ │ │ │ ├── Invoice.php │ │ │ │ │ ├── InvoiceRefundAddresses.php │ │ │ │ │ ├── InvoiceStatus.php │ │ │ │ │ ├── InvoiceTransaction.php │ │ │ │ │ ├── InvoiceWebhook.php │ │ │ │ │ ├── ItemizedDetails.php │ │ │ │ │ ├── MinerFees.php │ │ │ │ │ ├── MinerFeesItem.php │ │ │ │ │ ├── Refund.php │ │ │ │ │ ├── RefundInfo.php │ │ │ │ │ ├── RefundStatus.php │ │ │ │ │ ├── RefundWebhook.php │ │ │ │ │ ├── Shopper.php │ │ │ │ │ ├── SupportedTransactionCurrencies.php │ │ │ │ │ ├── SupportedTransactionCurrency.php │ │ │ │ │ └── UniversalCodes.php │ │ │ │ ├── Ledger │ │ │ │ │ ├── Buyer.php │ │ │ │ │ ├── Ledger.php │ │ │ │ │ └── LedgerEntry.php │ │ │ │ ├── Payout │ │ │ │ │ ├── Payout.php │ │ │ │ │ ├── PayoutGroup.php │ │ │ │ │ ├── PayoutGroupFailed.php │ │ │ │ │ ├── PayoutRecipient.php │ │ │ │ │ ├── PayoutRecipients.php │ │ │ │ │ ├── PayoutStatus.php │ │ │ │ │ ├── PayoutTransaction.php │ │ │ │ │ ├── PayoutWebhook.php │ │ │ │ │ ├── RecipientReferenceMethod.php │ │ │ │ │ ├── RecipientStatus.php │ │ │ │ │ └── RecipientWebhook.php │ │ │ │ ├── Rate │ │ │ │ │ ├── Rate.php │ │ │ │ │ └── Rates.php │ │ │ │ ├── Settlement │ │ │ │ │ ├── InvoiceData.php │ │ │ │ │ ├── PayoutInfo.php │ │ │ │ │ ├── RefundInfo.php │ │ │ │ │ ├── Settlement.php │ │ │ │ │ ├── SettlementLedgerEntry.php │ │ │ │ │ └── WithHoldings.php │ │ │ │ └── Wallet │ │ │ │ │ ├── Currencies.php │ │ │ │ │ ├── CurrencyQr.php │ │ │ │ │ └── Wallet.php │ │ │ │ ├── PosClient.php │ │ │ │ ├── Tokens.php │ │ │ │ └── Util │ │ │ │ ├── JsonMapperFactory.php │ │ │ │ └── RESTcli │ │ │ │ └── RESTcli.php │ │ │ └── test │ │ │ ├── functional │ │ │ └── BitPaySDK │ │ │ │ ├── AbstractClientTestCase.php │ │ │ │ ├── BillClientTest.php │ │ │ │ ├── Config.php │ │ │ │ ├── InvoiceClientTest.php │ │ │ │ ├── LedgerClientTest.php │ │ │ │ ├── PayoutClientTest.php │ │ │ │ ├── PayoutRecipientsClientTest.php │ │ │ │ ├── RateClientTest.php │ │ │ │ ├── RefundClientTest.php │ │ │ │ ├── SettlementsClientTest.php │ │ │ │ ├── TokenClientTest.php │ │ │ │ └── WalletClientTest.php │ │ │ └── unit │ │ │ ├── BitPaySDK │ │ │ ├── BitPay.config-unit.json │ │ │ ├── BitPay.config-unit.yml │ │ │ ├── ClientTest.php │ │ │ ├── Exceptions │ │ │ │ └── BitPayApiExceptionTest.php │ │ │ ├── Model │ │ │ │ ├── Bill │ │ │ │ │ ├── BillTest.php │ │ │ │ │ └── ItemTest.php │ │ │ │ ├── CurrencyTest.php │ │ │ │ ├── Invoice │ │ │ │ │ ├── BuyerFieldsTest.php │ │ │ │ │ ├── BuyerProvidedInfoTest.php │ │ │ │ │ ├── BuyerTest.php │ │ │ │ │ ├── InvoiceTest.php │ │ │ │ │ ├── InvoiceWebhookTest.php │ │ │ │ │ ├── ItemizedDetailsTest.php │ │ │ │ │ ├── MinerFeesItemTest.php │ │ │ │ │ ├── MinerFeesTest.php │ │ │ │ │ ├── RefundInfoTest.php │ │ │ │ │ ├── RefundTest.php │ │ │ │ │ ├── RefundWebhookTest.php │ │ │ │ │ ├── ShopperTest.php │ │ │ │ │ ├── SupportedTransactionCurrenciesTest.php │ │ │ │ │ ├── SupportedTransactionCurrencyTest.php │ │ │ │ │ └── UniversalCodesTest.php │ │ │ │ ├── Ledger │ │ │ │ │ ├── BuyerTest.php │ │ │ │ │ ├── LedgerEntryTest.php │ │ │ │ │ └── LedgerTest.php │ │ │ │ ├── Payout │ │ │ │ │ ├── PayoutRecipientTest.php │ │ │ │ │ ├── PayoutRecipientsTest.php │ │ │ │ │ ├── PayoutTest.php │ │ │ │ │ ├── PayoutWebhookTest.php │ │ │ │ │ └── RecipientWebhookTest.php │ │ │ │ ├── Rate │ │ │ │ │ ├── RateTest.php │ │ │ │ │ └── RatesTest.php │ │ │ │ ├── Settlement │ │ │ │ │ ├── InvoiceDataTest.php │ │ │ │ │ ├── PayoutInfoTest.php │ │ │ │ │ ├── RefundInfoTest.php │ │ │ │ │ ├── SettlementLedgerEntryTest.php │ │ │ │ │ ├── SettlementTest.php │ │ │ │ │ └── WithHoldingsTest.php │ │ │ │ └── Wallet │ │ │ │ │ ├── CurrenciesTest.php │ │ │ │ │ ├── CurrencyQrTest.php │ │ │ │ │ └── WalletTest.php │ │ │ ├── PrivateKeyNameUnit.key │ │ │ ├── TokensTest.php │ │ │ ├── bitpay_private_test.key │ │ │ ├── json │ │ │ │ ├── cancelPayoutGroupResponse.json │ │ │ │ ├── createPayoutGroupRequest.json │ │ │ │ ├── createPayoutGroupResponse.json │ │ │ │ ├── createRefundResponse.json │ │ │ │ ├── getInvoice.json │ │ │ │ ├── getPayoutBatchResponse.json │ │ │ │ └── getRefund.json │ │ │ └── jsonResponse │ │ │ │ ├── badResponse.json │ │ │ │ ├── cancelPayoutGroupResponse.json │ │ │ │ ├── createBillResponse.json │ │ │ │ ├── createInvoiceResponse.json │ │ │ │ ├── createPayoutGroupRequest.json │ │ │ │ ├── createPayoutGroupResponse.json │ │ │ │ ├── createRefundResponse.json │ │ │ │ ├── false.json │ │ │ │ ├── getBill.json │ │ │ │ ├── getBills.json │ │ │ │ ├── getCurrencyPairRate.json │ │ │ │ ├── getCurrencyRates.json │ │ │ │ ├── getInvoice.json │ │ │ │ ├── getInvoices.json │ │ │ │ ├── getLedgerEntriesResponse.json │ │ │ │ ├── getLedgersResponse.json │ │ │ │ ├── getPayout.json │ │ │ │ ├── getPayoutRecipient.json │ │ │ │ ├── getPayoutRecipients.json │ │ │ │ ├── getPayouts.json │ │ │ │ ├── getRates.json │ │ │ │ ├── getSettlementReconciliationReportResponse.json │ │ │ │ ├── getSettlementResponse.json │ │ │ │ ├── getSettlementsResponse.json │ │ │ │ ├── getSupportedWalletsResponse.json │ │ │ │ ├── getTokensResponse.json │ │ │ │ ├── payInvoiceResponse.json │ │ │ │ ├── submitPayoutRecipientsResponse.json │ │ │ │ ├── success.json │ │ │ │ ├── updateBillRequest.json │ │ │ │ ├── updatePayoutRecipientResponse.json │ │ │ │ └── updateSubscription.json │ │ │ └── Logger │ │ │ └── LoggerTest.php │ ├── composer │ │ ├── ClassLoader.php │ │ ├── InstalledVersions.php │ │ ├── LICENSE │ │ ├── autoload_classmap.php │ │ ├── autoload_files.php │ │ ├── autoload_namespaces.php │ │ ├── autoload_psr4.php │ │ ├── autoload_real.php │ │ ├── autoload_static.php │ │ ├── installed.json │ │ ├── installed.php │ │ └── platform_check.php │ ├── guzzlehttp │ │ ├── guzzle │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── UPGRADING.md │ │ │ ├── composer.json │ │ │ └── src │ │ │ │ ├── BodySummarizer.php │ │ │ │ ├── BodySummarizerInterface.php │ │ │ │ ├── Client.php │ │ │ │ ├── ClientInterface.php │ │ │ │ ├── ClientTrait.php │ │ │ │ ├── Cookie │ │ │ │ ├── CookieJar.php │ │ │ │ ├── CookieJarInterface.php │ │ │ │ ├── FileCookieJar.php │ │ │ │ ├── SessionCookieJar.php │ │ │ │ └── SetCookie.php │ │ │ │ ├── Exception │ │ │ │ ├── BadResponseException.php │ │ │ │ ├── ClientException.php │ │ │ │ ├── ConnectException.php │ │ │ │ ├── GuzzleException.php │ │ │ │ ├── InvalidArgumentException.php │ │ │ │ ├── RequestException.php │ │ │ │ ├── ServerException.php │ │ │ │ ├── TooManyRedirectsException.php │ │ │ │ └── TransferException.php │ │ │ │ ├── Handler │ │ │ │ ├── CurlFactory.php │ │ │ │ ├── CurlFactoryInterface.php │ │ │ │ ├── CurlHandler.php │ │ │ │ ├── CurlMultiHandler.php │ │ │ │ ├── EasyHandle.php │ │ │ │ ├── HeaderProcessor.php │ │ │ │ ├── MockHandler.php │ │ │ │ ├── Proxy.php │ │ │ │ └── StreamHandler.php │ │ │ │ ├── HandlerStack.php │ │ │ │ ├── MessageFormatter.php │ │ │ │ ├── MessageFormatterInterface.php │ │ │ │ ├── Middleware.php │ │ │ │ ├── Pool.php │ │ │ │ ├── PrepareBodyMiddleware.php │ │ │ │ ├── RedirectMiddleware.php │ │ │ │ ├── RequestOptions.php │ │ │ │ ├── RetryMiddleware.php │ │ │ │ ├── TransferStats.php │ │ │ │ ├── Utils.php │ │ │ │ ├── functions.php │ │ │ │ └── functions_include.php │ │ ├── promises │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── composer.json │ │ │ └── src │ │ │ │ ├── AggregateException.php │ │ │ │ ├── CancellationException.php │ │ │ │ ├── Coroutine.php │ │ │ │ ├── Create.php │ │ │ │ ├── Each.php │ │ │ │ ├── EachPromise.php │ │ │ │ ├── FulfilledPromise.php │ │ │ │ ├── Is.php │ │ │ │ ├── Promise.php │ │ │ │ ├── PromiseInterface.php │ │ │ │ ├── PromisorInterface.php │ │ │ │ ├── RejectedPromise.php │ │ │ │ ├── RejectionException.php │ │ │ │ ├── TaskQueue.php │ │ │ │ ├── TaskQueueInterface.php │ │ │ │ └── Utils.php │ │ └── psr7 │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── composer.json │ │ │ └── src │ │ │ ├── AppendStream.php │ │ │ ├── BufferStream.php │ │ │ ├── CachingStream.php │ │ │ ├── DroppingStream.php │ │ │ ├── Exception │ │ │ └── MalformedUriException.php │ │ │ ├── FnStream.php │ │ │ ├── Header.php │ │ │ ├── HttpFactory.php │ │ │ ├── InflateStream.php │ │ │ ├── LazyOpenStream.php │ │ │ ├── LimitStream.php │ │ │ ├── Message.php │ │ │ ├── MessageTrait.php │ │ │ ├── MimeType.php │ │ │ ├── MultipartStream.php │ │ │ ├── NoSeekStream.php │ │ │ ├── PumpStream.php │ │ │ ├── Query.php │ │ │ ├── Request.php │ │ │ ├── Response.php │ │ │ ├── Rfc7230.php │ │ │ ├── ServerRequest.php │ │ │ ├── Stream.php │ │ │ ├── StreamDecoratorTrait.php │ │ │ ├── StreamWrapper.php │ │ │ ├── UploadedFile.php │ │ │ ├── Uri.php │ │ │ ├── UriComparator.php │ │ │ ├── UriNormalizer.php │ │ │ ├── UriResolver.php │ │ │ └── Utils.php │ ├── netresearch │ │ └── jsonmapper │ │ │ ├── LICENSE │ │ │ ├── composer.json │ │ │ ├── phpunit.xml │ │ │ └── src │ │ │ ├── JsonMapper.php │ │ │ └── JsonMapper │ │ │ └── Exception.php │ ├── psr │ │ ├── container │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── composer.json │ │ │ └── src │ │ │ │ ├── ContainerExceptionInterface.php │ │ │ │ ├── ContainerInterface.php │ │ │ │ └── NotFoundExceptionInterface.php │ │ ├── http-client │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── composer.json │ │ │ └── src │ │ │ │ ├── ClientExceptionInterface.php │ │ │ │ ├── ClientInterface.php │ │ │ │ ├── NetworkExceptionInterface.php │ │ │ │ └── RequestExceptionInterface.php │ │ ├── http-factory │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── composer.json │ │ │ └── src │ │ │ │ ├── RequestFactoryInterface.php │ │ │ │ ├── ResponseFactoryInterface.php │ │ │ │ ├── ServerRequestFactoryInterface.php │ │ │ │ ├── StreamFactoryInterface.php │ │ │ │ ├── UploadedFileFactoryInterface.php │ │ │ │ └── UriFactoryInterface.php │ │ └── http-message │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── composer.json │ │ │ ├── docs │ │ │ ├── PSR7-Interfaces.md │ │ │ └── PSR7-Usage.md │ │ │ └── src │ │ │ ├── MessageInterface.php │ │ │ ├── RequestInterface.php │ │ │ ├── ResponseInterface.php │ │ │ ├── ServerRequestInterface.php │ │ │ ├── StreamInterface.php │ │ │ ├── UploadedFileInterface.php │ │ │ └── UriInterface.php │ ├── ralouphie │ │ └── getallheaders │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── composer.json │ │ │ └── src │ │ │ └── getallheaders.php │ └── symfony │ │ ├── console │ │ ├── Application.php │ │ ├── Attribute │ │ │ └── AsCommand.php │ │ ├── CHANGELOG.md │ │ ├── CI │ │ │ └── GithubActionReporter.php │ │ ├── Color.php │ │ ├── Command │ │ │ ├── Command.php │ │ │ ├── CompleteCommand.php │ │ │ ├── DumpCompletionCommand.php │ │ │ ├── HelpCommand.php │ │ │ ├── LazyCommand.php │ │ │ ├── ListCommand.php │ │ │ ├── LockableTrait.php │ │ │ ├── SignalableCommandInterface.php │ │ │ └── TraceableCommand.php │ │ ├── CommandLoader │ │ │ ├── CommandLoaderInterface.php │ │ │ ├── ContainerCommandLoader.php │ │ │ └── FactoryCommandLoader.php │ │ ├── Completion │ │ │ ├── CompletionInput.php │ │ │ ├── CompletionSuggestions.php │ │ │ ├── Output │ │ │ │ ├── BashCompletionOutput.php │ │ │ │ ├── CompletionOutputInterface.php │ │ │ │ ├── FishCompletionOutput.php │ │ │ │ └── ZshCompletionOutput.php │ │ │ └── Suggestion.php │ │ ├── ConsoleEvents.php │ │ ├── Cursor.php │ │ ├── DataCollector │ │ │ └── CommandDataCollector.php │ │ ├── Debug │ │ │ └── CliRequest.php │ │ ├── DependencyInjection │ │ │ └── AddConsoleCommandPass.php │ │ ├── Descriptor │ │ │ ├── ApplicationDescription.php │ │ │ ├── Descriptor.php │ │ │ ├── DescriptorInterface.php │ │ │ ├── JsonDescriptor.php │ │ │ ├── MarkdownDescriptor.php │ │ │ ├── ReStructuredTextDescriptor.php │ │ │ ├── TextDescriptor.php │ │ │ └── XmlDescriptor.php │ │ ├── Event │ │ │ ├── ConsoleCommandEvent.php │ │ │ ├── ConsoleErrorEvent.php │ │ │ ├── ConsoleEvent.php │ │ │ ├── ConsoleSignalEvent.php │ │ │ └── ConsoleTerminateEvent.php │ │ ├── EventListener │ │ │ └── ErrorListener.php │ │ ├── Exception │ │ │ ├── CommandNotFoundException.php │ │ │ ├── ExceptionInterface.php │ │ │ ├── InvalidArgumentException.php │ │ │ ├── InvalidOptionException.php │ │ │ ├── LogicException.php │ │ │ ├── MissingInputException.php │ │ │ ├── NamespaceNotFoundException.php │ │ │ ├── RunCommandFailedException.php │ │ │ └── RuntimeException.php │ │ ├── Formatter │ │ │ ├── NullOutputFormatter.php │ │ │ ├── NullOutputFormatterStyle.php │ │ │ ├── OutputFormatter.php │ │ │ ├── OutputFormatterInterface.php │ │ │ ├── OutputFormatterStyle.php │ │ │ ├── OutputFormatterStyleInterface.php │ │ │ ├── OutputFormatterStyleStack.php │ │ │ └── WrappableOutputFormatterInterface.php │ │ ├── Helper │ │ │ ├── DebugFormatterHelper.php │ │ │ ├── DescriptorHelper.php │ │ │ ├── Dumper.php │ │ │ ├── FormatterHelper.php │ │ │ ├── Helper.php │ │ │ ├── HelperInterface.php │ │ │ ├── HelperSet.php │ │ │ ├── InputAwareHelper.php │ │ │ ├── OutputWrapper.php │ │ │ ├── ProcessHelper.php │ │ │ ├── ProgressBar.php │ │ │ ├── ProgressIndicator.php │ │ │ ├── QuestionHelper.php │ │ │ ├── SymfonyQuestionHelper.php │ │ │ ├── Table.php │ │ │ ├── TableCell.php │ │ │ ├── TableCellStyle.php │ │ │ ├── TableRows.php │ │ │ ├── TableSeparator.php │ │ │ └── TableStyle.php │ │ ├── Input │ │ │ ├── ArgvInput.php │ │ │ ├── ArrayInput.php │ │ │ ├── Input.php │ │ │ ├── InputArgument.php │ │ │ ├── InputAwareInterface.php │ │ │ ├── InputDefinition.php │ │ │ ├── InputInterface.php │ │ │ ├── InputOption.php │ │ │ ├── StreamableInputInterface.php │ │ │ └── StringInput.php │ │ ├── LICENSE │ │ ├── Logger │ │ │ └── ConsoleLogger.php │ │ ├── Messenger │ │ │ ├── RunCommandContext.php │ │ │ ├── RunCommandMessage.php │ │ │ └── RunCommandMessageHandler.php │ │ ├── Output │ │ │ ├── AnsiColorMode.php │ │ │ ├── BufferedOutput.php │ │ │ ├── ConsoleOutput.php │ │ │ ├── ConsoleOutputInterface.php │ │ │ ├── ConsoleSectionOutput.php │ │ │ ├── NullOutput.php │ │ │ ├── Output.php │ │ │ ├── OutputInterface.php │ │ │ ├── StreamOutput.php │ │ │ └── TrimmedBufferOutput.php │ │ ├── Question │ │ │ ├── ChoiceQuestion.php │ │ │ ├── ConfirmationQuestion.php │ │ │ └── Question.php │ │ ├── README.md │ │ ├── Resources │ │ │ ├── bin │ │ │ │ └── hiddeninput.exe │ │ │ ├── completion.bash │ │ │ ├── completion.fish │ │ │ └── completion.zsh │ │ ├── SignalRegistry │ │ │ ├── SignalMap.php │ │ │ └── SignalRegistry.php │ │ ├── SingleCommandApplication.php │ │ ├── Style │ │ │ ├── OutputStyle.php │ │ │ ├── StyleInterface.php │ │ │ └── SymfonyStyle.php │ │ ├── Terminal.php │ │ ├── Tester │ │ │ ├── ApplicationTester.php │ │ │ ├── CommandCompletionTester.php │ │ │ ├── CommandTester.php │ │ │ ├── Constraint │ │ │ │ └── CommandIsSuccessful.php │ │ │ └── TesterTrait.php │ │ └── composer.json │ │ ├── deprecation-contracts │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── composer.json │ │ └── function.php │ │ ├── polyfill-ctype │ │ ├── Ctype.php │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bootstrap.php │ │ ├── bootstrap80.php │ │ └── composer.json │ │ ├── polyfill-intl-grapheme │ │ ├── Grapheme.php │ │ ├── LICENSE │ │ ├── README.md │ │ ├── bootstrap.php │ │ ├── bootstrap80.php │ │ └── composer.json │ │ ├── polyfill-intl-normalizer │ │ ├── LICENSE │ │ ├── Normalizer.php │ │ ├── README.md │ │ ├── Resources │ │ │ ├── stubs │ │ │ │ └── Normalizer.php │ │ │ └── unidata │ │ │ │ ├── canonicalComposition.php │ │ │ │ ├── canonicalDecomposition.php │ │ │ │ ├── combiningClass.php │ │ │ │ └── compatibilityDecomposition.php │ │ ├── bootstrap.php │ │ ├── bootstrap80.php │ │ └── composer.json │ │ ├── polyfill-mbstring │ │ ├── LICENSE │ │ ├── Mbstring.php │ │ ├── README.md │ │ ├── Resources │ │ │ └── unidata │ │ │ │ ├── caseFolding.php │ │ │ │ ├── lowerCase.php │ │ │ │ ├── titleCaseRegexp.php │ │ │ │ └── upperCase.php │ │ ├── bootstrap.php │ │ ├── bootstrap80.php │ │ └── composer.json │ │ ├── service-contracts │ │ ├── Attribute │ │ │ ├── Required.php │ │ │ └── SubscribedService.php │ │ ├── CHANGELOG.md │ │ ├── LICENSE │ │ ├── README.md │ │ ├── ResetInterface.php │ │ ├── ServiceCollectionInterface.php │ │ ├── ServiceLocatorTrait.php │ │ ├── ServiceMethodsSubscriberTrait.php │ │ ├── ServiceProviderInterface.php │ │ ├── ServiceSubscriberInterface.php │ │ ├── ServiceSubscriberTrait.php │ │ ├── Test │ │ │ ├── ServiceLocatorTest.php │ │ │ └── ServiceLocatorTestCase.php │ │ └── composer.json │ │ ├── string │ │ ├── AbstractString.php │ │ ├── AbstractUnicodeString.php │ │ ├── ByteString.php │ │ ├── CHANGELOG.md │ │ ├── CodePointString.php │ │ ├── Exception │ │ │ ├── ExceptionInterface.php │ │ │ ├── InvalidArgumentException.php │ │ │ └── RuntimeException.php │ │ ├── Inflector │ │ │ ├── EnglishInflector.php │ │ │ ├── FrenchInflector.php │ │ │ └── InflectorInterface.php │ │ ├── LICENSE │ │ ├── LazyString.php │ │ ├── README.md │ │ ├── Resources │ │ │ ├── data │ │ │ │ ├── wcswidth_table_wide.php │ │ │ │ └── wcswidth_table_zero.php │ │ │ └── functions.php │ │ ├── Slugger │ │ │ ├── AsciiSlugger.php │ │ │ └── SluggerInterface.php │ │ ├── UnicodeString.php │ │ └── composer.json │ │ └── yaml │ │ ├── CHANGELOG.md │ │ ├── Command │ │ └── LintCommand.php │ │ ├── Dumper.php │ │ ├── Escaper.php │ │ ├── Exception │ │ ├── DumpException.php │ │ ├── ExceptionInterface.php │ │ ├── ParseException.php │ │ └── RuntimeException.php │ │ ├── Inline.php │ │ ├── LICENSE │ │ ├── Parser.php │ │ ├── README.md │ │ ├── Resources │ │ └── bin │ │ │ └── yaml-lint │ │ ├── Tag │ │ └── TaggedValue.php │ │ ├── Unescaper.php │ │ ├── Yaml.php │ │ └── composer.json │ └── whmcs.json ├── phpcbf.phar ├── phpcs.phar ├── phpcs.xml └── screenshots ├── screenshot1.png ├── screenshot2.png └── screenshot3.png /.github/workflows/analyze.yml: -------------------------------------------------------------------------------- 1 | name: Analyze 2 | 3 | on: [push, pull_request] 4 | 5 | jobs: 6 | phpcs: 7 | runs-on: ubuntu-22.04 8 | 9 | steps: 10 | - uses: actions/checkout@v4 11 | - name: PHP_CodeSniffer 12 | run: | 13 | curl -OL https://phars.phpcodesniffer.com/phpcs.phar 14 | php phpcs.phar modules -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bitpay/bitpay-checkout", 3 | "description": "Bitpay Payment plugin for WHMCS", 4 | "homepage": "http://www.bitpay.com/", 5 | "license": "MIT", 6 | "authors": [ 7 | { 8 | "name": "BitPay", 9 | "email": "support@bitpay.com" 10 | } 11 | ], 12 | "require": { 13 | "bitpay/sdk": "^9.1", 14 | "php": "^8.1 || ^8.2 || ^8.3" 15 | } 16 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/icon-256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitpay/whmcs-plugin/d494d7bdea06b670da4c32772cfd3d459a450896/modules/gateways/bitpaycheckout/icon-256x256.png -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/autoload.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | ./src 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | ./test/unit 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/key-utils/ruleset.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | BitPay coding standard, based on PSR-12, temporarily excluding some rules. 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/key-utils/src/BitPayKeyUtils/KeyHelper/KeyInterface.php: -------------------------------------------------------------------------------- 1 | getId(); 19 | file_put_contents($path, serialize($key)); 20 | } 21 | 22 | /** 23 | * @inheritdoc 24 | * @throws Exception 25 | * @throws Exception 26 | */ 27 | public function load($id) 28 | { 29 | if (!is_file($id)) { 30 | throw new Exception(sprintf('Could not find "%s"', $id)); 31 | } 32 | 33 | if (!is_readable($id)) { 34 | throw new Exception(sprintf('"%s" cannot be read, check permissions', $id)); 35 | } 36 | 37 | return unserialize(file_get_contents($id)); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/key-utils/src/BitPayKeyUtils/Storage/StorageInterface.php: -------------------------------------------------------------------------------- 1 | createClassObject(); 12 | $this->assertInstanceOf(Math::class, $math); 13 | } 14 | 15 | public function testGetEngine() 16 | { 17 | $expectedEngine = new GmpEngine(); 18 | 19 | $math = $this->createClassObject(); 20 | $math::setEngine($expectedEngine); 21 | $this->assertSame($expectedEngine, $math::getEngine()); 22 | } 23 | 24 | public function testGetEngineName() 25 | { 26 | $expectedEngineName = 'Test engine name'; 27 | 28 | $math = $this->createClassObject(); 29 | $math::setEngineName($expectedEngineName); 30 | $this->assertSame($expectedEngineName, $math::getEngineName()); 31 | } 32 | 33 | private function createClassObject() 34 | { 35 | return new Math(); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/key-utils/test/unit/BitPayKeyUtils/Storage/test1.txt: -------------------------------------------------------------------------------- 1 | O:17:"Mock_Key_c1e4b2bf":0:{} -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/key-utils/test/unit/BitPayKeyUtils/Storage/test11.txt: -------------------------------------------------------------------------------- 1 | a2c2ae8c5cd35cc02dfeef6309593cfe0ddcd995e6de235a033c889bc2c23299 -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/key-utils/test/unit/BitPayKeyUtils/Storage/test3.txt: -------------------------------------------------------------------------------- 1 | O:17:"Mock_Key_e31b3bd5":0:{} -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/key-utils/test/unit/BitPayKeyUtils/Storage/test4.txt: -------------------------------------------------------------------------------- 1 | a:3:{i:0;s:3:"Red";i:1;s:5:"Green";i:2;s:4:"Blue";} -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/key-utils/test/unit/BitPayKeyUtils/Util/FingerprintTest.php: -------------------------------------------------------------------------------- 1 | assertIsString($fingerprint::generate()); 12 | } 13 | 14 | public function testGenerateIssetFinHash() 15 | { 16 | $expectedValue = 'ce9c26116feb916c356b5313226ff177bf30f819'; 17 | 18 | $reflection = new \ReflectionProperty(Fingerprint::class, 'finHash'); 19 | $reflection->setAccessible(true); 20 | $reflection->setValue(null, $expectedValue); 21 | 22 | $fingerprint = new Fingerprint(); 23 | $actualValue = $fingerprint::generate(); 24 | 25 | $this->assertIsString($actualValue); 26 | $this->assertSame($expectedValue, $actualValue); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # To get started with Dependabot version updates, you'll need to specify which 2 | # package ecosystems to update and where the package manifests are located. 3 | # Please see the documentation for all configuration options: 4 | # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates 5 | 6 | version: 2 7 | updates: 8 | - package-ecosystem: "composer" 9 | directory: "/" 10 | schedule: 11 | interval: "weekly" 12 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/.github/workflows/documentation.yml: -------------------------------------------------------------------------------- 1 | name: Documentation 2 | 3 | on: 4 | push: 5 | branches: 6 | - '*.*.x' 7 | 8 | concurrency: 9 | group: documentation 10 | cancel-in-progress: true 11 | 12 | jobs: 13 | phpdoc: 14 | runs-on: ubuntu-latest 15 | 16 | steps: 17 | - uses: actions/checkout@v3 18 | - name: Run phpdoc 19 | run: | 20 | docker run --rm -v $(pwd):/data phpdoc/phpdoc:3 -d ./src -t ./docs 21 | - name: git commit 22 | run: | 23 | git config user.name "GitHub Actions" 24 | git config user.email "" 25 | git add docs/ 26 | git commit -m "Update phpdoc" || echo "No changes to commit" 27 | git push -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/.github/workflows/test.yml: -------------------------------------------------------------------------------- 1 | name: Test 2 | 3 | on: [push, pull_request] 4 | 5 | jobs: 6 | 7 | phpunit10: 8 | runs-on: ubuntu-20.04 9 | 10 | strategy: 11 | matrix: 12 | php-version: ['8.1', '8.2', '8.3'] 13 | 14 | steps: 15 | - uses: actions/checkout@v3 16 | - uses: php-actions/composer@v5 17 | with: 18 | php_version: ${{ matrix.php-version }} 19 | args: --ignore-platform-reqs 20 | - uses: php-actions/phpunit@v3 21 | with: 22 | configuration: phpunit.xml 23 | php_version: ${{ matrix.php-version }} 24 | php_extensions: bcmath gmp xdebug 25 | testsuite: Unit 26 | version: 10 27 | env: 28 | XDEBUG_MODE: coverage 29 | 30 | phpcs: 31 | runs-on: ubuntu-latest 32 | 33 | steps: 34 | - uses: actions/checkout@v3 35 | - uses: php-actions/composer@v5 36 | with: 37 | php_version: 8.1 38 | php_extensions: bcmath gmp xdebug 39 | - name: Install PHP_CodeSniffer 40 | run: | 41 | curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar 42 | php phpcs.phar src --standard=ruleset.xml -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 BitPay 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bitpay/sdk", 3 | "description": "Complete version of the PHP library for the new cryptographically secure BitPay API", 4 | "license": "MIT", 5 | "minimum-stability": "stable", 6 | "keywords": [ 7 | "bitpay", 8 | "bitcoin", 9 | "cash", 10 | "payment", 11 | "gateway" 12 | ], 13 | "homepage": "https://github.com/bitpay/php-bitpay-client-v2", 14 | "require": { 15 | "php": "^8.1 || ^8.2 || ^8.3", 16 | "ext-json": "*", 17 | "ext-reflection": "*", 18 | "bitpay/key-utils": "^1.1", 19 | "guzzlehttp/guzzle": "^7.0", 20 | "symfony/yaml": "^5.4 || ^6.0 || ^7.0", 21 | "netresearch/jsonmapper": "^4.1", 22 | "symfony/console": "^6.0" 23 | }, 24 | "authors": [ 25 | { 26 | "name": "Antonio Buedo", 27 | "email": "solutions-engineering@bitpay.com" 28 | } 29 | ], 30 | "require-dev": { 31 | "phpunit/phpunit": "^9.0 || ^10.2.2" 32 | }, 33 | "scripts": { 34 | "setup": [ 35 | "php setup/ConfigGenerator.php" 36 | ] 37 | }, 38 | "autoload": { 39 | "psr-4": { 40 | "BitPaySDK\\": "src/BitPaySDK", 41 | "BitPaySDKexamples\\": "examples" 42 | } 43 | }, 44 | "autoload-dev": { 45 | "psr-4": { 46 | "BitPaySDK\\Test\\": "test/unit/BitPaySDK", 47 | "BitPaySDK\\Functional\\": "test/functional/BitPaySDK" 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/docs/js/template.js: -------------------------------------------------------------------------------- 1 | (function(){ 2 | window.addEventListener('load', () => { 3 | const el = document.querySelector('.phpdocumentor-on-this-page__content') 4 | if (!el) { 5 | return; 6 | } 7 | 8 | const observer = new IntersectionObserver( 9 | ([e]) => { 10 | e.target.classList.toggle("-stuck", e.intersectionRatio < 1); 11 | }, 12 | {threshold: [1]} 13 | ); 14 | 15 | observer.observe(el); 16 | }) 17 | })(); 18 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/examples/ClientProvider.php: -------------------------------------------------------------------------------- 1 | getLedgers(); 20 | } 21 | 22 | /** 23 | * @throws \BitPaySDK\Exceptions\BitPayApiException 24 | * @throws \BitPaySDK\Exceptions\BitPayGenericException 25 | */ 26 | public function getLedgerEntries(): void 27 | { 28 | $client = ClientProvider::create(); 29 | 30 | $ledgerEntries = $client->getLedgerEntries('USD', '2023-08-14', '2023-08-22'); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/examples/Merchant/SettlementRequests.php: -------------------------------------------------------------------------------- 1 | getSettlement('someSettlementId'); 20 | $settlements = $client->getSettlements('USD', '2023-08-14', '2023-08-22'); 21 | } 22 | 23 | /** 24 | * @throws \BitPaySDK\Exceptions\BitPayApiException 25 | * @throws \BitPaySDK\Exceptions\BitPayGenericException 26 | */ 27 | public function fetchReconciliationReport(): void 28 | { 29 | $client = ClientProvider::create(); 30 | 31 | $client->getSettlementReconciliationReport('settlementId', 'settlementToken'); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/examples/Pos/BillRequests.php: -------------------------------------------------------------------------------- 1 | setName('someName'); 22 | $bill->setEmail('someEmail@email.com'); 23 | $bill->setAddress1('SomeAddress'); 24 | $bill->setCity('MyCity'); 25 | // ... 26 | 27 | $client->createBill($bill); 28 | } 29 | 30 | /** 31 | * @throws \BitPaySDK\Exceptions\BitPayApiException 32 | * @throws \BitPaySDK\Exceptions\BitPayGenericException 33 | */ 34 | public function getBill(): void 35 | { 36 | $client = ClientProvider::createPos(); 37 | 38 | $bill = $client->getBill('someBillId'); 39 | } 40 | 41 | /** 42 | * @throws \BitPaySDK\Exceptions\BitPayApiException 43 | * @throws \BitPaySDK\Exceptions\BitPayGenericException 44 | */ 45 | public function deliverBillViaEmail(): void 46 | { 47 | $client = ClientProvider::createPos(); 48 | 49 | $result = $client->deliverBill('someBillId', 'myBillToken'); 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/examples/Public/RateRequests.php: -------------------------------------------------------------------------------- 1 | getRates(); 20 | 21 | $currencyRates = $client->getCurrencyRates('BTC'); 22 | 23 | $currencyPairRate = $client->getCurrencyPairRate('BTC', 'USD'); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/examples/Public/WalletRequests.php: -------------------------------------------------------------------------------- 1 | getSupportedWallets(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/phpdoc.dist.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | BitPay PHP SDK 8 | 9 | 10 | docs 11 | 12 | 13 | 14 | 15 | 16 | src 17 | 18 | 19 | php 20 | 21 | BitPaySDK 22 | 23 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | ./test/unit 12 | 13 | 14 | ./test/functional 15 | 16 | 17 | 18 | 19 | 20 | ./src 21 | 22 | 23 | ./src/BitPaySDK/Util/JsonMapper 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/ruleset.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | BitPay coding standard, based on PSR-12, temporarily excluding some rules. 4 | 5 | 6 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/setup/BitPay.config-example.json: -------------------------------------------------------------------------------- 1 | { 2 | "BitPayConfiguration": { 3 | "Environment": "Test", 4 | "EnvConfig": { 5 | "Test": { 6 | "PrivateKeyPath": "null", 7 | "PrivateKeySecret": "null", 8 | "ApiTokens": { 9 | "merchant": "null", 10 | "payout": "null" 11 | }, 12 | "proxy": null 13 | }, 14 | "Prod": { 15 | "PrivateKeyPath": null, 16 | "PrivateKeySecret": null, 17 | "ApiTokens": { 18 | "merchant": null, 19 | "payout": null 20 | }, 21 | "proxy": null 22 | } 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/setup/BitPay.config-example.yml: -------------------------------------------------------------------------------- 1 | BitPayConfiguration: 2 | Environment: Test 3 | EnvConfig: 4 | Test: 5 | PrivateKeyPath: null 6 | PrivateKeySecret: null 7 | ApiTokens: 8 | merchant: null 9 | payout: null 10 | proxy: null 11 | Prod: 12 | PrivateKeyPath: null 13 | PrivateKeySecret: null 14 | ApiTokens: 15 | merchant: null 16 | payout: null 17 | proxy: null 18 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/src/BitPaySDK/Env.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://www.opensource.org/licenses/mit-license.php MIT 11 | */ 12 | 13 | interface Env 14 | { 15 | public const TEST = "Test"; 16 | public const PROD = "Prod"; 17 | public const TEST_URL = "https://test.bitpay.com/"; 18 | public const PROD_URL = "https://bitpay.com/"; 19 | public const BITPAY_API_VERSION = "2.0.0"; 20 | public const BITPAY_PLUGIN_INFO = "BitPay_PHP_Client_v9.1.0"; 21 | public const BITPAY_API_FRAME = "std"; 22 | public const BITPAY_API_FRAME_VERSION = "1.0.0"; 23 | } 24 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BitPayApiException.php: -------------------------------------------------------------------------------- 1 | bitPayCode = $bitPayCode; 24 | parent::__construct($message); 25 | } 26 | 27 | /** 28 | *

An error code consists of 6 digits.

29 | *

The first two digits of an error code represent the HTTP method that was used to call it.

30 | *

The next two digits refer to the resource that was impacted.

31 | *

The last two digits refer to the specific error.

32 | *

eg. 010103 - Missing parameters for Invoice POST request.

33 | * 34 | * @return string|null 35 | */ 36 | public function getBitPayCode(): ?string 37 | { 38 | return $this->bitPayCode; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/src/BitPaySDK/Exceptions/BitPayException.php: -------------------------------------------------------------------------------- 1 | 9 | * @license http://www.opensource.org/licenses/mit-license.php MIT 10 | */ 11 | 12 | namespace BitPaySDK\Model\Bill; 13 | 14 | /** 15 | * Contains bill statuses: Can be "draft", "sent", "new", "paid", or "complete" 16 | * 17 | * @package BitPaySDK\Model\Bill 18 | * @author BitPay Integrations 19 | * @license http://www.opensource.org/licenses/mit-license.php MIT 20 | * @see https://developer.bitpay.com/reference/bills REST API Bills 21 | */ 22 | interface BillStatus 23 | { 24 | public const DRAFT = "draft"; 25 | public const SENT = "sent"; 26 | public const NEW = "new"; 27 | public const PAID = "paid"; 28 | public const COMPLETE = "complete"; 29 | } 30 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/src/BitPaySDK/Model/Facade.php: -------------------------------------------------------------------------------- 1 | 15 | * @license http://www.opensource.org/licenses/mit-license.php MIT 16 | * @see https://bitpay.readme.io/reference/concepts#facades REST API facades 17 | */ 18 | interface Facade 19 | { 20 | /** 21 | * The broadest set of capabilities against a merchant organization. Allows for create, search, 22 | * and view actions for Invoices and Bills; ledger download, 23 | * as well as the creation of new merchant or pos tokens associated with the account. 24 | */ 25 | public const MERCHANT = "merchant"; 26 | 27 | /** 28 | * This is the facade which allows merchant to access the Payouts related resources and corresponding endpoints. 29 | * Access to this facade is not enabled by default. 30 | */ 31 | public const PAYOUT = "payout"; 32 | 33 | /** 34 | * Limited to creating new invoice or bills and search specific invoices 35 | * or bills based on their id for the merchant's organization 36 | */ 37 | public const POS = "pos"; 38 | } 39 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/InvoiceRefundAddresses.php: -------------------------------------------------------------------------------- 1 | type; 17 | } 18 | 19 | public function setType(string $type): void 20 | { 21 | $this->type = $type; 22 | } 23 | 24 | public function getDate(): string 25 | { 26 | return $this->date; 27 | } 28 | 29 | public function setDate(string $date): void 30 | { 31 | $this->date = $date; 32 | } 33 | 34 | public function getTag(): ?int 35 | { 36 | return $this->tag; 37 | } 38 | 39 | public function setTag(?int $tag): void 40 | { 41 | $this->tag = $tag; 42 | } 43 | 44 | public function getEmail(): ?string 45 | { 46 | return $this->email; 47 | } 48 | 49 | public function setEmail(?string $email): void 50 | { 51 | $this->email = $email; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/src/BitPaySDK/Model/Invoice/RefundStatus.php: -------------------------------------------------------------------------------- 1 | 14 | * @license http://www.opensource.org/licenses/mit-license.php MIT 15 | * @see https://bitpay.readme.io/reference/invoices REST API Invoices 16 | */ 17 | interface RefundStatus 18 | { 19 | /** 20 | * No funds deducted, refund will not proceed automatically 21 | */ 22 | public const PREVIEW = "preview"; 23 | 24 | /** 25 | * Funds deducted/allocated if immediate, will proceed when transactions are confirmed 26 | * and the required data is collected 27 | */ 28 | public const CREATED = "created"; 29 | 30 | /** 31 | * Refund was canceled by merchant action. Immediate refunds cannot be canceled outside of preview state 32 | */ 33 | public const CANCELLED = "cancelled"; 34 | 35 | /** 36 | * Refund is in process of being fulfilled 37 | */ 38 | public const PENDING = "pending"; 39 | 40 | /** 41 | * Refund was successfully processed 42 | */ 43 | public const SUCCESS = "success"; 44 | 45 | /** 46 | * Refund failed during processing (this is really more of an internal state) 47 | */ 48 | public const FAILURE = "failure"; 49 | } 50 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutGroup.php: -------------------------------------------------------------------------------- 1 | 10 | * @license http://www.opensource.org/licenses/mit-license.php MIT 11 | */ 12 | class PayoutGroup 13 | { 14 | /** 15 | * @var Payout[] 16 | */ 17 | private array $payouts = []; 18 | 19 | /** 20 | * @var PayoutGroupFailed[] 21 | */ 22 | private array $failed = []; 23 | 24 | /** 25 | * @return Payout[] 26 | */ 27 | public function getPayouts(): array 28 | { 29 | return $this->payouts; 30 | } 31 | 32 | /** 33 | * @param Payout[] $payouts 34 | */ 35 | public function setPayouts(array $payouts): void 36 | { 37 | $this->payouts = $payouts; 38 | } 39 | 40 | /** 41 | * @return PayoutGroupFailed[] 42 | */ 43 | public function getFailed(): array 44 | { 45 | return $this->failed; 46 | } 47 | 48 | /** 49 | * @param PayoutGroupFailed[] $failed 50 | */ 51 | public function setFailed(array $failed): void 52 | { 53 | $this->failed = $failed; 54 | } 55 | } 56 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/PayoutStatus.php: -------------------------------------------------------------------------------- 1 | 9 | * @license http://www.opensource.org/licenses/mit-license.php MIT 10 | */ 11 | 12 | namespace BitPaySDK\Model\Payout; 13 | 14 | /** 15 | * Interface PayoutStatus 16 | * 17 | * @package BitPaySDK\Model\Payout 18 | * @author BitPay Integrations 19 | * @license http://www.opensource.org/licenses/mit-license.php MIT 20 | * @see https://bitpay.readme.io/reference/payouts REST API Payouts 21 | */ 22 | interface PayoutStatus 23 | { 24 | /** 25 | * New status. 26 | */ 27 | public const NEW = 'new'; 28 | 29 | /** 30 | * Funded status. 31 | */ 32 | public const FUNDED = 'funded'; 33 | 34 | /** 35 | * Processing status 36 | */ 37 | public const PROCESSING = 'processing'; 38 | 39 | /** 40 | * Complete status 41 | */ 42 | public const COMPLETE = 'complete'; 43 | 44 | /** 45 | * Failed status. 46 | */ 47 | public const FAILED = 'failed'; 48 | 49 | /** 50 | * Cancelled status. 51 | */ 52 | public const CANCELLED = 'cancelled'; 53 | 54 | /** 55 | * Paid status. 56 | */ 57 | public const PAID = 'paid'; 58 | 59 | /** 60 | * Unpaid status. 61 | */ 62 | public const UNPAID = 'unpaid'; 63 | } 64 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/RecipientReferenceMethod.php: -------------------------------------------------------------------------------- 1 | 9 | * @license http://www.opensource.org/licenses/mit-license.php MIT 10 | */ 11 | 12 | namespace BitPaySDK\Model\Payout; 13 | 14 | /** 15 | * List of recipient reference methods 16 | * 17 | * @package BitPaySDK\Model\Payout 18 | * @author BitPay Integrations 19 | * @license http://www.opensource.org/licenses/mit-license.php MIT 20 | * @see https://bitpay.readme.io/reference/payouts REST API Payouts 21 | */ 22 | interface RecipientReferenceMethod 23 | { 24 | /** 25 | * Email method will be used to target the recipient 26 | */ 27 | public const EMAIL = 1; 28 | 29 | /** 30 | * Recipient id will be used to target the recipient 31 | */ 32 | public const RECIPIENT_ID = 2; 33 | 34 | /** 35 | * Shopper id will be used to target the recipient 36 | */ 37 | public const SHOPPER_ID = 3; 38 | } 39 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/src/BitPaySDK/Model/Payout/RecipientStatus.php: -------------------------------------------------------------------------------- 1 | 9 | * @license http://www.opensource.org/licenses/mit-license.php MIT 10 | */ 11 | 12 | namespace BitPaySDK\Model\Payout; 13 | 14 | /** 15 | * Interface RecipientStatus 16 | * 17 | * @package BitPaySDK\Model\Payout 18 | * @author BitPay Integrations 19 | * @license http://www.opensource.org/licenses/mit-license.php MIT 20 | * @see https://bitpay.readme.io/reference/payouts REST API Payouts 21 | */ 22 | interface RecipientStatus 23 | { 24 | /** 25 | * Invited recipient status. 26 | */ 27 | public const INVITED = 'invited'; 28 | 29 | /** 30 | * Unverified recipient status. 31 | */ 32 | public const UNVERIFIED = 'unverified'; 33 | 34 | /** 35 | * Verified recipient status. 36 | */ 37 | 38 | public const VERIFIED = 'verified'; 39 | 40 | /** 41 | * Active recipient status. 42 | */ 43 | public const ACTIVE = 'active'; 44 | 45 | /** 46 | * Paused recipient status. 47 | */ 48 | public const PAUSED = 'paused'; 49 | 50 | /** 51 | * Removed recipient status. 52 | */ 53 | public const REMOVED = 'removed'; 54 | } 55 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/src/BitPaySDK/Util/JsonMapperFactory.php: -------------------------------------------------------------------------------- 1 | 14 | * @license http://www.opensource.org/licenses/mit-license.php MIT 15 | */ 16 | class JsonMapperFactory 17 | { 18 | public static function create(): \JsonMapper 19 | { 20 | $jsonMapper = new \JsonMapper(); 21 | $jsonMapper->bEnforceMapType = false; 22 | 23 | return $jsonMapper; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/functional/BitPaySDK/AbstractClientTestCase.php: -------------------------------------------------------------------------------- 1 | client = Client::createWithFile(Config::FUNCTIONAL_TEST_PATH . DIRECTORY_SEPARATOR . Config::BITPAY_CONFIG_FILE); 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/functional/BitPaySDK/Config.php: -------------------------------------------------------------------------------- 1 | client->getRates(); 16 | $ratesData = $rates->getRates(); 17 | 18 | self::assertCount(count($ratesData), $ratesData); 19 | self::assertNotNull($rates); 20 | self::assertIsArray($ratesData); 21 | } 22 | 23 | public function testGetCurrencyRates() 24 | { 25 | $rates = $this->client->getCurrencyRates('BTC'); 26 | $ratesData = $rates->getRates(); 27 | 28 | self::assertCount(count($ratesData), $ratesData); 29 | self::assertNotNull($rates); 30 | self::assertIsArray($ratesData); 31 | } 32 | 33 | public function testGetCurrencyPairRate(): void 34 | { 35 | $rate = $this->client->getCurrencyPairRate('BTC', 'USD'); 36 | 37 | self::assertInstanceOf(Rate::class, $rate); 38 | self::assertEquals('USD', $rate->getCode()); 39 | self::assertEquals('US Dollar', $rate->getName()); 40 | } 41 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/functional/BitPaySDK/TokenClientTest.php: -------------------------------------------------------------------------------- 1 | client->getTokens(); 16 | 17 | self::assertNotEmpty($tokens); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/functional/BitPaySDK/WalletClientTest.php: -------------------------------------------------------------------------------- 1 | client->getSupportedWallets(); 14 | 15 | self::assertNotNull($supportedWallets); 16 | self::assertIsArray($supportedWallets); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/BitPay.config-unit.json: -------------------------------------------------------------------------------- 1 | { 2 | "BitPayConfiguration": { 3 | "Environment": "Test", 4 | "EnvConfig": { 5 | "Test": { 6 | "PrivateKeyPath": "test/unit/BitPaySDK/PrivateKeyNameUnit.key", 7 | "PrivateKeySecret": "changedPassword", 8 | "ApiTokens": { 9 | "merchant": "testMerchantApiToken", 10 | "payout": "testPayoutApiToken" 11 | }, 12 | "proxy": null 13 | }, 14 | "Prod": { 15 | "PrivateKeyPath": null, 16 | "PrivateKeySecret": null, 17 | "ApiTokens": { 18 | "merchant": null, 19 | "payout": null 20 | }, 21 | "proxy": null 22 | } 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/BitPay.config-unit.yml: -------------------------------------------------------------------------------- 1 | BitPayConfiguration: 2 | Environment: Test 3 | EnvConfig: 4 | Test: 5 | PrivateKeyPath: test/unit/BitPaySDK/PrivateKeyNameUnit.key 6 | PrivateKeySecret: changedPassword 7 | ApiTokens: 8 | merchant: HpNyt429yg8mVtWwRJJs7A3CgK6qYesMoPfXUJxWhkh7 9 | payout: 42dpWSzkv3EiJHcUUaLJ98JkhEJjrpCYzxuobCHo5DCZ 10 | proxy: null 11 | Prod: 12 | PrivateKeyPath: null 13 | PrivateKeySecret: null 14 | ApiTokens: 15 | merchant: null 16 | payout: null 17 | proxy: null 18 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/Exceptions/BitPayApiExceptionTest.php: -------------------------------------------------------------------------------- 1 | createClassObject(); 20 | self::assertInstanceOf(BitPayApiException::class, $exception); 21 | } 22 | 23 | public function testBitPayCode(): void 24 | { 25 | $exception = $this->createClassObject(); 26 | self::assertEquals(self::BITPAY_CODE, $exception->getBitPayCode()); 27 | } 28 | 29 | public function testGetMessage(): void 30 | { 31 | $exception = $this->createClassObject(); 32 | 33 | self::assertEquals($exception->getMessage(), $exception->getMessage()); 34 | } 35 | 36 | private function createClassObject(): BitPayApiException 37 | { 38 | return new BitPayApiException(self::ERROR_MESSAGE, self::BITPAY_CODE); 39 | } 40 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/PrivateKeyNameUnit.key: -------------------------------------------------------------------------------- 1 | 8f8645c755bc39033f56c3940f4455a3adf348ff8cea3e14298b4c2d40b3cb8a2a1ab5f0b4740a33d3a35f71bf2de621bb648777911e3365391efa0b46eee341e035c68b0b0d00074e22b5c3aa533c29922ca8c1d14ab1f1426f81f1bde38e7f5a89915a747092ce04e969fd5e12522ce8e30f2e0aef9e271423679f7395b83c5830c53fd2996945afe8ce59b2d409d285c8e9738eeab0f7251de3f550d4723c9b65f56750445b979d9ef36c8f90e82db410c34ed10bb32c127fce955ab8293d7991864c3bccecc0b1005f8eb94a0b598e8f8b287226d738729991216f4aadf22aa656576d5c5936e33e1d737fd869d40ddde16afd6b417312d068989f40f84c0c42d2a7036753b18cae9bec2c88580f7a4b09dd34c776d44ecaa0bff980b5371fb43512d1f53125f88c9b8279eba709 -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/bitpay_private_test.key: -------------------------------------------------------------------------------- 1 | 447a06764339c7746ba6f549f708b38a6fd7c3e489c3c39027d6d2b7ae6ac4d2de9ed6ff88badfe2963fbf8b9138e1f8f4dd96b5267e0bb04b0eb8c21323bcae6dc4106dc308c85c947d67c8c06c1062efccd91947378377593948abc84023e7b68687edc9472af44dad206ccb3e0f8aa7c4f9ad85739d920f3b8bd59bd78cc528c0428c0b7796f72b218a789a2a78f2af716d550f96a37f56011d0c2e065423569f6e50d93ef6b88b0e2ab181d7e6e69fc3bf24e32a8cdd4485a8fd64959ebcbcb8d5313bffe704c3922d3a2337086fdd7448b30e7c4653e03b900f62a0ae3ce4ceb88f92ab4b585a618bcdd9dedffaf199dc706b0ac3905d4803740934d25648595eacd5e491913cf2299f6558dbca13a91e756bc66a027f44c1a12a8415b82e87c64f0cb8a6f58ed56f362bf12818d2e5092d3d9e44f7299acc8295650550a8aeb56b19fe58951e60da5027a977cd232c88d6a8fa5e5c6209460795b6dd0c -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/json/createPayoutGroupRequest.json: -------------------------------------------------------------------------------- 1 | {"instructions":[{"amount":10,"currency":"USD","ledgerCurrency":"USD","reference":"payout_20210527","notificationURL":"https:\/\/yournotiticationURL.com\/wed3sa0wx1rz5bg0bv97851eqx","notificationEmail":"merchant@email.com","email":"john@doe.com","recipientId":"LDxRZCGq174SF8AnQpdBPB","shopperId":"7qohDf2zZnQK5Qanj8oyC2"}],"token":"kQLZ7C9YKPSnMCC4EJwrqRHXuQkLzL1W8DfZCh37DHb"} -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/json/createPayoutGroupResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "created": [ 3 | { 4 | "id": "JMwv8wQCXANoU2ZZQ9a9GH", 5 | "recipientId": "LDxRZCGq174SF8AnQpdBPB", 6 | "accountId": "SJcWZCFq344DL8QnXpdBNM", 7 | "shopperId": "7qohDf2zZnQK5Qanj8oyC2", 8 | "amount": 10, 9 | "currency": "USD", 10 | "ledgerCurrency": "GBP", 11 | "email": "john@doe.com", 12 | "reference": "payout_20210527", 13 | "label": "John Doe", 14 | "notificationURL": "https://yournotiticationURL.com/wed3sa0wx1rz5bg0bv97851eqx", 15 | "notificationEmail": "merchant@email.com", 16 | "effectiveDate": "2021-05-27T09:00:00.000Z", 17 | "requestDate": "2021-05-27T10:47:37.834Z", 18 | "status": "new", 19 | "groupId": "SxKRk4MdW8Ae3vsoR6UPQE", 20 | "transactions": [] 21 | } 22 | ], 23 | "failed": [ 24 | { 25 | "errMessage": "Ledger currency is required", 26 | "payee": "john@doe.com" 27 | } 28 | ] 29 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/json/createRefundResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "guid":"37bd36bd-6fcb-409c-a907-47f9244302aa", 3 | "id": "Eso8srxKJR5U71ahCspAAA", 4 | "invoice": "UZjwcYkWAKfTMn9J1yyfs4", 5 | "reference": "someReference", 6 | "status": "preview", 7 | "amount": 10, 8 | "transactionCurrency": "BTC", 9 | "transactionAmount": 7.19E-4, 10 | "transactionRefundFee": 2.0E-6, 11 | "currency": "USD", 12 | "refundFee": 0.03, 13 | "immediate": false, 14 | "buyerPaysRefundFee": false, 15 | "requestDate": "2022-11-14T12:20:47.000Z" 16 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/json/getPayoutBatchResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "LRNmxyjRN1e2JUc6fhgfd", 3 | "account": "6iyfXz1dU54Ntrdtr4ez3ch", 4 | "status": "new", 5 | "amount": 12, 6 | "currency": "USD", 7 | "ledgerCurrency": "USD", 8 | "requestDate": "2023-05-04T11:10:26.032Z", 9 | "effectiveDate": "2023-05-04T09:00:00.000Z", 10 | "ignoreEmails": false, 11 | "supportPhone": "1-855-4-BITPAY", 12 | "instructions": [ 13 | { 14 | "id": "XB85mxDdaYkj24hrgs", 15 | "payoutId": "Mfdgu5S589birhug24hj23", 16 | "amount": 12, 17 | "email": "any@email.com", 18 | "recipientId": "VeZgfxdgfc687tg34jk", 19 | "shopperId": "2toTAVjhkh2dgf65x", 20 | "transactions": [] 21 | }, 22 | { 23 | "id": "XB85mxDdaghj24hrgs", 24 | "payoutId": "Mfdgu5S589bifghg24hj23", 25 | "amount": 12, 26 | "email": "any2@email.com", 27 | "recipientId": "VeZgfxdgddfg4jk", 28 | "shopperId": "2toTAVjhksdfdgf65x", 29 | "transactions": [] 30 | } 31 | ], 32 | "token": "8dJGJ65BhrKJmcgfChfg65dn6fuENkKzhgf3hg4hglkj675hn" 33 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/json/getRefund.json: -------------------------------------------------------------------------------- 1 | { 2 | "guid": "payment#1234", 3 | "id": "WoE46gSLkJQS48RJEiNw3L", 4 | "invoice": "Hpqc63wvE1ZjzeeH4kEycF", 5 | "reference": "Test refund", 6 | "status": "created", 7 | "amount": 10, 8 | "transactionCurrency": "BTC", 9 | "transactionAmount": 0.000594, 10 | "transactionRefundFee": 0.000002, 11 | "currency": "USD", 12 | "lastRefundNotification": "2021-08-29T20:45:35.368Z", 13 | "refundFee": 0.04, 14 | "immediate": false, 15 | "buyerPaysRefundFee": false, 16 | "requestDate": "2021-08-29T20:45:34.000Z" 17 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/badResponse.json: -------------------------------------------------------------------------------- 1 | NULL -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createBillResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "draft", 3 | "url": "https://bitpay.com/bill?id=X6KJbe9RxAGWNReCwd1xRw&resource=bills", 4 | "number": "bill1234-ABCD", 5 | "createdDate": "2021-05-21T09:48:02.373Z", 6 | "dueDate": "2021-05-31T00:00:00.000Z", 7 | "currency": "USD", 8 | "email": "john@doe.com", 9 | "cc": [ 10 | "jane@doe.com" 11 | ], 12 | "passProcessingFee": true, 13 | "id": "X6KJbe9RxAGWNReCwd1xRw", 14 | "items": [ 15 | { 16 | "id": "EL4vx41Nxc5RYhbqDthjE", 17 | "description": "Test Item 1", 18 | "price": 6, 19 | "quantity": 1 20 | }, 21 | { 22 | "id": "6spPADZ2h6MfADvnhfsuBt", 23 | "description": "Test Item 2", 24 | "price": 4, 25 | "quantity": 1 26 | } 27 | ], 28 | "token": "qVVgRARN6fKtNZ7Tcq6qpoPBBE3NxdrmdMD883RyMK4Pf8EHENKVxCXhRwyynWveo" 29 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createPayoutGroupRequest.json: -------------------------------------------------------------------------------- 1 | {"instructions":[{"amount":10,"currency":"USD","ledgerCurrency":"USD","reference":"payout_20210527","notificationURL":"https:\/\/yournotiticationURL.com\/wed3sa0wx1rz5bg0bv97851eqx","notificationEmail":"merchant@email.com","email":"john@doe.com","recipientId":"LDxRZCGq174SF8AnQpdBPB","shopperId":"7qohDf2zZnQK5Qanj8oyC2"}],"token":"kQLZ7C9YKPSnMCC4EJwrqRHXuQkLzL1W8DfZCh37DHb"} -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createPayoutGroupResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "created": [ 3 | { 4 | "id": "JMwv8wQCXANoU2ZZQ9a9GH", 5 | "recipientId": "LDxRZCGq174SF8AnQpdBPB", 6 | "accountId": "SJcWZCFq344DL8QnXpdBNM", 7 | "shopperId": "7qohDf2zZnQK5Qanj8oyC2", 8 | "amount": 10, 9 | "currency": "USD", 10 | "ledgerCurrency": "GBP", 11 | "email": "john@doe.com", 12 | "reference": "payout_20210527", 13 | "label": "John Doe", 14 | "notificationURL": "https://yournotiticationURL.com/wed3sa0wx1rz5bg0bv97851eqx", 15 | "notificationEmail": "merchant@email.com", 16 | "effectiveDate": "2021-05-27T09:00:00.000Z", 17 | "requestDate": "2021-05-27T10:47:37.834Z", 18 | "status": "new", 19 | "groupId": "SxKRk4MdW8Ae3vsoR6UPQE", 20 | "transactions": [] 21 | } 22 | ], 23 | "failed": [ 24 | { 25 | "errMessage": "Ledger currency is required", 26 | "payee": "john@doe.com" 27 | } 28 | ] 29 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/createRefundResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "guid":"37bd36bd-6fcb-409c-a907-47f9244302aa", 3 | "id": "Eso8srxKJR5U71ahCspAAA", 4 | "invoice": "UZjwcYkWAKfTMn9J1yyfs4", 5 | "reference": "someReference", 6 | "status": "preview", 7 | "amount": 10, 8 | "transactionCurrency": "BTC", 9 | "transactionAmount": 7.19E-4, 10 | "transactionRefundFee": 2.0E-6, 11 | "currency": "USD", 12 | "refundFee": 0.03, 13 | "immediate": false, 14 | "buyerPaysRefundFee": false, 15 | "requestDate": "2022-11-14T12:20:47.000Z" 16 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/false.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "false", 3 | "data": {}, 4 | "message": null 5 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getBill.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "draft", 3 | "url": "https://bitpay.com/bill?id=3Zpmji8bRKxWJo2NJbWX5H&resource=bills", 4 | "number": "bill1234-EFGH", 5 | "createdDate": "2021-05-21T09:51:04.126Z", 6 | "dueDate": "2021-05-31T00:00:00.000Z", 7 | "currency": "USD", 8 | "name": "John Doe", 9 | "address1": "2630 Hegal Place", 10 | "address2": "Apt 42", 11 | "city": "Alexandria", 12 | "state": "VA", 13 | "zip": "23242", 14 | "country": "US", 15 | "email": "john@doe.com", 16 | "cc": [ 17 | "jane@doe.com" 18 | ], 19 | "phone": "555-123-456", 20 | "passProcessingFee": true, 21 | "emailBill": true, 22 | "id": "X6KJbe9RxAGWNReCwd1xRw", 23 | "merchant": "7HyKWn3d4xdhAMQYAEVxVq", 24 | "items": [ 25 | { 26 | "id": "NV35GRWtrdB2cmGEjY4LKY", 27 | "description": "Test Item 1", 28 | "price": 6, 29 | "quantity": 1 30 | }, 31 | { 32 | "id": "Apy3i2TpzHRYP8tJCkrZMT", 33 | "description": "Test Item 2", 34 | "price": 4, 35 | "quantity": 1 36 | } 37 | ], 38 | "token": "6EBQR37MgDJPfEiLY3jtRq7eTP2aodR5V5wmXyyZhru5FM5yF4RCGKYQtnT7nhwHjA" 39 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getCurrencyPairRate.json: -------------------------------------------------------------------------------- 1 | { 2 | "name":"US Dollar", 3 | "code":"USD", 4 | "rate":41154.05 5 | } 6 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getCurrencyRates.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "code":"BTC", 4 | "name":"Bitcoin", 5 | "rate":1 6 | }, 7 | { 8 | "code":"BCH", 9 | "name":"Bitcoin Cash", 10 | "rate":50.77 11 | }, 12 | { 13 | "code":"USD", 14 | "name":"US Dollar", 15 | "rate":41248.11 16 | }, 17 | { 18 | "code":"EUR", 19 | "name":"Eurozone Euro", 20 | "rate":33823.04 21 | }, 22 | { 23 | "code":"GBP", 24 | "name":"Pound Sterling", 25 | "rate":29011.49 26 | }, 27 | { 28 | "code":"JPY", 29 | "name":"Japanese Yen", 30 | "rate":4482741 31 | }, 32 | { 33 | "code":"CAD", 34 | "name":"Canadian Dollar", 35 | "rate":49670.85 36 | }, 37 | { 38 | "code":"AUD", 39 | "name":"Australian Dollar", 40 | "rate":53031.99 41 | }, 42 | { 43 | "code":"CNY", 44 | "name":"Chinese Yuan", 45 | "rate":265266.57 46 | } 47 | ] -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getLedgersResponse.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "currency": "EUR", 4 | "amount": 0 5 | }, 6 | { 7 | "currency": "USD", 8 | "balance": 2389.82 9 | }, 10 | { 11 | "currency": "BTC", 12 | "balance": 0.000287 13 | } 14 | ] -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayout.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "JMwv8wQCXANoU2ZZQ9a9GH", 3 | "recipientId": "LDxRZCGq174SF8AnQpdBPB", 4 | "shopperId": "7qohDf2zZnQK5Qanj8oyC2", 5 | "amount": 10, 6 | "currency": "USD", 7 | "ledgerCurrency": "GBP", 8 | "exchangeRates": { 9 | "BTC": { 10 | "USD": 39390.47, 11 | "GBP": 27883.962246420004 12 | } 13 | }, 14 | "email": "john@doe.com", 15 | "reference": "payout_20210527", 16 | "label": "John Doe", 17 | "notificationURL": "https://yournotiticationURL.com/wed3sa0wx1rz5bg0bv97851eqx", 18 | "notificationEmail": "merchant@email.com", 19 | "effectiveDate": "2021-05-27T09:00:00.000Z", 20 | "requestDate": "2021-05-27T10:47:37.834Z", 21 | "status": "complete", 22 | "transactions": [ 23 | { 24 | "txid": "db53d7e2bf3385a31257ce09396202d9c2823370a5ca186db315c45e24594057", 25 | "amount": 0.000254, 26 | "date": "2021-05-27T11:04:23.155Z" 27 | } 28 | ], 29 | "token": "kQLZ7C9YKPSnMCC4EJwrqRHXuQkLzL1W8DfZCh37DHb" 30 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayoutRecipient.json: -------------------------------------------------------------------------------- 1 | { 2 | "facade": "payout/recipient", 3 | "data": { 4 | "email": "john.smith@email.com", 5 | "label": "John Smith", 6 | "status": "invited", 7 | "id": "JA4cEtmBxCp5cybtnh1rds", 8 | "shopperId": null, 9 | "token": "2LVBntm7z92rnuVjVX5ZVaDoUEaoY4LxhZMMzPAMGyXcejgPXVmZ4Ae3oGaCGBFKQf" 10 | } 11 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getPayoutRecipients.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "email": "alice@email.com", 4 | "label": "Alice", 5 | "status": "invited", 6 | "id": "JA4cEtmBxCp5cybtnh1rds", 7 | "shopperId": null, 8 | "token": "2LVBntm7z92rnuVjVX5ZVaDoUEaoY4LxhZMMzPAMGyXcejgPXVmZ4Ae3oGaCGBFKQf" 9 | }, 10 | { 11 | "email": "bob@email.com", 12 | "label": "Bob", 13 | "status": "invited", 14 | "id": "X3icwc4tE8KJ5hEPNPpDXW", 15 | "shopperId": null, 16 | "token": "2LVBntm7z92rnuVjVX5ZVaDoUEaoY4LxhZMMzPAMGyXrrBAB9vRY3BVxGLbAa6uEx7" 17 | } 18 | ] -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getRates.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "code":"BTC", 4 | "name":"Bitcoin", 5 | "rate":1 6 | }, 7 | { 8 | "code":"BCH", 9 | "name":"Bitcoin Cash", 10 | "rate":50.77 11 | }, 12 | { 13 | "code":"USD", 14 | "name":"US Dollar", 15 | "rate":41248.11 16 | }, 17 | { 18 | "code":"EUR", 19 | "name":"Eurozone Euro", 20 | "rate":33823.04 21 | }, 22 | { 23 | "code":"GBP", 24 | "name":"Pound Sterling", 25 | "rate":29011.49 26 | }, 27 | { 28 | "code":"JPY", 29 | "name":"Japanese Yen", 30 | "rate":4482741 31 | }, 32 | { 33 | "code":"CAD", 34 | "name":"Canadian Dollar", 35 | "rate":49670.85 36 | }, 37 | { 38 | "code":"AUD", 39 | "name":"Australian Dollar", 40 | "rate":53031.99 41 | }, 42 | { 43 | "code":"CNY", 44 | "name":"Chinese Yuan", 45 | "rate":265266.57 46 | } 47 | ] -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getSettlementResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "RPWTabW8urd3xWv2To989v", 3 | "accountId": "YJCgTf3jrXHkUVzLQ7y4eg", 4 | "status": "processing", 5 | "currency": "EUR", 6 | "payoutInfo": { 7 | "label": "Corporate account", 8 | "bankCountry": "Netherlands", 9 | "name": "Test Organization", 10 | "bank": "Test", 11 | "swift": "RABONL2U", 12 | "account": "NL85ABNA0000000000" 13 | }, 14 | "dateCreated": "2021-05-11T09:05:00.176Z", 15 | "dateExecuted": "2021-05-11T11:52:29.681Z", 16 | "openingDate": "2021-05-10T09:00:00.000Z", 17 | "closingDate": "2021-05-11T09:00:00.000Z", 18 | "openingBalance": 23.27, 19 | "ledgerEntriesSum": 20.82, 20 | "withholdings": [ 21 | { 22 | "amount": 8.21, 23 | "code": "W005", 24 | "description": "Pending Refunds" 25 | } 26 | ], 27 | "withholdingsSum": 8.21, 28 | "totalAmount": 35.88, 29 | "token": "2GrR6GDeYxUFYM9sDKViy6nFFTy4Rjvm1SYdLBjK46jkeJdgUTRccRfhtwkhNcuZky" 30 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/getTokensResponse.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "merchant": "someMerchantToken" 4 | }, 5 | { 6 | "payout": "somePayoutToken" 7 | }, 8 | { 9 | "payout\/recipient": "somePayoutRecipientToken1" 10 | }, 11 | { 12 | "payout\/recipient": "somePayoutRecipientToken2" 13 | } 14 | ] -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/submitPayoutRecipientsResponse.json: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "email": "alice@email.com", 4 | "label": "Alice", 5 | "status": "invited", 6 | "id": "JA4cEtmBxCp5cybtnh1rds", 7 | "shopperId": null, 8 | "token": "2LVBntm7z92rnuVjVX5ZVaDoUEaoY4LxhZMMzPAMGyXcejgPXVmZ4Ae3oGaCGBFKQf" 9 | }, 10 | { 11 | "email": "bob@email.com", 12 | "label": "Bob", 13 | "status": "invited", 14 | "id": "X3icwc4tE8KJ5hEPNPpDXW", 15 | "shopperId": null, 16 | "token": "2LVBntm7z92rnuVjVX5ZVaDoUEaoY4LxhZMMzPAMGyXrrBAB9vRY3BVxGLbAa6uEx7" 17 | } 18 | ] -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/success.json: -------------------------------------------------------------------------------- 1 | { 2 | "status": "success", 3 | "data": {}, 4 | "message": null 5 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/updateBillRequest.json: -------------------------------------------------------------------------------- 1 | {"address1":"2630 Hegal Place","address2":"Apt 42","cc":["jane@doe.com"],"city":"Alexandria","country":"US","currency":"USD","dueDate":"2021-5-31","email":"23242","items":[{"description":"Test Item 1","price":6.0,"quantity":1},{"description":"Test Item 2","price":4.0,"quantity":1}],"name":"John Doe","number":"bill1234-ABCD","passProcessingFee":true,"phone":"555-123-456","state":"VA","token":"AKnJyeLF1BjAfgfDbVUzHXk64N1WuDq3R9xtZouQFhSv","zip":"23242"} 2 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/updatePayoutRecipientResponse.json: -------------------------------------------------------------------------------- 1 | { 2 | "email": "bob@email.com", 3 | "label": "Bob123", 4 | "status": "invited", 5 | "id": "X3icwc4tE8KJ5hEPNPpDXW", 6 | "shopperId": null, 7 | "token": "2LVBntm7z92rnuVjVX5ZVaDoUEaoY4LxhZMMzPAMGyXrrBAB9vRY3BVxGLbAa6uEx7" 8 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/BitPaySDK/jsonResponse/updateSubscription.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "SeL33Hjyr3VmFHA5Skc4zy", 3 | "status": "active", 4 | "billData": { 5 | "emailBill": true, 6 | "cc": [ 7 | "jane@doe.com" 8 | ], 9 | "number": "subscription1234-ABCD", 10 | "currency": "USD", 11 | "name": "John Doe", 12 | "address1": "2630 Hegal Place", 13 | "address2": "Apt 42", 14 | "city": "Alexandria", 15 | "state": "VA", 16 | "zip": "23242", 17 | "country": "US", 18 | "email": "john@doe.com", 19 | "phone": "555-123-456", 20 | "dueDate": "2021-05-31T00:00:00.000Z", 21 | "passProcessingFee": true, 22 | "items": [ 23 | { 24 | "description": "Test Item 1", 25 | "price": 6, 26 | "quantity": 1 27 | }, 28 | { 29 | "description": "Test Item 2", 30 | "price": 4, 31 | "quantity": 1 32 | } 33 | ], 34 | "merchant": "5461e13dfd8b0047590d644a" 35 | }, 36 | "schedule": "0 0 0 * * 1", 37 | "nextDelivery": "2021-05-24T00:00:00.000Z", 38 | "createdDate": "2021-05-21T12:29:54.428Z", 39 | "token": "85yxWk7aEgPdJME6zTkXkAGA3K13MtXf3WHqvtBvyhw3ycfEebJ5WMBRZHXsssSBvn" 40 | } -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/bitpay/sdk/test/unit/Logger/LoggerTest.php: -------------------------------------------------------------------------------- 1 | $vendorDir . '/composer/InstalledVersions.php', 10 | 'Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php', 11 | ); 12 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/composer/autoload_files.php: -------------------------------------------------------------------------------- 1 | $vendorDir . '/symfony/deprecation-contracts/function.php', 10 | '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php', 11 | '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php', 12 | '7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php', 13 | '8825ede83f2f289127722d4e842cf7e8' => $vendorDir . '/symfony/polyfill-intl-grapheme/bootstrap.php', 14 | 'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php', 15 | 'b6b991a57620e2fb6b2f66f03fe9ddc2' => $vendorDir . '/symfony/string/Resources/functions.php', 16 | '37a3dc5111fe8f707ab4c132ef1dbc62' => $vendorDir . '/guzzlehttp/guzzle/src/functions_include.php', 17 | ); 18 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/composer/autoload_namespaces.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/netresearch/jsonmapper/src'), 10 | ); 11 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/composer/platform_check.php: -------------------------------------------------------------------------------- 1 | = 80100)) { 8 | $issues[] = 'Your Composer dependencies require a PHP version ">= 8.1.0". You are running ' . PHP_VERSION . '.'; 9 | } 10 | 11 | if ($issues) { 12 | if (!headers_sent()) { 13 | header('HTTP/1.1 500 Internal Server Error'); 14 | } 15 | if (!ini_get('display_errors')) { 16 | if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { 17 | fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); 18 | } elseif (!headers_sent()) { 19 | echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; 20 | } 21 | } 22 | trigger_error( 23 | 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 | E_USER_ERROR 25 | ); 26 | } 27 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/guzzlehttp/guzzle/src/BodySummarizer.php: -------------------------------------------------------------------------------- 1 | truncateAt = $truncateAt; 17 | } 18 | 19 | /** 20 | * Returns a summarized message body. 21 | */ 22 | public function summarize(MessageInterface $message): ?string 23 | { 24 | return $this->truncateAt === null 25 | ? Psr7\Message::bodySummary($message) 26 | : Psr7\Message::bodySummary($message, $this->truncateAt); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/guzzlehttp/guzzle/src/BodySummarizerInterface.php: -------------------------------------------------------------------------------- 1 | 4 | Copyright (c) 2015 Graham Campbell 5 | Copyright (c) 2017 Tobias Schultze 6 | Copyright (c) 2020 Tobias Nyholm 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/guzzlehttp/promises/src/AggregateException.php: -------------------------------------------------------------------------------- 1 | getState() === PromiseInterface::PENDING; 15 | } 16 | 17 | /** 18 | * Returns true if a promise is fulfilled or rejected. 19 | */ 20 | public static function settled(PromiseInterface $promise): bool 21 | { 22 | return $promise->getState() !== PromiseInterface::PENDING; 23 | } 24 | 25 | /** 26 | * Returns true if a promise is fulfilled. 27 | */ 28 | public static function fulfilled(PromiseInterface $promise): bool 29 | { 30 | return $promise->getState() === PromiseInterface::FULFILLED; 31 | } 32 | 33 | /** 34 | * Returns true if a promise is rejected. 35 | */ 36 | public static function rejected(PromiseInterface $promise): bool 37 | { 38 | return $promise->getState() === PromiseInterface::REJECTED; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/guzzlehttp/promises/src/PromisorInterface.php: -------------------------------------------------------------------------------- 1 | stream = $stream; 30 | $this->maxLength = $maxLength; 31 | } 32 | 33 | public function write($string): int 34 | { 35 | $diff = $this->maxLength - $this->stream->getSize(); 36 | 37 | // Begin returning 0 when the underlying stream is too large. 38 | if ($diff <= 0) { 39 | return 0; 40 | } 41 | 42 | // Write the stream or a subset of the stream if needed. 43 | if (strlen($string) < $diff) { 44 | return $this->stream->write($string); 45 | } 46 | 47 | return $this->stream->write(substr($string, 0, $diff)); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/guzzlehttp/psr7/src/Exception/MalformedUriException.php: -------------------------------------------------------------------------------- 1 | filename = $filename; 35 | $this->mode = $mode; 36 | 37 | // unsetting the property forces the first access to go through 38 | // __get(). 39 | unset($this->stream); 40 | } 41 | 42 | /** 43 | * Creates the underlying stream lazily when required. 44 | */ 45 | protected function createStream(): StreamInterface 46 | { 47 | return Utils::streamFor(Utils::tryFopen($this->filename, $this->mode)); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/guzzlehttp/psr7/src/NoSeekStream.php: -------------------------------------------------------------------------------- 1 | @,;:\\\"/[\]?={}\x01-\x20\x7F]++):[ \t]*+((?:[ \t]*+[\x21-\x7E\x80-\xFF]++)*+)[ \t]*+\r?\n)m"; 22 | public const HEADER_FOLD_REGEX = "(\r?\n[ \t]++)"; 23 | } 24 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/guzzlehttp/psr7/src/UriComparator.php: -------------------------------------------------------------------------------- 1 | getHost(), $modified->getHost()) !== 0) { 23 | return true; 24 | } 25 | 26 | if ($original->getScheme() !== $modified->getScheme()) { 27 | return true; 28 | } 29 | 30 | if (self::computePort($original) !== self::computePort($modified)) { 31 | return true; 32 | } 33 | 34 | return false; 35 | } 36 | 37 | private static function computePort(UriInterface $uri): int 38 | { 39 | $port = $uri->getPort(); 40 | 41 | if (null !== $port) { 42 | return $port; 43 | } 44 | 45 | return 'https' === $uri->getScheme() ? 443 : 80; 46 | } 47 | 48 | private function __construct() 49 | { 50 | // cannot be instantiated 51 | } 52 | } 53 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/netresearch/jsonmapper/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "netresearch/jsonmapper", 3 | "description": "Map nested JSON structures onto PHP classes", 4 | "license": "OSL-3.0", 5 | "autoload": { 6 | "psr-0": {"JsonMapper": "src/"} 7 | }, 8 | "authors": [ 9 | { 10 | "name": "Christian Weiske", 11 | "email": "cweiske@cweiske.de", 12 | "homepage": "http://github.com/cweiske/jsonmapper/", 13 | "role": "Developer" 14 | } 15 | ], 16 | "support": { 17 | "email": "cweiske@cweiske.de", 18 | "issues": "https://github.com/cweiske/jsonmapper/issues" 19 | }, 20 | "require":{ 21 | "php": ">=7.1", 22 | "ext-spl": "*", 23 | "ext-json": "*", 24 | "ext-pcre": "*", 25 | "ext-reflection": "*" 26 | }, 27 | "require-dev": { 28 | "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0 || ~10.0", 29 | "squizlabs/php_codesniffer": "~3.5" 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/netresearch/jsonmapper/phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 11 | 12 | 13 | src/ 14 | 15 | 16 | 17 | 18 | tests 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/netresearch/jsonmapper/src/JsonMapper/Exception.php: -------------------------------------------------------------------------------- 1 | 10 | * @license OSL-3.0 http://opensource.org/licenses/osl-3.0 11 | * @link http://cweiske.de/ 12 | */ 13 | 14 | /** 15 | * Simple exception 16 | * 17 | * @category Netresearch 18 | * @package JsonMapper 19 | * @author Christian Weiske 20 | * @license OSL-3.0 http://opensource.org/licenses/osl-3.0 21 | * @link http://cweiske.de/ 22 | */ 23 | class JsonMapper_Exception extends Exception 24 | { 25 | } 26 | ?> 27 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/psr/container/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2013-2016 container-interop 4 | Copyright (c) 2016 PHP Framework Interoperability Group 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy of 7 | this software and associated documentation files (the "Software"), to deal in 8 | the Software without restriction, including without limitation the rights to 9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 10 | the Software, and to permit persons to whom the Software is furnished to do so, 11 | subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/psr/container/README.md: -------------------------------------------------------------------------------- 1 | Container interface 2 | ============== 3 | 4 | This repository holds all interfaces related to [PSR-11 (Container Interface)][psr-url]. 5 | 6 | Note that this is not a Container implementation of its own. It is merely abstractions that describe the components of a Dependency Injection Container. 7 | 8 | The installable [package][package-url] and [implementations][implementation-url] are listed on Packagist. 9 | 10 | [psr-url]: https://www.php-fig.org/psr/psr-11/ 11 | [package-url]: https://packagist.org/packages/psr/container 12 | [implementation-url]: https://packagist.org/providers/psr/container-implementation 13 | 14 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/psr/container/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "psr/container", 3 | "type": "library", 4 | "description": "Common Container Interface (PHP FIG PSR-11)", 5 | "keywords": ["psr", "psr-11", "container", "container-interop", "container-interface"], 6 | "homepage": "https://github.com/php-fig/container", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "PHP-FIG", 11 | "homepage": "https://www.php-fig.org/" 12 | } 13 | ], 14 | "require": { 15 | "php": ">=7.4.0" 16 | }, 17 | "autoload": { 18 | "psr-4": { 19 | "Psr\\Container\\": "src/" 20 | } 21 | }, 22 | "extra": { 23 | "branch-alias": { 24 | "dev-master": "2.0.x-dev" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/psr/container/src/ContainerExceptionInterface.php: -------------------------------------------------------------------------------- 1 | =7.1", 26 | "psr/http-message": "^1.0 || ^2.0" 27 | }, 28 | "autoload": { 29 | "psr-4": { 30 | "Psr\\Http\\Message\\": "src/" 31 | } 32 | }, 33 | "extra": { 34 | "branch-alias": { 35 | "dev-master": "1.0.x-dev" 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/psr/http-factory/src/RequestFactoryInterface.php: -------------------------------------------------------------------------------- 1 | = 5.3. 5 | 6 | [![Build Status](https://travis-ci.org/ralouphie/getallheaders.svg?branch=master)](https://travis-ci.org/ralouphie/getallheaders) 7 | [![Coverage Status](https://coveralls.io/repos/ralouphie/getallheaders/badge.png?branch=master)](https://coveralls.io/r/ralouphie/getallheaders?branch=master) 8 | [![Latest Stable Version](https://poser.pugx.org/ralouphie/getallheaders/v/stable.png)](https://packagist.org/packages/ralouphie/getallheaders) 9 | [![Latest Unstable Version](https://poser.pugx.org/ralouphie/getallheaders/v/unstable.png)](https://packagist.org/packages/ralouphie/getallheaders) 10 | [![License](https://poser.pugx.org/ralouphie/getallheaders/license.png)](https://packagist.org/packages/ralouphie/getallheaders) 11 | 12 | 13 | This is a simple polyfill for [`getallheaders()`](http://www.php.net/manual/en/function.getallheaders.php). 14 | 15 | ## Install 16 | 17 | For PHP version **`>= 5.6`**: 18 | 19 | ``` 20 | composer require ralouphie/getallheaders 21 | ``` 22 | 23 | For PHP version **`< 5.6`**: 24 | 25 | ``` 26 | composer require ralouphie/getallheaders "^2" 27 | ``` 28 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/ralouphie/getallheaders/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ralouphie/getallheaders", 3 | "description": "A polyfill for getallheaders.", 4 | "license": "MIT", 5 | "authors": [ 6 | { 7 | "name": "Ralph Khattar", 8 | "email": "ralph.khattar@gmail.com" 9 | } 10 | ], 11 | "require": { 12 | "php": ">=5.6" 13 | }, 14 | "require-dev": { 15 | "phpunit/phpunit": "^5 || ^6.5", 16 | "php-coveralls/php-coveralls": "^2.1" 17 | }, 18 | "autoload": { 19 | "files": ["src/getallheaders.php"] 20 | }, 21 | "autoload-dev": { 22 | "psr-4": { 23 | "getallheaders\\Tests\\": "tests/" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Attribute/AsCommand.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Attribute; 13 | 14 | /** 15 | * Service tag to autoconfigure commands. 16 | */ 17 | #[\Attribute(\Attribute::TARGET_CLASS)] 18 | class AsCommand 19 | { 20 | public function __construct( 21 | public string $name, 22 | public ?string $description = null, 23 | array $aliases = [], 24 | bool $hidden = false, 25 | ) { 26 | if (!$hidden && !$aliases) { 27 | return; 28 | } 29 | 30 | $name = explode('|', $name); 31 | $name = array_merge($name, $aliases); 32 | 33 | if ($hidden && '' !== $name[0]) { 34 | array_unshift($name, ''); 35 | } 36 | 37 | $this->name = implode('|', $name); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Command/SignalableCommandInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Command; 13 | 14 | /** 15 | * Interface for command reacting to signal. 16 | * 17 | * @author Grégoire Pineau 18 | */ 19 | interface SignalableCommandInterface 20 | { 21 | /** 22 | * Returns the list of signals to subscribe. 23 | */ 24 | public function getSubscribedSignals(): array; 25 | 26 | /** 27 | * The method will be called when the application is signaled. 28 | * 29 | * @param int|false $previousExitCode 30 | * 31 | * @return int|false The exit code to return or false to continue the normal execution 32 | */ 33 | public function handleSignal(int $signal, /* int|false $previousExitCode = 0 */); 34 | } 35 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\CommandLoader; 13 | 14 | use Symfony\Component\Console\Command\Command; 15 | use Symfony\Component\Console\Exception\CommandNotFoundException; 16 | 17 | /** 18 | * @author Robin Chalas 19 | */ 20 | interface CommandLoaderInterface 21 | { 22 | /** 23 | * Loads a command. 24 | * 25 | * @throws CommandNotFoundException 26 | */ 27 | public function get(string $name): Command; 28 | 29 | /** 30 | * Checks if a command exists. 31 | */ 32 | public function has(string $name): bool; 33 | 34 | /** 35 | * @return string[] 36 | */ 37 | public function getNames(): array; 38 | } 39 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Completion/Output/BashCompletionOutput.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Completion\Output; 13 | 14 | use Symfony\Component\Console\Completion\CompletionSuggestions; 15 | use Symfony\Component\Console\Output\OutputInterface; 16 | 17 | /** 18 | * @author Wouter de Jong 19 | */ 20 | class BashCompletionOutput implements CompletionOutputInterface 21 | { 22 | public function write(CompletionSuggestions $suggestions, OutputInterface $output): void 23 | { 24 | $values = $suggestions->getValueSuggestions(); 25 | foreach ($suggestions->getOptionSuggestions() as $option) { 26 | $values[] = '--'.$option->getName(); 27 | if ($option->isNegatable()) { 28 | $values[] = '--no-'.$option->getName(); 29 | } 30 | } 31 | $output->writeln(implode("\n", $values)); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Completion/Output/CompletionOutputInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Completion\Output; 13 | 14 | use Symfony\Component\Console\Completion\CompletionSuggestions; 15 | use Symfony\Component\Console\Output\OutputInterface; 16 | 17 | /** 18 | * Transforms the {@see CompletionSuggestions} object into output readable by the shell completion. 19 | * 20 | * @author Wouter de Jong 21 | */ 22 | interface CompletionOutputInterface 23 | { 24 | public function write(CompletionSuggestions $suggestions, OutputInterface $output): void; 25 | } 26 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Completion/Output/FishCompletionOutput.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Completion\Output; 13 | 14 | use Symfony\Component\Console\Completion\CompletionSuggestions; 15 | use Symfony\Component\Console\Output\OutputInterface; 16 | 17 | /** 18 | * @author Guillaume Aveline 19 | */ 20 | class FishCompletionOutput implements CompletionOutputInterface 21 | { 22 | public function write(CompletionSuggestions $suggestions, OutputInterface $output): void 23 | { 24 | $values = $suggestions->getValueSuggestions(); 25 | foreach ($suggestions->getOptionSuggestions() as $option) { 26 | $values[] = '--'.$option->getName(); 27 | if ($option->isNegatable()) { 28 | $values[] = '--no-'.$option->getName(); 29 | } 30 | } 31 | $output->write(implode("\n", $values)); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Completion/Output/ZshCompletionOutput.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Completion\Output; 13 | 14 | use Symfony\Component\Console\Completion\CompletionSuggestions; 15 | use Symfony\Component\Console\Output\OutputInterface; 16 | 17 | /** 18 | * @author Jitendra A 19 | */ 20 | class ZshCompletionOutput implements CompletionOutputInterface 21 | { 22 | public function write(CompletionSuggestions $suggestions, OutputInterface $output): void 23 | { 24 | $values = []; 25 | foreach ($suggestions->getValueSuggestions() as $value) { 26 | $values[] = $value->getValue().($value->getDescription() ? "\t".$value->getDescription() : ''); 27 | } 28 | foreach ($suggestions->getOptionSuggestions() as $option) { 29 | $values[] = '--'.$option->getName().($option->getDescription() ? "\t".$option->getDescription() : ''); 30 | if ($option->isNegatable()) { 31 | $values[] = '--no-'.$option->getName().($option->getDescription() ? "\t".$option->getDescription() : ''); 32 | } 33 | } 34 | $output->write(implode("\n", $values)."\n"); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Completion/Suggestion.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Completion; 13 | 14 | /** 15 | * Represents a single suggested value. 16 | * 17 | * @author Wouter de Jong 18 | */ 19 | class Suggestion implements \Stringable 20 | { 21 | public function __construct( 22 | private readonly string $value, 23 | private readonly string $description = '' 24 | ) { 25 | } 26 | 27 | public function getValue(): string 28 | { 29 | return $this->value; 30 | } 31 | 32 | public function getDescription(): string 33 | { 34 | return $this->description; 35 | } 36 | 37 | public function __toString(): string 38 | { 39 | return $this->getValue(); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Descriptor/DescriptorInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Descriptor; 13 | 14 | use Symfony\Component\Console\Output\OutputInterface; 15 | 16 | /** 17 | * Descriptor interface. 18 | * 19 | * @author Jean-François Simon 20 | */ 21 | interface DescriptorInterface 22 | { 23 | /** 24 | * @return void 25 | */ 26 | public function describe(OutputInterface $output, object $object, array $options = []); 27 | } 28 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Exception/CommandNotFoundException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | /** 15 | * Represents an incorrect command name typed in the console. 16 | * 17 | * @author Jérôme Tamarelle 18 | */ 19 | class CommandNotFoundException extends \InvalidArgumentException implements ExceptionInterface 20 | { 21 | private array $alternatives; 22 | 23 | /** 24 | * @param string $message Exception message to throw 25 | * @param string[] $alternatives List of similar defined names 26 | * @param int $code Exception code 27 | * @param \Throwable|null $previous Previous exception used for the exception chaining 28 | */ 29 | public function __construct(string $message, array $alternatives = [], int $code = 0, ?\Throwable $previous = null) 30 | { 31 | parent::__construct($message, $code, $previous); 32 | 33 | $this->alternatives = $alternatives; 34 | } 35 | 36 | /** 37 | * @return string[] 38 | */ 39 | public function getAlternatives(): array 40 | { 41 | return $this->alternatives; 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Exception/ExceptionInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | /** 15 | * ExceptionInterface. 16 | * 17 | * @author Jérôme Tamarelle 18 | */ 19 | interface ExceptionInterface extends \Throwable 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Exception/InvalidArgumentException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | /** 15 | * @author Jérôme Tamarelle 16 | */ 17 | class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Exception/InvalidOptionException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | /** 15 | * Represents an incorrect option name or value typed in the console. 16 | * 17 | * @author Jérôme Tamarelle 18 | */ 19 | class InvalidOptionException extends \InvalidArgumentException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Exception/LogicException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | /** 15 | * @author Jérôme Tamarelle 16 | */ 17 | class LogicException extends \LogicException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Exception/MissingInputException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | /** 15 | * Represents failure to read input from stdin. 16 | * 17 | * @author Gabriel Ostrolucký 18 | */ 19 | class MissingInputException extends RuntimeException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Exception/NamespaceNotFoundException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | /** 15 | * Represents an incorrect namespace typed in the console. 16 | * 17 | * @author Pierre du Plessis 18 | */ 19 | class NamespaceNotFoundException extends CommandNotFoundException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Exception/RunCommandFailedException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | use Symfony\Component\Console\Messenger\RunCommandContext; 15 | 16 | /** 17 | * @author Kevin Bond 18 | */ 19 | final class RunCommandFailedException extends RuntimeException 20 | { 21 | public function __construct(\Throwable|string $exception, public readonly RunCommandContext $context) 22 | { 23 | parent::__construct( 24 | $exception instanceof \Throwable ? $exception->getMessage() : $exception, 25 | $exception instanceof \Throwable ? $exception->getCode() : 0, 26 | $exception instanceof \Throwable ? $exception : null, 27 | ); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Exception/RuntimeException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Exception; 13 | 14 | /** 15 | * @author Jérôme Tamarelle 16 | */ 17 | class RuntimeException extends \RuntimeException implements ExceptionInterface 18 | { 19 | } 20 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Formatter/NullOutputFormatter.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Formatter; 13 | 14 | /** 15 | * @author Tien Xuan Vo 16 | */ 17 | final class NullOutputFormatter implements OutputFormatterInterface 18 | { 19 | private NullOutputFormatterStyle $style; 20 | 21 | public function format(?string $message): ?string 22 | { 23 | return null; 24 | } 25 | 26 | public function getStyle(string $name): OutputFormatterStyleInterface 27 | { 28 | // to comply with the interface we must return a OutputFormatterStyleInterface 29 | return $this->style ??= new NullOutputFormatterStyle(); 30 | } 31 | 32 | public function hasStyle(string $name): bool 33 | { 34 | return false; 35 | } 36 | 37 | public function isDecorated(): bool 38 | { 39 | return false; 40 | } 41 | 42 | public function setDecorated(bool $decorated): void 43 | { 44 | // do nothing 45 | } 46 | 47 | public function setStyle(string $name, OutputFormatterStyleInterface $style): void 48 | { 49 | // do nothing 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Formatter; 13 | 14 | /** 15 | * Formatter interface for console output that supports word wrapping. 16 | * 17 | * @author Roland Franssen 18 | */ 19 | interface WrappableOutputFormatterInterface extends OutputFormatterInterface 20 | { 21 | /** 22 | * Formats a message according to the given styles, wrapping at `$width` (0 means no wrapping). 23 | * 24 | * @return string 25 | */ 26 | public function formatAndWrap(?string $message, int $width); 27 | } 28 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Helper/HelperInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Helper; 13 | 14 | /** 15 | * HelperInterface is the interface all helpers must implement. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface HelperInterface 20 | { 21 | /** 22 | * Sets the helper set associated with this helper. 23 | * 24 | * @return void 25 | */ 26 | public function setHelperSet(?HelperSet $helperSet); 27 | 28 | /** 29 | * Gets the helper set associated with this helper. 30 | */ 31 | public function getHelperSet(): ?HelperSet; 32 | 33 | /** 34 | * Returns the canonical name of this helper. 35 | * 36 | * @return string 37 | */ 38 | public function getName(); 39 | } 40 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Helper/InputAwareHelper.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Helper; 13 | 14 | use Symfony\Component\Console\Input\InputAwareInterface; 15 | use Symfony\Component\Console\Input\InputInterface; 16 | 17 | /** 18 | * An implementation of InputAwareInterface for Helpers. 19 | * 20 | * @author Wouter J 21 | */ 22 | abstract class InputAwareHelper extends Helper implements InputAwareInterface 23 | { 24 | protected $input; 25 | 26 | /** 27 | * @return void 28 | */ 29 | public function setInput(InputInterface $input) 30 | { 31 | $this->input = $input; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Helper/TableRows.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Helper; 13 | 14 | /** 15 | * @internal 16 | */ 17 | class TableRows implements \IteratorAggregate 18 | { 19 | private \Closure $generator; 20 | 21 | public function __construct(\Closure $generator) 22 | { 23 | $this->generator = $generator; 24 | } 25 | 26 | public function getIterator(): \Traversable 27 | { 28 | return ($this->generator)(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Helper/TableSeparator.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Helper; 13 | 14 | /** 15 | * Marks a row as being a separator. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | class TableSeparator extends TableCell 20 | { 21 | public function __construct(array $options = []) 22 | { 23 | parent::__construct('', $options); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Input/InputAwareInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Input; 13 | 14 | /** 15 | * InputAwareInterface should be implemented by classes that depends on the 16 | * Console Input. 17 | * 18 | * @author Wouter J 19 | */ 20 | interface InputAwareInterface 21 | { 22 | /** 23 | * Sets the Console Input. 24 | * 25 | * @return void 26 | */ 27 | public function setInput(InputInterface $input); 28 | } 29 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Input/StreamableInputInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Input; 13 | 14 | /** 15 | * StreamableInputInterface is the interface implemented by all input classes 16 | * that have an input stream. 17 | * 18 | * @author Robin Chalas 19 | */ 20 | interface StreamableInputInterface extends InputInterface 21 | { 22 | /** 23 | * Sets the input stream to read from when interacting with the user. 24 | * 25 | * This is mainly useful for testing purpose. 26 | * 27 | * @param resource $stream The input stream 28 | * 29 | * @return void 30 | */ 31 | public function setStream($stream); 32 | 33 | /** 34 | * Returns the input stream. 35 | * 36 | * @return resource|null 37 | */ 38 | public function getStream(); 39 | } 40 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-present Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Messenger/RunCommandContext.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Messenger; 13 | 14 | /** 15 | * @author Kevin Bond 16 | */ 17 | final class RunCommandContext 18 | { 19 | public function __construct( 20 | public readonly RunCommandMessage $message, 21 | public readonly int $exitCode, 22 | public readonly string $output, 23 | ) { 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Messenger/RunCommandMessage.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Messenger; 13 | 14 | use Symfony\Component\Console\Exception\RunCommandFailedException; 15 | 16 | /** 17 | * @author Kevin Bond 18 | */ 19 | class RunCommandMessage implements \Stringable 20 | { 21 | /** 22 | * @param bool $throwOnFailure If the command has a non-zero exit code, throw {@see RunCommandFailedException} 23 | * @param bool $catchExceptions @see Application::setCatchExceptions() 24 | */ 25 | public function __construct( 26 | public readonly string $input, 27 | public readonly bool $throwOnFailure = true, 28 | public readonly bool $catchExceptions = false, 29 | ) { 30 | } 31 | 32 | public function __toString(): string 33 | { 34 | return $this->input; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Output/BufferedOutput.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Output; 13 | 14 | /** 15 | * @author Jean-François Simon 16 | */ 17 | class BufferedOutput extends Output 18 | { 19 | private string $buffer = ''; 20 | 21 | /** 22 | * Empties buffer and returns its content. 23 | */ 24 | public function fetch(): string 25 | { 26 | $content = $this->buffer; 27 | $this->buffer = ''; 28 | 29 | return $content; 30 | } 31 | 32 | /** 33 | * @return void 34 | */ 35 | protected function doWrite(string $message, bool $newline) 36 | { 37 | $this->buffer .= $message; 38 | 39 | if ($newline) { 40 | $this->buffer .= \PHP_EOL; 41 | } 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Output/ConsoleOutputInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Output; 13 | 14 | /** 15 | * ConsoleOutputInterface is the interface implemented by ConsoleOutput class. 16 | * This adds information about stderr and section output stream. 17 | * 18 | * @author Dariusz Górecki 19 | */ 20 | interface ConsoleOutputInterface extends OutputInterface 21 | { 22 | /** 23 | * Gets the OutputInterface for errors. 24 | */ 25 | public function getErrorOutput(): OutputInterface; 26 | 27 | /** 28 | * @return void 29 | */ 30 | public function setErrorOutput(OutputInterface $error); 31 | 32 | public function section(): ConsoleSectionOutput; 33 | } 34 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/README.md: -------------------------------------------------------------------------------- 1 | Console Component 2 | ================= 3 | 4 | The Console component eases the creation of beautiful and testable command line 5 | interfaces. 6 | 7 | Sponsor 8 | ------- 9 | 10 | The Console component for Symfony 6.4 is [backed][1] by [Les-Tilleuls.coop][2]. 11 | 12 | Les-Tilleuls.coop is a team of 70+ Symfony experts who can help you design, develop and 13 | fix your projects. They provide a wide range of professional services including development, 14 | consulting, coaching, training and audits. They also are highly skilled in JS, Go and DevOps. 15 | They are a worker cooperative! 16 | 17 | Help Symfony by [sponsoring][3] its development! 18 | 19 | Resources 20 | --------- 21 | 22 | * [Documentation](https://symfony.com/doc/current/components/console.html) 23 | * [Contributing](https://symfony.com/doc/current/contributing/index.html) 24 | * [Report issues](https://github.com/symfony/symfony/issues) and 25 | [send Pull Requests](https://github.com/symfony/symfony/pulls) 26 | in the [main Symfony repository](https://github.com/symfony/symfony) 27 | 28 | Credits 29 | ------- 30 | 31 | `Resources/bin/hiddeninput.exe` is a third party binary provided within this 32 | component. Find sources and license at https://github.com/Seldaek/hidden-input. 33 | 34 | [1]: https://symfony.com/backers 35 | [2]: https://les-tilleuls.coop 36 | [3]: https://symfony.com/sponsor 37 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Resources/bin/hiddeninput.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitpay/whmcs-plugin/d494d7bdea06b670da4c32772cfd3d459a450896/modules/gateways/bitpaycheckout/vendor/symfony/console/Resources/bin/hiddeninput.exe -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Resources/completion.fish: -------------------------------------------------------------------------------- 1 | # This file is part of the Symfony package. 2 | # 3 | # (c) Fabien Potencier 4 | # 5 | # For the full copyright and license information, please view 6 | # https://symfony.com/doc/current/contributing/code/license.html 7 | 8 | function _sf_{{ COMMAND_NAME }} 9 | set sf_cmd (commandline -o) 10 | set c (count (commandline -oc)) 11 | 12 | set completecmd "$sf_cmd[1]" "_complete" "--no-interaction" "-sfish" "-a{{ VERSION }}" 13 | 14 | for i in $sf_cmd 15 | if [ $i != "" ] 16 | set completecmd $completecmd "-i$i" 17 | end 18 | end 19 | 20 | set completecmd $completecmd "-c$c" 21 | 22 | set sfcomplete ($completecmd) 23 | 24 | for i in $sfcomplete 25 | echo $i 26 | end 27 | end 28 | 29 | complete -c '{{ COMMAND_NAME }}' -a '(_sf_{{ COMMAND_NAME }})' -f 30 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/SignalRegistry/SignalMap.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\SignalRegistry; 13 | 14 | /** 15 | * @author Grégoire Pineau 16 | */ 17 | class SignalMap 18 | { 19 | private static array $map; 20 | 21 | public static function getSignalName(int $signal): ?string 22 | { 23 | if (!\extension_loaded('pcntl')) { 24 | return null; 25 | } 26 | 27 | if (!isset(self::$map)) { 28 | $r = new \ReflectionExtension('pcntl'); 29 | $c = $r->getConstants(); 30 | $map = array_filter($c, fn ($k) => str_starts_with($k, 'SIG') && !str_starts_with($k, 'SIG_'), \ARRAY_FILTER_USE_KEY); 31 | self::$map = array_flip($map); 32 | } 33 | 34 | return self::$map[$signal] ?? null; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/console/Tester/Constraint/CommandIsSuccessful.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Console\Tester\Constraint; 13 | 14 | use PHPUnit\Framework\Constraint\Constraint; 15 | use Symfony\Component\Console\Command\Command; 16 | 17 | final class CommandIsSuccessful extends Constraint 18 | { 19 | public function toString(): string 20 | { 21 | return 'is successful'; 22 | } 23 | 24 | protected function matches($other): bool 25 | { 26 | return Command::SUCCESS === $other; 27 | } 28 | 29 | protected function failureDescription($other): string 30 | { 31 | return 'the command '.$this->toString(); 32 | } 33 | 34 | protected function additionalFailureDescription($other): string 35 | { 36 | $mapping = [ 37 | Command::FAILURE => 'Command failed.', 38 | Command::INVALID => 'Command was invalid.', 39 | ]; 40 | 41 | return $mapping[$other] ?? sprintf('Command returned exit status %d.', $other); 42 | } 43 | } 44 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/deprecation-contracts/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | CHANGELOG 2 | ========= 3 | 4 | The changelog is maintained for all Symfony contracts at the following URL: 5 | https://github.com/symfony/contracts/blob/main/CHANGELOG.md 6 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/deprecation-contracts/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2020-present Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/deprecation-contracts/README.md: -------------------------------------------------------------------------------- 1 | Symfony Deprecation Contracts 2 | ============================= 3 | 4 | A generic function and convention to trigger deprecation notices. 5 | 6 | This package provides a single global function named `trigger_deprecation()` that triggers silenced deprecation notices. 7 | 8 | By using a custom PHP error handler such as the one provided by the Symfony ErrorHandler component, 9 | the triggered deprecations can be caught and logged for later discovery, both on dev and prod environments. 10 | 11 | The function requires at least 3 arguments: 12 | - the name of the Composer package that is triggering the deprecation 13 | - the version of the package that introduced the deprecation 14 | - the message of the deprecation 15 | - more arguments can be provided: they will be inserted in the message using `printf()` formatting 16 | 17 | Example: 18 | ```php 19 | trigger_deprecation('symfony/blockchain', '8.9', 'Using "%s" is deprecated, use "%s" instead.', 'bitcoin', 'fabcoin'); 20 | ``` 21 | 22 | This will generate the following message: 23 | `Since symfony/blockchain 8.9: Using "bitcoin" is deprecated, use "fabcoin" instead.` 24 | 25 | While not recommended, the deprecation notices can be completely ignored by declaring an empty 26 | `function trigger_deprecation() {}` in your application. 27 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/deprecation-contracts/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/deprecation-contracts", 3 | "type": "library", 4 | "description": "A generic function and convention to trigger deprecation notices", 5 | "homepage": "https://symfony.com", 6 | "license": "MIT", 7 | "authors": [ 8 | { 9 | "name": "Nicolas Grekas", 10 | "email": "p@tchwork.com" 11 | }, 12 | { 13 | "name": "Symfony Community", 14 | "homepage": "https://symfony.com/contributors" 15 | } 16 | ], 17 | "require": { 18 | "php": ">=8.1" 19 | }, 20 | "autoload": { 21 | "files": [ 22 | "function.php" 23 | ] 24 | }, 25 | "minimum-stability": "dev", 26 | "extra": { 27 | "branch-alias": { 28 | "dev-main": "3.5-dev" 29 | }, 30 | "thanks": { 31 | "name": "symfony/contracts", 32 | "url": "https://github.com/symfony/contracts" 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/deprecation-contracts/function.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | if (!function_exists('trigger_deprecation')) { 13 | /** 14 | * Triggers a silenced deprecation notice. 15 | * 16 | * @param string $package The name of the Composer package that is triggering the deprecation 17 | * @param string $version The version of the package that introduced the deprecation 18 | * @param string $message The message of the deprecation 19 | * @param mixed ...$args Values to insert in the message using printf() formatting 20 | * 21 | * @author Nicolas Grekas 22 | */ 23 | function trigger_deprecation(string $package, string $version, string $message, mixed ...$args): void 24 | { 25 | @trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/polyfill-ctype/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018-present Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/polyfill-ctype/README.md: -------------------------------------------------------------------------------- 1 | Symfony Polyfill / Ctype 2 | ======================== 3 | 4 | This component provides `ctype_*` functions to users who run php versions without the ctype extension. 5 | 6 | More information can be found in the 7 | [main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md). 8 | 9 | License 10 | ======= 11 | 12 | This library is released under the [MIT license](LICENSE). 13 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/polyfill-ctype/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/polyfill-ctype", 3 | "type": "library", 4 | "description": "Symfony polyfill for ctype functions", 5 | "keywords": ["polyfill", "compatibility", "portable", "ctype"], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Gert de Pagter", 11 | "email": "BackEndTea@gmail.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=7.1" 20 | }, 21 | "provide": { 22 | "ext-ctype": "*" 23 | }, 24 | "autoload": { 25 | "psr-4": { "Symfony\\Polyfill\\Ctype\\": "" }, 26 | "files": [ "bootstrap.php" ] 27 | }, 28 | "suggest": { 29 | "ext-ctype": "For best performance" 30 | }, 31 | "minimum-stability": "dev", 32 | "extra": { 33 | "thanks": { 34 | "name": "symfony/polyfill", 35 | "url": "https://github.com/symfony/polyfill" 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/polyfill-intl-grapheme/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015-present Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/polyfill-intl-grapheme/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/polyfill-intl-grapheme", 3 | "type": "library", 4 | "description": "Symfony polyfill for intl's grapheme_* functions", 5 | "keywords": ["polyfill", "shim", "compatibility", "portable", "intl", "grapheme"], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Nicolas Grekas", 11 | "email": "p@tchwork.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=7.1" 20 | }, 21 | "autoload": { 22 | "psr-4": { "Symfony\\Polyfill\\Intl\\Grapheme\\": "" }, 23 | "files": [ "bootstrap.php" ] 24 | }, 25 | "suggest": { 26 | "ext-intl": "For best performance" 27 | }, 28 | "minimum-stability": "dev", 29 | "extra": { 30 | "thanks": { 31 | "name": "symfony/polyfill", 32 | "url": "https://github.com/symfony/polyfill" 33 | } 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/polyfill-intl-normalizer/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015-present Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/polyfill-intl-normalizer/README.md: -------------------------------------------------------------------------------- 1 | Symfony Polyfill / Intl: Normalizer 2 | =================================== 3 | 4 | This component provides a fallback implementation for the 5 | [`Normalizer`](https://php.net/Normalizer) class provided 6 | by the [Intl](https://php.net/intl) extension. 7 | 8 | More information can be found in the 9 | [main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md). 10 | 11 | License 12 | ======= 13 | 14 | This library is released under the [MIT license](LICENSE). 15 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | use Symfony\Polyfill\Intl\Normalizer as p; 13 | 14 | if (\PHP_VERSION_ID >= 80000) { 15 | return require __DIR__.'/bootstrap80.php'; 16 | } 17 | 18 | if (!function_exists('normalizer_is_normalized')) { 19 | function normalizer_is_normalized($string, $form = p\Normalizer::FORM_C) { return p\Normalizer::isNormalized($string, $form); } 20 | } 21 | if (!function_exists('normalizer_normalize')) { 22 | function normalizer_normalize($string, $form = p\Normalizer::FORM_C) { return p\Normalizer::normalize($string, $form); } 23 | } 24 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | use Symfony\Polyfill\Intl\Normalizer as p; 13 | 14 | if (!function_exists('normalizer_is_normalized')) { 15 | function normalizer_is_normalized(?string $string, ?int $form = p\Normalizer::FORM_C): bool { return p\Normalizer::isNormalized((string) $string, (int) $form); } 16 | } 17 | if (!function_exists('normalizer_normalize')) { 18 | function normalizer_normalize(?string $string, ?int $form = p\Normalizer::FORM_C): string|false { return p\Normalizer::normalize((string) $string, (int) $form); } 19 | } 20 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/polyfill-intl-normalizer/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/polyfill-intl-normalizer", 3 | "type": "library", 4 | "description": "Symfony polyfill for intl's Normalizer class and related functions", 5 | "keywords": ["polyfill", "shim", "compatibility", "portable", "intl", "normalizer"], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Nicolas Grekas", 11 | "email": "p@tchwork.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=7.1" 20 | }, 21 | "autoload": { 22 | "psr-4": { "Symfony\\Polyfill\\Intl\\Normalizer\\": "" }, 23 | "files": [ "bootstrap.php" ], 24 | "classmap": [ "Resources/stubs" ] 25 | }, 26 | "suggest": { 27 | "ext-intl": "For best performance" 28 | }, 29 | "minimum-stability": "dev", 30 | "extra": { 31 | "thanks": { 32 | "name": "symfony/polyfill", 33 | "url": "https://github.com/symfony/polyfill" 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/polyfill-mbstring/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015-present Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/polyfill-mbstring/README.md: -------------------------------------------------------------------------------- 1 | Symfony Polyfill / Mbstring 2 | =========================== 3 | 4 | This component provides a partial, native PHP implementation for the 5 | [Mbstring](https://php.net/mbstring) extension. 6 | 7 | More information can be found in the 8 | [main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md). 9 | 10 | License 11 | ======= 12 | 13 | This library is released under the [MIT license](LICENSE). 14 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/polyfill-mbstring/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/polyfill-mbstring", 3 | "type": "library", 4 | "description": "Symfony polyfill for the Mbstring extension", 5 | "keywords": ["polyfill", "shim", "compatibility", "portable", "mbstring"], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Nicolas Grekas", 11 | "email": "p@tchwork.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=7.1" 20 | }, 21 | "provide": { 22 | "ext-mbstring": "*" 23 | }, 24 | "autoload": { 25 | "psr-4": { "Symfony\\Polyfill\\Mbstring\\": "" }, 26 | "files": [ "bootstrap.php" ] 27 | }, 28 | "suggest": { 29 | "ext-mbstring": "For best performance" 30 | }, 31 | "minimum-stability": "dev", 32 | "extra": { 33 | "thanks": { 34 | "name": "symfony/polyfill", 35 | "url": "https://github.com/symfony/polyfill" 36 | } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/service-contracts/Attribute/Required.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Contracts\Service\Attribute; 13 | 14 | /** 15 | * A required dependency. 16 | * 17 | * This attribute indicates that a property holds a required dependency. The annotated property or method should be 18 | * considered during the instantiation process of the containing class. 19 | * 20 | * @author Alexander M. Turek 21 | */ 22 | #[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY)] 23 | final class Required 24 | { 25 | } 26 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/service-contracts/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | CHANGELOG 2 | ========= 3 | 4 | The changelog is maintained for all Symfony contracts at the following URL: 5 | https://github.com/symfony/contracts/blob/main/CHANGELOG.md 6 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/service-contracts/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2018-present Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/service-contracts/README.md: -------------------------------------------------------------------------------- 1 | Symfony Service Contracts 2 | ========================= 3 | 4 | A set of abstractions extracted out of the Symfony components. 5 | 6 | Can be used to build on semantics that the Symfony components proved useful and 7 | that already have battle tested implementations. 8 | 9 | See https://github.com/symfony/contracts/blob/main/README.md for more information. 10 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/service-contracts/ResetInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Contracts\Service; 13 | 14 | /** 15 | * Provides a way to reset an object to its initial state. 16 | * 17 | * When calling the "reset()" method on an object, it should be put back to its 18 | * initial state. This usually means clearing any internal buffers and forwarding 19 | * the call to internal dependencies. All properties of the object should be put 20 | * back to the same state it had when it was first ready to use. 21 | * 22 | * This method could be called, for example, to recycle objects that are used as 23 | * services, so that they can be used to handle several requests in the same 24 | * process loop (note that we advise making your services stateless instead of 25 | * implementing this interface when possible.) 26 | */ 27 | interface ResetInterface 28 | { 29 | /** 30 | * @return void 31 | */ 32 | public function reset(); 33 | } 34 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/service-contracts/ServiceCollectionInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Contracts\Service; 13 | 14 | /** 15 | * A ServiceProviderInterface that is also countable and iterable. 16 | * 17 | * @author Kevin Bond 18 | * 19 | * @template-covariant T of mixed 20 | * 21 | * @extends ServiceProviderInterface 22 | * @extends \IteratorAggregate 23 | */ 24 | interface ServiceCollectionInterface extends ServiceProviderInterface, \Countable, \IteratorAggregate 25 | { 26 | } 27 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/service-contracts/Test/ServiceLocatorTest.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Contracts\Service\Test; 13 | 14 | class_alias(ServiceLocatorTestCase::class, ServiceLocatorTest::class); 15 | 16 | if (false) { 17 | /** 18 | * @deprecated since PHPUnit 9.6 19 | */ 20 | class ServiceLocatorTest 21 | { 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/service-contracts/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/service-contracts", 3 | "type": "library", 4 | "description": "Generic abstractions related to writing services", 5 | "keywords": ["abstractions", "contracts", "decoupling", "interfaces", "interoperability", "standards"], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Nicolas Grekas", 11 | "email": "p@tchwork.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=8.1", 20 | "psr/container": "^1.1|^2.0", 21 | "symfony/deprecation-contracts": "^2.5|^3" 22 | }, 23 | "conflict": { 24 | "ext-psr": "<1.1|>=2" 25 | }, 26 | "autoload": { 27 | "psr-4": { "Symfony\\Contracts\\Service\\": "" }, 28 | "exclude-from-classmap": [ 29 | "/Test/" 30 | ] 31 | }, 32 | "minimum-stability": "dev", 33 | "extra": { 34 | "branch-alias": { 35 | "dev-main": "3.5-dev" 36 | }, 37 | "thanks": { 38 | "name": "symfony/contracts", 39 | "url": "https://github.com/symfony/contracts" 40 | } 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/string/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | CHANGELOG 2 | ========= 3 | 4 | 6.2 5 | --- 6 | 7 | * Add support for emoji in `AsciiSlugger` 8 | 9 | 5.4 10 | --- 11 | 12 | * Add `trimSuffix()` and `trimPrefix()` methods 13 | 14 | 5.3 15 | --- 16 | 17 | * Made `AsciiSlugger` fallback to parent locale's symbolsMap 18 | 19 | 5.2.0 20 | ----- 21 | 22 | * added a `FrenchInflector` class 23 | 24 | 5.1.0 25 | ----- 26 | 27 | * added the `AbstractString::reverse()` method 28 | * made `AbstractString::width()` follow POSIX.1-2001 29 | * added `LazyString` which provides memoizing stringable objects 30 | * The component is not marked as `@experimental` anymore 31 | * added the `s()` helper method to get either an `UnicodeString` or `ByteString` instance, 32 | depending of the input string UTF-8 compliancy 33 | * added `$cut` parameter to `Symfony\Component\String\AbstractString::truncate()` 34 | * added `AbstractString::containsAny()` 35 | * allow passing a string of custom characters to `ByteString::fromRandom()` 36 | 37 | 5.0.0 38 | ----- 39 | 40 | * added the component as experimental 41 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/string/Exception/ExceptionInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\String\Exception; 13 | 14 | interface ExceptionInterface extends \Throwable 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/string/Exception/InvalidArgumentException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\String\Exception; 13 | 14 | class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/string/Exception/RuntimeException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\String\Exception; 13 | 14 | class RuntimeException extends \RuntimeException implements ExceptionInterface 15 | { 16 | } 17 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/string/Inflector/InflectorInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\String\Inflector; 13 | 14 | interface InflectorInterface 15 | { 16 | /** 17 | * Returns the singular forms of a string. 18 | * 19 | * If the method can't determine the form with certainty, several possible singulars are returned. 20 | * 21 | * @return string[] 22 | */ 23 | public function singularize(string $plural): array; 24 | 25 | /** 26 | * Returns the plural forms of a string. 27 | * 28 | * If the method can't determine the form with certainty, several possible plurals are returned. 29 | * 30 | * @return string[] 31 | */ 32 | public function pluralize(string $singular): array; 33 | } 34 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/string/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2019-present Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/string/README.md: -------------------------------------------------------------------------------- 1 | String Component 2 | ================ 3 | 4 | The String component provides an object-oriented API to strings and deals 5 | with bytes, UTF-8 code points and grapheme clusters in a unified way. 6 | 7 | Resources 8 | --------- 9 | 10 | * [Documentation](https://symfony.com/doc/current/components/string.html) 11 | * [Contributing](https://symfony.com/doc/current/contributing/index.html) 12 | * [Report issues](https://github.com/symfony/symfony/issues) and 13 | [send Pull Requests](https://github.com/symfony/symfony/pulls) 14 | in the [main Symfony repository](https://github.com/symfony/symfony) 15 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/string/Resources/functions.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\String; 13 | 14 | if (!\function_exists(u::class)) { 15 | function u(?string $string = ''): UnicodeString 16 | { 17 | return new UnicodeString($string ?? ''); 18 | } 19 | } 20 | 21 | if (!\function_exists(b::class)) { 22 | function b(?string $string = ''): ByteString 23 | { 24 | return new ByteString($string ?? ''); 25 | } 26 | } 27 | 28 | if (!\function_exists(s::class)) { 29 | /** 30 | * @return UnicodeString|ByteString 31 | */ 32 | function s(?string $string = ''): AbstractString 33 | { 34 | $string ??= ''; 35 | 36 | return preg_match('//u', $string) ? new UnicodeString($string) : new ByteString($string); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/string/Slugger/SluggerInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\String\Slugger; 13 | 14 | use Symfony\Component\String\AbstractUnicodeString; 15 | 16 | /** 17 | * Creates a URL-friendly slug from a given string. 18 | * 19 | * @author Titouan Galopin 20 | */ 21 | interface SluggerInterface 22 | { 23 | /** 24 | * Creates a slug for the given string and locale, using appropriate transliteration when needed. 25 | */ 26 | public function slug(string $string, string $separator = '-', ?string $locale = null): AbstractUnicodeString; 27 | } 28 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/yaml/Exception/DumpException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Yaml\Exception; 13 | 14 | /** 15 | * Exception class thrown when an error occurs during dumping. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | class DumpException extends RuntimeException 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/yaml/Exception/ExceptionInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Yaml\Exception; 13 | 14 | /** 15 | * Exception interface for all exceptions thrown by the component. 16 | * 17 | * @author Fabien Potencier 18 | */ 19 | interface ExceptionInterface extends \Throwable 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/yaml/Exception/RuntimeException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Yaml\Exception; 13 | 14 | /** 15 | * Exception class thrown when an error occurs during parsing. 16 | * 17 | * @author Romain Neutron 18 | */ 19 | class RuntimeException extends \RuntimeException implements ExceptionInterface 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/yaml/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2004-present Fabien Potencier 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is furnished 8 | to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in all 11 | copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/yaml/README.md: -------------------------------------------------------------------------------- 1 | Yaml Component 2 | ============== 3 | 4 | The Yaml component loads and dumps YAML files. 5 | 6 | Resources 7 | --------- 8 | 9 | * [Documentation](https://symfony.com/doc/current/components/yaml.html) 10 | * [Contributing](https://symfony.com/doc/current/contributing/index.html) 11 | * [Report issues](https://github.com/symfony/symfony/issues) and 12 | [send Pull Requests](https://github.com/symfony/symfony/pulls) 13 | in the [main Symfony repository](https://github.com/symfony/symfony) 14 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/yaml/Tag/TaggedValue.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Symfony\Component\Yaml\Tag; 13 | 14 | /** 15 | * @author Nicolas Grekas 16 | * @author Guilhem N. 17 | */ 18 | final class TaggedValue 19 | { 20 | private string $tag; 21 | private mixed $value; 22 | 23 | public function __construct(string $tag, mixed $value) 24 | { 25 | $this->tag = $tag; 26 | $this->value = $value; 27 | } 28 | 29 | public function getTag(): string 30 | { 31 | return $this->tag; 32 | } 33 | 34 | public function getValue(): mixed 35 | { 36 | return $this->value; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/vendor/symfony/yaml/composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "symfony/yaml", 3 | "type": "library", 4 | "description": "Loads and dumps YAML files", 5 | "keywords": [], 6 | "homepage": "https://symfony.com", 7 | "license": "MIT", 8 | "authors": [ 9 | { 10 | "name": "Fabien Potencier", 11 | "email": "fabien@symfony.com" 12 | }, 13 | { 14 | "name": "Symfony Community", 15 | "homepage": "https://symfony.com/contributors" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=8.1", 20 | "symfony/deprecation-contracts": "^2.5|^3", 21 | "symfony/polyfill-ctype": "^1.8" 22 | }, 23 | "require-dev": { 24 | "symfony/console": "^5.4|^6.0|^7.0" 25 | }, 26 | "conflict": { 27 | "symfony/console": "<5.4" 28 | }, 29 | "autoload": { 30 | "psr-4": { "Symfony\\Component\\Yaml\\": "" }, 31 | "exclude-from-classmap": [ 32 | "/Tests/" 33 | ] 34 | }, 35 | "bin": [ 36 | "Resources/bin/yaml-lint" 37 | ], 38 | "minimum-stability": "dev" 39 | } 40 | -------------------------------------------------------------------------------- /modules/gateways/bitpaycheckout/whmcs.json: -------------------------------------------------------------------------------- 1 | { 2 | "schema": "1.0", 3 | "type": "whmcs-gateways", 4 | "name": "BitPayCheckout", 5 | "license": "MIT", 6 | "category": "payments", 7 | "description": { 8 | "name": "BitPay Checkout", 9 | "tagline": "Accept cryptocurrency payments using BitPay", 10 | "features": [ 11 | "Accept payment in all major cryptocurrencies including BTC, ETH, USDC, LTC, and more. Customers can use any crypto wallet to pay", 12 | "Price all payments in your local currency and let BitPay handle the conversion to crypto", 13 | "Get settled daily via bank transfer (USD, EUR, GBP, etc.) or in your preferred cryptocurrency", 14 | "No chargeback risk associated with crypto payments", 15 | "Manage and track your crypto payments and merchant account using BitPay's web portal" 16 | ] 17 | }, 18 | "logo": { 19 | "filename": "icon-256x256.png" 20 | }, 21 | "support": { 22 | "homepage": "https:\/\/www.bitpay.com\/", 23 | "learn_more": "https:\/\/www.bitpay.com\/online-payments", 24 | "email": "support@bitpay.com", 25 | "support_url": "https:\/\/www.bitpay.com\/request-help", 26 | "docs_url": "https:\/\/developer.bitpay.com\/" 27 | }, 28 | "authors": [ 29 | { 30 | "name": "BitPay", 31 | "homepage": "https:\/\/www.bitpay.com\/" 32 | } 33 | ] 34 | } 35 | -------------------------------------------------------------------------------- /phpcbf.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitpay/whmcs-plugin/d494d7bdea06b670da4c32772cfd3d459a450896/phpcbf.phar -------------------------------------------------------------------------------- /phpcs.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitpay/whmcs-plugin/d494d7bdea06b670da4c32772cfd3d459a450896/phpcs.phar -------------------------------------------------------------------------------- /phpcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | This ruleset enforces the PSR1 and PSR2 coding standards. See 6 | https://developers.whmcs.com/modules/style-guide/ for more information. 7 | 8 | 9 | 10 | 11 | 12 | modules/ 13 | */vendor/* 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /screenshots/screenshot1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitpay/whmcs-plugin/d494d7bdea06b670da4c32772cfd3d459a450896/screenshots/screenshot1.png -------------------------------------------------------------------------------- /screenshots/screenshot2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitpay/whmcs-plugin/d494d7bdea06b670da4c32772cfd3d459a450896/screenshots/screenshot2.png -------------------------------------------------------------------------------- /screenshots/screenshot3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bitpay/whmcs-plugin/d494d7bdea06b670da4c32772cfd3d459a450896/screenshots/screenshot3.png --------------------------------------------------------------------------------