Does not pay winners properly.
Fixed. Payment and refunds work properly now.
Merge remote-tracking branch 'upstream/master'