WooCommerce Code Reference

WC_Gateway_Paypal_Response
in package

Handles Responses.

Table of Contents

$sandbox  : bool
Sandbox mode
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.

Properties

Methods