bitpay / php-bitpay-client

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

No callback for Invoice with status "new" #244

Closed MoritzVonWirth closed 7 years ago

MoritzVonWirth commented 7 years ago

When I use this code:

$invoice->setNotificationUrl($uri);
$invoice->setFullNotifications(true);

I dont get a callback with the status "new". It doesnt work anymore since 2 weeks. All callbacks that I recieve are status: "paid", "confirmed" and "complete".

pieterpoorthuis commented 7 years ago

IPN 'new' should be sent for paidPartial payments. Can you provide a BitPay invoice id where you expected status 'new'?

MoritzVonWirth commented 7 years ago

It was my mistake, I've misunderstood it in the documentation. I didnt know that 'new' should only be sent for paidPartial.

Thanks for your fast response, I'm really sorry.