I have install composer and sdk file but payment is not successfully

I have installed composer and SDK files but payment is not successful. And I have shown an error in the console. Please give me a solution. Please shown above error.

square.js:1 Unexpected token ‘E’, “Error load”… is not valid JSON

Is this with our PHP payment example or with any of our other examples? Are you able to print the body of the request to ensure it valid JSON? :slight_smile: