public/wordpress/wp-content/plugins/wp-courseware/includes/gateways/gateway-paypal.php
/**
	 * IPN: Validate Receiver Email.
	 *
	 * @param Order  $order The order object.
	 * @param string $receiver_email Email to validate against the order.
	 */
Validate Receiver Email.
@param Order  $order The order object.
@param string $receiver_email Email to validate against the order.
Validate Receiver Email . @param Order $order The order object . @param string $receiver_email Email to validate against the order .
protected function ipn_validate_email( $order, $receiver_email ) {
		if ( strcasecmp( trim( $receiver_email ), trim( $this->get_email() ) ) !== 0 ) {
			$this->log( "IPN Response is for another account: {$receiver_email}. Your email is {$this->get_email()}" );
			$order->update_status( 'on-hold', sprintf( __( 'Validation error: PayPal IPN response from a different email address (%s).', 'wp-courseware' ), $receiver_email ) );
			exit;
		}
	}
protected function ipn_validate_email ( $ order , $ receiver_email ) { if ( strcasecmp ( trim ( $ receiver_email ) , trim ( $ this -> get_email ( ) ) ) !== 0 ) { $ this -> log ( " IPN Response is for another account:  { $ receiver_email } . Your email is  { $ this -> get_email ( ) } " ) ; $ order -> update_status ( 'on-hold' , sprintf ( __ ( 'Validation error: PayPal IPN response from a different email address (%s).' , 'wp-courseware' ) , $ receiver_email ) ) ; exit ; } }
IPN: Validate Receiver Email.
IPN : Validate Receiver Email .
/* translators: %s: email address . */