WC_Gateway_Paypal_PDT_Handler::__construct( bool $sandbox = false, string $identity_token = '' )

Constructor.


Description Description


Parameters Parameters

$sandbox

(Optional) Whether to use sandbox mode or not.

Default value: false

$identity_token

(Optional) Identity token for PDT support.

Default value: ''


Top ↑

Source Source

File: includes/gateways/paypal/includes/class-wc-gateway-paypal-pdt-handler.php

	public function __construct( $sandbox = false, $identity_token = '' ) {
		add_action( 'woocommerce_thankyou_paypal', array( $this, 'check_response' ) );

		$this->identity_token = $identity_token;
		$this->sandbox        = $sandbox;
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.