btcpayserver / whmcs-plugin

WHMCS plugin for BTCPay
MIT License
22 stars 20 forks source link

Curl Error #14

Closed plexpin closed 3 months ago

plexpin commented 4 months ago

Installed 'i think' from the instructions from your guide but when I click "Pay Now" it goes to a page saying

[ERROR] In modules/gateways/btcpay/createinvoice.php: Invoice error: 'curl errno: 3, error: '

I have also seen the URL changes slightly to

https://redacteddomain.com//modules/gateways/btcpay/createinvoice.php << 2 forward slashes.

I have checked its on PHP 8.1 - Has all the modules enabled too and I am using WHMCS 8.6.0 R1

Any ideas?

BitcoinMitchell commented 4 months ago

Cross-posting from Mattermost:

as discussed on Telegram the problem is that the URI needs to be the URL of the BTCPay Server instance, e.g. https://mainnet.demo.btcpayserver.org/