paymentwall/paymentwall-php — pull request #4 by gadelhas (2014-02-22 14:44:09+00:00)
Title: Fix type 0 items

Since paymentwall only sends 3 types of items (0, 1, 2), and only ip's of paymentwall can send queries (whitelist) there's no need checking if the type is inside that array.
0 is considered empty by PHP (at least my build) so this solution should work for everyone.