It got the below error when you click save directly.
In my opinion, $razorpayParams wasn't initial if (empty($firstElement) === false and array_keys($firstElement)[0] === "value") condition didn't pass.
Something went wrong while saving this configuration: Warning: Undefined variable $razorpayParamsFormattedArray in /app/mccwww/vendor/razorpay/magento/Observer/AfterConfigSaveObserver.php on line 208
It got the below error when you click save directly.
In my opinion, $razorpayParams wasn't initial if (empty($firstElement) === false and array_keys($firstElement)[0] === "value") condition didn't pass.
Something went wrong while saving this configuration: Warning: Undefined variable $razorpayParamsFormattedArray in /app/mccwww/vendor/razorpay/magento/Observer/AfterConfigSaveObserver.php on line 208![image](https://user-images.githubusercontent.com/110842072/231926087-87da440d-702b-46c0-822c-4668a7a99981.png)
default variable of $razorpayParams
Website view variable that settle all default