Payment method library for E-com sites