First implementation of Payment Services integration.

--HG--
branch : sandbox
Updated payment handler to properly handle error conditions.

--HG--
branch : sandbox