[payment] state changed event.
run code through php-cs-fixer
Merge pull request #532 from formapro/payment-state-changed-event

[payment] payment state changed events.