bitpay / php-bitpay-client

PHP implementation for the BitPay cryptographically secure RESTful API
MIT License
165 stars 149 forks source link

Not receiving IPNs #258

Closed Martok88 closed 6 years ago

Martok88 commented 6 years ago

I've set up my script using the testnet, but I'm not receiving any IPNs from bitpay. Manually sending an IPN with curl works as expected.

pieterpoorthuis commented 6 years ago

We have some issues with IPNs on test.bitpay.com not working since yesterday. We'll get it fixed today.

hopeseekr commented 6 years ago

I'm having this exact same problem on testnet this entire week of late February...

        $client = getAuthorizedTestnetClient();

        $invoice = new BitpayInvoice();
        $invoice->setExtendedNotifications(true);
        $invoice->setNotificationUrl('https://phpexperts.duckdns.org/webhooks/bitpay-ipn');

        $client->createInvoice($invoice);

My IPN notification domain is much different from the client I'm building the app for.

pieterpoorthuis commented 6 years ago

Can you provide an example BitPay invoice id?

hopeseekr commented 6 years ago

I found out that it just doesn't work on TestNet. works all the time on LIvenet.

pieterpoorthuis commented 6 years ago

Can you provide an example BitPay invoice id for which you expected an IPN?