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

(obj) (Required) Instance of the LLMS_Transaction

$amount

(float) (Required) Amount to refund

$note

(string) (Optional) refund note to pass to the gateway

Default value: ''


Top ↑

Return Return

(mixed)


Top ↑

Source Source

File: includes/abstracts/abstract.llms.payment.gateway.php

	public function process_refund( $transaction, $amount = 0, $note = '' ) {}

Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.