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().


Top ↑

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: ''


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.