I’m integrating a payment gateway for testing purposes that requires the backend URL to respond only with plain text; however, when I uploaded and tried it, the HTML tags and JS were injected into the response. This is not acceptable for testing purposes with the payment gateway.
Is there any way to disable automatic HTML/JS injection?
If not, does this mean it cannot support API endpoints or server-to-server callbacks?
Unfortunately, 3rd party access to the website is not supported on our free hosting service. You have to find another way.
Inbound requests are not possible but your website on Profreehost can make outbound requests which means you can call to external server but external server cannot make callbacks to your website.
By the way, which gateway are you trying to integrate?