Using OpenPay on WeWeb

Hello

I am trying to use OpenPay in WeWeb, but I can’t get it to recognize the following scripts:

I tried adding them through the “custom code” option, but it gives me an error.

I also attempted using “Convert to WeWeb Action Code,” but it still doesn’t recognize the converted scripts.

Can someone please guide me?

I think you should rather make this into a Custom Coded Component, would be less fight with WeWeb