Solved the problem with buy now form class

Fix for #795
Removed anonymous function

Fix for #795
Merge pull request #938 from rubensargsyan/patch-2

Solved the problem with buy now form class