Adding Clover Payments as Third Party Provider

How to code this correctly to be able to view Clover as a Third Party Provider and Connect (Settings - Accept Payments - More Options - Third-Party Credit)?

Wix Stores

Try to achieve an alternate, less expensive way for us to offer a check out method.

We have used the sample step by step way to set up the a Third Party Provider offered by Wix and changed the settings and renamed to Clover, with no errors. and the connection window is not coming up in the Setting/Accept Payments tab. Please assist

Update, we have now added the code as per Wix’s TazaPay example, all the parts are now displaying and we are connected to Clover, but can not process payments,
Payment Provider help required, been trying for 2 months now with the Velo Team and they can not figure out how give the correct callback Urls for a Clover Payment window to come up when a customer choses to pay with Clover. It delivers this error message “Problem with your payment” , what is happening here?