Tribe__Tickets__Commerce__PayPal__Cart__Unmanaged::read_invoice_number()

Reads the invoice number from the invoice cookie.

See also


Top ↑

Return

(string|bool) The invoice number or false if not found.


Top ↑

Source

File: src/Tribe/Commerce/PayPal/Cart/Unmanaged.php

	public function read_invoice_number() {
		/** @var Tribe__Tickets__Commerce__PayPal__Gateway $gateway */
		$gateway = tribe( 'tickets.commerce.paypal.gateway' );

		return $gateway->get_invoice_number( false );
	}

Top ↑

Changelog

Changelog
Version Description
4.7.3 Introduced.