LLMS_Payment_Gateway::get_transaction_url( string $transaction_id, string $api_mode = 'live' )
Gateways can override this to return a URL to a transaction permalink on the gateway’s website
Description Description
If this is not defined, it will just return the supplied ID.
Parameters Parameters
- $transaction_id
-
(string) (Required) Gateway's transaction ID.
- $api_mode
-
(string) (Optional) Link to either the live or test site for the gateway, where applicable.
Default value: 'live'
Return Return
(string)
Source Source
File: includes/abstracts/abstract.llms.payment.gateway.php
public function get_transaction_url( $transaction_id, $api_mode = 'live' ) { return $transaction_id; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |