Added actions class and fixed namespace to 'Pay'.