Noptin_Abstract_Ecommerce_Integration::get_order_details( int $order_id )

Returns an array of order details.


Parameters Parameters

$order_id

(int) (Required) The order id.


Top ↑

Return Return

(array)


Top ↑

Source Source

File: includes/integrations/class-noptin-abstract-ecommerce-integration.php

	public function get_order_details( $order_id ) {
		return array(
			'id'		   => $order_id,
			'total'        => 0,
			'tax'          => 0,
			'fees'         => 0,
			'currency'     => 'USD',
			'discount'     => 0,
			'edit_url'     => '',
			'view_url'     => '',
			'pay_url'      => '',
			'title'        => '',
			'date_created' => '',
			'date_paid'    => '',
			'status'       => 'pending',
			'items'        => array(
				array(
					'item_id'      => '',
					'product_id'   => '',
					'variation_id' => '',
					'name'         => '',
					'price'        => '',
					'quantity'     => '',
				)
			)

		);
	}


Top ↑

Changelog Changelog

Changelog
VersionDescription
1.2.6Introduced.

Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation