Jump to content

Problem With IPS API Response


Lordest

Recommended Posts

Hi, I'm working on integrating my payment provider for my website.

As a callback URL, I created an API endpoint that works fine. The code lines below are the last two lines of my POSTindex function in API code.

$output = "OK";
return new \IPS\Api\Response( 200, $output);

My payment provider wants a plain text response as:   OK

But IPS API returns it like this on the page:    "OK"

How can I remove these signs:    "

Link to comment
Share on other sites

11 minutes ago, Marc Stridgen said:

You havent specified there what part of our API is being called? Or is this custom development?

This is custom development, and belongs to a file inside my application's API folder.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...