To use line items in Zapier, you'll usually want to ensure that both the trigger and the action you're using have line item support on Zapier:
In Zapier's Stripe integration, the “New Invoice” trigger offers line item support. If you'd like your Zap to iterate over each individual item in an invoice, you'll want to use the “New Invoice Item” trigger.
If you want to learn more about how line items work, read our guide to line items here.
Usually this is because a "test" key is used to connect Zapier to Stripe and payments/customers/etc. are created on the "live" account (or vice versa). The solution is to make sure to use the correct key!
Stripe sends the data over in cents (eg. 197000 instead of 1970.00), but you can use a Formatter step to convert the number into dollars before passing it to your action step.
For emails to come in the "receipt email" field, you need to have email receipts enabled within Stripe. Read this article from Stripe on how to set up email receipts.
We use Stripe API keys for authentication, so you can connect a Stripe account by using your Stripe "test secret key".
If you do that, you can trigger your Zap from transactions in your Stripe account which were created in test mode. Stripe's test card numbers only work in their test mode:
However, if you connect to Stripe using the test secret key, your Zap will not trigger on any Live transactions in your Stripe account. To do that, you'd need to reconnect, or connect a new Stripe account, using your "live secret key" instead.