Somehow I removed the post id. I've just added in the version 1.3.3, please update the plugin and use the code below:
add_action( 'rwmb_frontend_after_process', function( $config, $post_id ) {
if ( 'nuovo-ordine' === $config['id'] ) {
wp_safe_redirect( '?rwmb-form-submitted=nuovo-ordine&post_id='.$post_id );
die;
}
}, 10, 2 );
I added the 2nd parameter $post_id
to the hook. Please try and let me know how it works.