Function __global->make_cancel_button
Definitions
sources/ecommerce.php
- Make a subscription cancellation button.This is for IPN-style transactions (as opposed to local transactions).
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: object
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$purchase_id | ID_TEXT | required parameter | N/A | N/A | The purchase ID |
$payment_gateway | ID_TEXT | required parameter | N/A | N/A | The payment gateway the payment will go via |
Return
- The button (null: no special cancellation -- just delete the subscription row to stop the software regularly re-charging)
- Type: ?Tempcode
- Set: N/A
- Range: N/A