WooCommerce Code Reference

WC_Gateway_Paypal_PDT_Handler extends WC_Gateway_Paypal_Response
in package

Handle PDT Responses from PayPal.

Table of Contents

$identity_token  : string
Identity token for PDT support
$sandbox  : bool
Sandbox mode
__construct()  : mixed
Constructor.
check_response()  : mixed
Check Response for PDT.
get_paypal_order()  : bool|WC_Order
Get the order from the PayPal 'Custom' variable.
payment_complete()  : mixed
Complete order, add transaction ID and note.
payment_on_hold()  : mixed
Hold order and add note.
validate_transaction()  : bool|array
Validate a PDT transaction to ensure its authentic.

Properties

Methods