createProduct = async () => {
    const stripeProducts = await stripe.products.list({ limit: 100 });
    let [stripeProduct] = stripeProducts.data.filter((stripeProduct) => stripeProduct.name === product.name);

    if (!stripeProduct || (stripeProduct && stripeProduct.type !== product.type)) {
      stripeProduct = await stripe.products.create(product);
      console.log(`Product - OK -->  '${stripeProduct.name}' with id '${stripeProduct.id}' has been created`);
    } else {
      console.log(
        `Product - OK -->  '${stripeProduct.name}' with id '${stripeProduct.id}' has been already created before`
      );
    }

    return stripeProduct;
  }
Creates Stripe product if it hasn't been already created or if parameters of product were changed

@return {Promise<void>} - Stripe product