I am a core PHP developer and want to integrate a PayUMoney payment gateway. How can I do this in core PHP? I am a Java developer but I want to learn PHP or Ruby for web development. Which should I learn?