can i use a php file with the order api?

General ShopSite user discussion

can i use a php file with the order api?

Postby jsherk » Sat Oct 31, 2009 12:00 pm

It appears that the Order API is sending all the information to the Custom CGI Filename in a POST request. I tried using a simle PHP program instead of a CGI file, but get an Internal Server Error when going to the thank you screen.

Am I doing something wrong, or is it just not possible to use a php file in the Order API Custom CGI Filename?

Thanks
(v10 pro)
jsherk
 
Posts: 41
Joined: Sun Oct 11, 2009 3:19 pm
Location: USA

Postby robm » Sat Oct 31, 2009 7:26 pm

Sure, you can use a PHP script as an order API. Reference:

http://support.shopsite.com/forums/viewtopic.php?t=7033

Make sure it's executable, and grabs the POSTed data correctly as described in the above thread.
robm
 
Posts: 463
Joined: Fri Aug 04, 2006 5:46 pm
Location: Connecticut

Postby jsherk » Sat Oct 31, 2009 7:35 pm

Got it... thanks!
jsherk
 
Posts: 41
Joined: Sun Oct 11, 2009 3:19 pm
Location: USA


Return to User Forum

Who is online

Users browsing this forum: No registered users and 106 guests