Stripe Checkout Keyboard hides button

I am using the Stripe check
It works fine for Angular projects and ok for Ionic on an Android device but on iOS the keyboard blocks the payment button and the user cannot continue.
If the user clicks anywhere else on the screen it does not hide the keyboard.
Also scrolling the form up or down does not work as it is fixed.

Anyone had to deal with this?

import { Plugins } from '@capacitor/core';
const { Keyboard } = Plugins;
this.platform.ready().then(() => {
      Keyboard.setAccessoryBarVisible({isVisible: true});

Solution here: