WordPress Coding Standards optimizations.
Delete empty not used class.
Update post meta after payment update.
WordPress Coding Standards optimizations.