btcpayserver / woocommerce-plugin

Plugin for connecting Woocommerce with BTCPayServer
https://btcpayserver.org/
Other
51 stars 41 forks source link

Fix IPN callbacks #32

Closed jooray closed 5 years ago

jooray commented 5 years ago

The if did not make sense and was failing even for correctly set expected_invoiceId. empty should be enough according to PHP documentation, it includes isset.

NicolasDorier commented 5 years ago

Ah sorry already pushed via https://github.com/btcpayserver/woocommerce-plugin/commit/54bc3695b597d4a615010dd590f6483ed6bc3cc4

NicolasDorier commented 5 years ago

should be updated now