PetPlugin: fix bug with payments.