Skip to content

Invalid invoice id #0 #13

@imprezahost

Description

@imprezahost

Hello,

When adding the Tor URI in the module, when trying to make an invoice, I get the error:

[ERROR] In modules/gateways/btcpay/createinvoice.php: Invalid invoice id #0 in ...onion/modules/gateways/btcpay/createinvoice.php

We use a .onion mirror in our WHMCS, if I pay the invoice on clearnet, everything works normally, but if I access our WHMCS through the .onion domain, when trying to pay the invoice, I receive the error above.

Noting that everything happens within the Tor network, with the .onion URI filled in. If I remove the Tor URI in the module settings, then I can pay the invoice normally, but it leaves my WHMCS .onion domain and takes me to the clearnet on the common BTCPay domain.

Unfortunately I was unable to diagnose the real problem. Could it be that he tries to POST something to the BTCPay .onion domain?

I couldn't find any error in the logs, maybe it can't find BTCPay within the Tor network

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions