LLMS_Transaction

LLMS_Transaction model class


Description Description


Source Source

File: includes/models/model.llms.transaction.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.37.6 Transaction creation date is now specified using llms_current_time(). Remove ordering placeholders from strftime().
3.0.0 Introduced.


Top ↑

Methods Methods

  • can_be_refunded — Determine if the transaction can be refunded Status must not be "failed" and total refunded amount must be less than order amount
  • get_creation_args — An array of default arguments to pass to $this->create() when creating a new post
  • get_gateway — Retrieve the payment gateway instance for the transactions payment gateway
  • get_net_amount — Get the total amount of the transaction after deducting refunds
  • get_order — Retrieve an instance of LLMS_Order for the transaction's parent order
  • get_property_type — Get a property's data type for scrubbing used by $this->scrub() to determine how to scrub the property
  • get_refundable_amount — Get the amount of the transaction that can be refunded
  • process_refund — Process a Refund Called from the admin panel by clicking a refund (manual or gateway) button
  • translate — Wrapper for $this-get() which allows translation of the database value before outputting on screen

Top ↑

User Contributed Notes User Contributed Notes

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