I'm getting the following error when a customer tries to pay using Stripe checkout
invalid_request_error
You cannot use `line_items.amount`, `line_items.currency`, `line_items.name`, `line_items.description`, or `line_items.images` in this API version. Please use `line_items.price` or `line_items.price_data`. Please see
stripe.com/docs/payments/checkout/migrating-prices
for more information.