Tax Rate in new Stripe Checkout : <p><br>
I've implemented the new <code>Stripe Checkout</code> on my <code>NodeJS server</code>, but I cannot specify the <strong>Tax Rate</strong> for Invoicing.</p>

<p>As per my understanding <strong>Tax Rates</strong> should be specified in the <a href="https://stripe.com/docs/api/payment_intents/object#payment_intent_object-invoice" rel="noreferrer">Payment Intent API</a>. Fact is that the new <code>Checkout</code> automatically creates a <code>Payment Intent</code> via its <a href="https://stripe.com/docs/api/checkout/sessions/create" rel="noreferrer">CreateSession</a> (see <code>payment_intent_data</code>), but I'm not able to insert a <strong>Tax Rate</strong> upon its creation.</p>

<p>How can this be done? What I want to achieve is to have the user know the Tax % both in the <code>Checkout UI</code> and in the final <code>email invoice</code>.</p>

<p>This is my code:</p>

<pre><code>return stripe.checkout.sessions.create({
    payment_method_types: [paymentMethod],
    line_items: [{
        name: name,
        description: description,
        images: [imageUrl],
        amount: amount,
        currency: currency,
        quantity: 1
    }],
    success_url: successUrl,
    cancel_url: cancelUrl,
    customer: stripeId,
    payment_intent_data: {
        receipt_email: email,
        metadata: {
            userId: userId,
            amount: amount,
            currency: currency,
            ref: ref,
            stripeId: stripeId,
            details: details
        }
    }
}).then(session =&gt; {
    return res.send(session)
</code></pre>
