A simple payment abstraction library for china payment gateways