function uc_recurring_mock_gateway_renew in UC Recurring Payments and Subscriptions 7.2
Same name and namespace in other branches
- 6.2 test/uc_recurring_mock_gateway.module \uc_recurring_mock_gateway_renew()
Handle recurring fee renew callback
1 string reference to 'uc_recurring_mock_gateway_renew'
- uc_recurring_mock_gateway_recurring_info in test/
uc_recurring_mock_gateway.module - Implements hook_recurring_info().
File
- test/
uc_recurring_mock_gateway.module, line 65 - Uc recurring implementation for the test gateway module.
Code
function uc_recurring_mock_gateway_renew($order, &$fee) {
global $gateway_status;
if ($gateway_status) {
uc_payment_enter($fee->order_id, 'mock_gateway', $fee->fee_amount, 0, NULL, t('Recurring fee payment.'));
}
return $gateway_status;
}