Function Hook_payment_gateway_paypal->auto_cancel
Definitions
sources/hooks/systems/payment_gateway/paypal.php
- Find whether the hook auto-cancels (if it does, auto cancel the given subscription).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$subscription_id | AUTO_LINK | required parameter | N/A | N/A | ID of the subscription to cancel |
Return
- True: yes. False: no. (null: cancels via a user-URL-directioning)
- Type: ?boolean
- Set: N/A
- Range: N/A