I’m guessing you’re using those outdated parameters in your Create Checkout Session call…
As the error message says, those parameters are no longer used, so you’ll need to adjust your Create Checkout Session call to use the new parameters…
Check the APi docs for how to create a checkout session using the latest API version…