Payment Gateway API this is the plugable module that provide API for payments on Drupal site. This module will be useful to those who do not need the full functionality of a shopping cart, but need to do accept payments online. For example: donations, pay for access to content, the simple site sells only a single product, etc.
Now module provides access to the following payment gateways:
If you develop a new gateway, please let us know so that we can add it to this list.
How to use module
To use this module you need to create a form with the payment data and call pgapi_transatstion_save($payment). Also, you can see the code module pg_simplepay for the study.