Noptin_Abstract_Ecommerce_Integration::order_refunded( int $order_id )

Fired when an order is refunded.


Parameters Parameters

$order_id

(int) (Required) The order id.


Top ↑

Source Source

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

	public function order_refunded( $order_id ) {
		$this->fire_order_hook( 'refunded', $order_id );

		// Fire refunded hooks for individual products.
		$details = $this->get_order_details( $order_id );
		foreach ( $details['items'] as $item ) {
			$this->product_refunded( $item['product_id'], $item, $order_id );
		}
	}


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