backdrop-contrib / uc_recurring

GNU General Public License v2.0
0 stars 1 forks source link

uc_recurring

uc_recurring is a module that provides recurring billing for Ubercart.

Installation

Usage

This module allows you to add handle recurring payments in ubercart.

Step 1: Enable module on your drupal site.

Step 2: Setup Recurring Payments: (This step can be skipped if you do not accept payments on site and you do not have the uc_payment module enabled)

Step 3: Enable a module that triggers recurring payments on certain events.

Your site should now be ready to accept orders with recurring payments.

Testing

Ubercart includes a test payment gateway called test_gateway. This gateway emulates a credit card payment gateway and uc_recurring supports this gateway.

If you are attempting to test if uc_recurring is setup correctly this is a good gateway to initally test against before setting up your own live gateway.

If need to take snapshots of live databases with recurring fees setup ensure that cron is not running on your test site or recurring payments may be triggered from your test and live installs.

A simple way to ensure recurring payments are not triggered on cron runs is to add the following php to your test sites settings.php

<?php // disable ubercart recurring payments $conf['uc_recurring_trigger_renewals'] = FALSE; ?>

Developers

This modules includes the file uc_recurring.api.php which is an attempt to define all the hooks this module exposes to developers.

To integrate with a new payment gateway you should first look at the hook_recurring_info() function as this defines all the details uc_recurring needs to work with a new gateway.

Current Maintainers

Credits

License

This project is GPL v2 software. See the LICENSE.txt file in this directory for complete text.