Handle nil strings
Refactored proof of payment verifier