There are comopanies like barlcays-bank who offer online transaction processing.
You can simply send the amount and a reference to them through a POST, and they handle the secure transaction for you, and give you the result back through http and email.