How do I intergrate escrow.com api onto my php site?

Panther28

Elite Member
Executive VIP
Jr. VIP
Joined
May 2, 2010
Messages
9,939
Reaction score
16,043
I'm not quite sure what my next steps are to integrate this API onto my website.

I followed the guide up to
https://www.escrow-sandbox.com/api/docs/create-transaction

I get a working 200 server code when I have executed the page with the code on it, but I'm not sure how to get the example response after it (shows on the doc page). That doesn't happen on my page, I just get a blank white screen.

Does anybody know anything about APIs that can point me in the right direction of what my next steps are to getting this service implemented on a site?

Cheers
 
you should see the result in the same page.
echo $output; ==> is the Json response (i assume you are using he same code in the docs)
can you show your page code?
 
you should see the result in the same page.
echo $output; ==> is the Json response (i assume you are using he same code in the docs)
can you show your page code?
I put that first source code on my page, and loaded the page, and I get the 200 response from the server. But thats it, I don't get anything showing on my browser screen?
if i type echo "test"; at the bottom, it prints that only on the page.
 
just to check.. have you changed
"CURLOPT_USERPWD => 'email-address:your-password',"
with your email and password?
 
just to check.. have changed
"CURLOPT_USERPWD => 'email-address:your-password',"
with your email and password?
Yep, I put in email & api key (told me to do that a couple of pages back)
 
Back
Top