• Resolved larsnobel

    (@larsnobel)


    Fatal error: Uncaught (Status 400) (Request req_vQhqevATh78IqQ) 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. thrown in /var/www/papas.dk/hjallerup/wp-content/plugins/seatreg/php/libs/stripe-php/lib/Exception/ApiErrorException.php on line 38

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter larsnobel

    (@larsnobel)

    I replaced your new line in seatreg/php/payment/stripe/create-checkout-session.php with
    \Stripe\Stripe::setApiVersion( ‘2020-08-27’); and that fixed the webhooks aswell.

    Plugin Author thesiim

    (@thesiim)

    Nice. I updated the plugin to 1.26.2 with the API version change.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Error’ is closed to new replies.