ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - Auto Processing Zero Value Orders
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Auto Processing Zero Value Orders

 Post Reply Post Reply
Author
Message
mattprice View Drop Down
Senior Member
Senior Member


Joined: 03-June-2007
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote mattprice Quote  Post ReplyReply Direct Link To This Post Topic: Auto Processing Zero Value Orders
    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
 
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post 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 shopping cart software
Back to Top
mattprice View Drop Down
Senior Member
Senior Member


Joined: 03-June-2007
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote mattprice Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.