Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Need PHP Help

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-19-2009, 08:36 PM
 
gotpump gotpump is offline
 

eXpert
  
Join Date: Aug 2008
Posts: 272
 

Default Need PHP Help

I have zero php experience and I was wondering if anyone could help me with this.


Step 2

You have to create a page on your web site that will receive the order status results and display them to your customer. To do this you will need a page that can read in parameters from the query string (cgi, asp, jsp, php, etc┘). Our order status program will redirect back to the return URL you specified in the form. It will put all of the order status data into the query string. Here is an example of what it will look like:



Code:
http://www.your-web-site.com/orderstatusresults.asp?number=12668912213432&zipCode=11655&status=Shipped&shipDate=08-28-2007&track=603440890850&carrier=UPS+Ground

The following parameters are returned back to your page:
number - the order number that was entered zipCode - the zip code that was entered status - the status of the order shipDate - the ship date of the order track - the tracking number for the order carrier - the carrier the order was shipped by error - error response if order is not found ⌠No Order Found■
Your script will have to read in these parameters and display them on the page.
There are only 3 possible order status and messages that will be returned.
Shipped - Your order has been shipped. Canceled - This order has been canceled. In Process - Your order was successfully received and is in process. The ⌠In Process■ status is returned for all other possible scenarios including orders that are new, about to ship, declined credit cards, etc┘ Obviously we do not want to tell your customer that the order hasn't been processed because your credit card declined! You should make sure to keep an eye on the ⌠real■ status of the order in our system.

Is anyone able to help me get this done? I'm running a drop shipping site and this is almost mandatory.

Thank you so much.
__________________
X-Cart DB Version: 5
Reply With Quote
  #2  
Old 01-20-2009, 03:15 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Need PHP Help

What add-on is this for?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-20-2009, 07:32 AM
 
gotpump gotpump is offline
 

eXpert
  
Join Date: Aug 2008
Posts: 272
 

Default Re: Need PHP Help

This is to add automatic order tracking to my site. If you enter your order # and your zip code it will send a message to my drop shipper which will send a message back to my website with the information.
__________________
X-Cart DB Version: 5
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:38 PM.

   

 
X-Cart forums © 2001-2020