payment

Payment Gateway API

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.

Payment methods

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.

Payment

Payment is a fully pluggable and reusable platform for processing payments. Modules implementing it and payment methods are completely unaware of eachother, which means that any module can use any payment method plugged into Payment and vice versa.
This handbook section describes the thoughts behind and the workflow of the Payment project, which is useful for site builders and developers.

  • API documentation
  • For callback documentation, see the places where those callbacks are supposed to be configured, e.g. for the payment finish callback, which is Payment::finish_callback, see the declaration of that property in the Payment class definition.
Subscribe with RSS Syndicate content
nobody click here