v2.5.6
MEGA provides free cloud storage with convenient and powerful always-on privacy. Claim your free 20GB now
mega.nz
when I do this step I get 500 error:
After the line
$return = array();
add this:
$temp_data = array("purchase_code" => "makeup-a-purchase-code-here","domain" => "google.com","ip" => "8.8.8.8","user_name" => "Mr Blobby","user_email" => "
[email protected]","supported_until" => "2046-12-31T00:00:00+11:00","type" => "Regular License", "item_id" => "20142807","created_at" => "2018-12-12 12:12:12","updated_at" => date("Y-m-d H:i:s")); $return['success'] = true; $xbox = xbox_get( $this->plugin->arg( 'xbox_ids', 'settings' ) ); if( $type == 'activation' )
update_option( 'mpp-plugin-status', $temp_data );
$xbox->set_field_value( 'activation-status', 'on' );
} else{
$return['local_deactivation'] = true;
delete_option( 'mpp-plugin-status' );
$xbox->set_field_value( 'activation-status', 'off' ); } wp_send_json( $return );{