Print Page | Close Window

Auto Processing Zero Value Orders

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=3575
Printed Date: 01-March-2025 at 3:02pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Auto Processing Zero Value Orders
Posted By: mattprice
Subject: Auto Processing Zero Value Orders
Date Posted: 31-March-2010 at 4:12pm

We have a sample facility on our site whereby customers can request free sample products at zero value.  This ultimately means that they are checking out at zero value and so the payment option selection is redundant.

These zero value orders are being received as "pending status" which is usual for orders where a payment check needs to be done etc.  For zero value orders the order checking is less important so I was wondering whether anyone can think of an easy way of having zero value orders automatically receive as status "processed"
 
All the payment gateways have the option to choose between pending or processed but there is not a control panel option for "free orders"
 
Any ideas would be appreciated ?
 
Thanks
Matt
 



Replies:
Posted By: ProductCart
Date Posted: 31-March-2010 at 7:22pm
Hi Matt,

This can be changed with a simple code change. The code is already setup to facilitate the code change. You will find this code in "gwReturn.asp"


'//////////////////////////////////////////////////////////
'// Allow Override of Default Status for Free Mode Only
'//////////////////////////////////////////////////////////
' pFMOrderStatus=2 by default for (pending)
' pFMOrderStatus=3 for (processed)
pFMOrderStatus=2


-------------
The ProductCart Team

Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software


Posted By: mattprice
Date Posted: 01-April-2010 at 5:53am
Many thanks,
 
I could'nt have asked for a more simple fix.  Excellent customer service as always.
 
Matt



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net