WooCommerce 3 get custom variation on process order [closed]

Okay I find solution for this one!!
Add field to the each product variation with this one
github Remi Corson

And because I have a custom gateway plugin for WooCommerce I found there where products are initiated and use foreach to get ‘productId’ for each product. There I use

$variation = $item[‘variation_id’];
$productVariation = get_post_custom($variation);
$variation = $productVariation[‘my_added_field‘][0];
// We need that [0] because it returns array of one key and value

And that is it! Hope that it will help somebody

deneme bonusu veren sitelerbahis casinomakrobetceltabetpinbahispolobetpolobet girişpinbahis girişmakrobet girişpulibet girişmobilbahis girişkolaybet giriş