wp-update-server
wp-update-server copied to clipboard
woocommerce
How would I use this with woocommerce digital downloads?
I'm not sufficiently familiar with WooCommerce to answer that question.
i would recommend you to generate a key and a link for your customers to download the software to the server holding the files when the order is payed and completed.
Send the key and link by email or add it as comment on the order.
function mysite_woocommerce_order_status_completed( $order_id ) {
// Order complete for order $order_id
// Get order items and generate something
}
add_action( 'woocommerce_order_status_completed', 'mysite_woocommerce_order_status_completed', 10, 1 );