Noptin_Abstract_Ecommerce_Integration::product_refunded( int $product_id, array $item, int $order_id )

Fired when a product is refunded.

Parameters Parameters


(int) (Required) The product id.


(array) (Required) the item details


(int) (Required) the purchase order id

Top ↑

Source Source

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

	public function product_refunded( $product_id, $item, $order_id ) {
		$subscriber_id = $this->get_order_subscriber( $order_id );

		if ( $subscriber_id ) {
			do_action( "noptin_ecommerce_integration_product_refund", $product_id, $item, $order_id, $subscriber_id, $this );
			do_action( "noptin_{$this->slug}_integration_product_refund", $product_id, $item, $order_id, $subscriber_id, $this );

Top ↑

Changelog Changelog


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