LLMS_Payment_Gateway::process_refund( obj $transaction, float $amount, string $note = '' )
Called when refunding via a Gateway This function must be defined by gateways which support refunds This function is called by LLMS_Transaction->process_refund()
Description Description
Parameters Parameters
- $transaction
-
(Required) Instance of the LLMS_Transaction
- $amount
-
(Required) Amount to refund
- $note
-
(Optional) refund note to pass to the gateway
Default value: ''
Return Return
(mixed)
Source Source
File: includes/abstracts/abstract.llms.payment.gateway.php
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |