LLMS_Payment_Gateway::process_refund( LLMS_Transaction $transaction, float $amount, string $note = '' )
Called when refunding via a Gateway
Description Description
This function must be defined by gateways which support refunds.
This function is called by LLMS_Transaction->process_refund().
Parameters Parameters
- $transaction
-
(LLMS_Transaction) (Required) The transaction being refunded.
- $amount
-
(float) (Required) Amount to refund.
- $note
-
(string) (Optional) refund note to pass to the gateway.
Default value: ''
Return Return
(mixed)
Source Source
File: includes/abstracts/abstract.llms.payment.gateway.php
public function process_refund( $transaction, $amount = 0, $note = '' ) {}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |