need help with square php sdk

Job Description:

I downloaded square-php-sdk from gibhub and trying to just create a test page first to make sure it's working, but it keeps giving error. Can't figure out what's the problem. Here are the details,

When I run [login to view URL] with sample credit card data, I keep getting the error Unexpected token '<', "<br /><b>... is not valid JSON in [login to view URL]:1. In the createPayment method, I put an alert(body) which shows proper token number. I pretty much did copy paste of all files with minor necessary changes so I don't understand why it's giving this error. Any help is greatly appreciated. Thanks.

Skills: PHP, JavaScript, HTML

About the Client:
( 1 review ) philadelphia, United States

Project ID: #35358710

Awarded to:


i can help you with square php sdk Hi there ? How are you? This is Qandil I am a Web ? / Mobile ? developer, My resume [login to view URL] Having over 4 y More

$20 USD in 7 days
(45 Reviews)

16 freelancers are bidding on average $24 for this job


Hello and Go Birds! I'd be happy to have a look at this for you, and can start now. Is it online somewhere that I can see? If so, please send me a link and the steps to replicate the error. Thanks, John

$25 USD in 1 day
(128 Reviews)

Hi, why don't you work with me? In my opinion, It will takes about one hour to have done your project. If you work with me , you will touch the success. I can do that perfectly.

$20 USD in 1 day
(7 Reviews)

Greetings, I am a professional and experienced in providing high-quality Full-stack WordPress, and PHP designing, developing, and Swift services. I am highly interested in your project. Please contact me so I may shar More

$30 USD in 2 days
(6 Reviews)

⭐️⭐️⭐️⭐️⭐️Hello, Hope you are doing well ⭐️⭐️⭐️⭐️⭐️ I have read your job description carefully and I'm very interested in your project. As a senior web & mobile developer with 8 years of experience, I have strong knowl More

$20 USD in 7 days
(3 Reviews)

hey i can help you fix that error I've read your requirements & I am confident that I have the right skills and experience that would make me the perfect candidate for this project & I would be grateful for the opport More

$20 USD in 7 days
(6 Reviews)

Dear Mr. When do you need this finished? I understand how annoying it is and can get this fixed for you quickly! Please see the sample I fixed. Because i am senior php developer, I can help you. I look forward to wo More

$20 USD in 1 day
(2 Reviews)

Dear client I am familiar with php development. I have built many kinds of php projects. We can discuss more in details here. thank you.

$20 USD in 7 days
(3 Reviews)

Hello Sir, I have an work experience of 3 yrs in the field of Software Development with PHP, MYSQL.I Have Successfully Delivered many project to my Client within the specific timespan. If you assign this project to me More

$20 USD in 1 day
(1 Review)

Hi I am excited ,because you give me a chance. I have carefully checked your requirements and am really interested in this project. I have already done this type of projects. I will be my pleasure to work with you. More

$30 USD in 1 day
(0 Reviews)

Hello. Customer's satisfaction is most important. Your job is very interesting and I can do it on time I have rich experiences about Website development Let me tell via chat and discuss more info I'll share my previous More

$15 USD in 1 day
(0 Reviews)