Hi!
I tried your fix, but I still can’t get licenses sent. When an order is completed I get the following result in the mail I get while testing this:
Notice : post was called incorrectly . Order properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_API->handle_api_requests, do_action(‘woocommerce_api_wc_gateway_paypal’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Gateway_Paypal_IPN_Handler->check_response, do_action(‘valid-paypal-standard-ipn-request’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Gateway_Paypal_IPN_Handler->valid_response, call_user_func, WC_Gateway_Paypal_IPN_Handler->payment_status_completed, WC_Gateway_Paypal_Response->payment_complete, WC_Order->payment_complete, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_processing’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Emails::send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_fil in wp-includes/functions.php on line 4139
I have downloaded the latest version from the WordPress plugin directory, but should I try to take a look at the Github page instead?
Thanks in advance