Stripe API Troubleshooting

Job ID: 34706035

Budget: $30 – $250 USD

API code works well with 2019 version of the API. But when using 2022 Aug version we get error message.

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 https://stripe.com/docs/payments/checkout/migrating-prices for more information.

Need to troubleshoot this and update related code.
Related categories: PHP MySQL HTML Stripe