function hook_uc_stripe_recurring_intent_alter in Ubercart Stripe 7.3
Allows other modules to alter recurring charge payment intent params before Stripe Payment Intent is created. This is used for recurring charges.
Parameters
&$intent: The intent array used to create the intent.
$order: The order object that is being used for the intent.
Return value
Nothing should be returned. Hook implementations should receive the $intent array by reference and alter it directly.
1 invocation of hook_uc_stripe_recurring_intent_alter()
- uc_stripe_renew in ./
uc_stripe.module - Handle renewing a recurring fee, called by uc_recurring
File
- ./
uc_stripe.api.php, line 43 - Hooks provided by the uc_stripe module.
Code
function hook_uc_stripe_recurring_intent_alter(&$intent, $order) {
$intent['currency'] = 'CAD';
}