We need some customer scripting of the Zencart shopping cart.
This project has 4 small parts parts:
1)We use several payment processors for our Zencart shopping cart. We prefer to divide sales equally between them. We want each new sale to use the next payment gateway in the list. For example if we have three payment gateways and five customers ordering:
Customer #1 => pays with payment gateway #1 Paypal
Customer #2 => pays with payment gateway #2 CCNow
Customer #3 => pays with payment gateway #1 2checkout
Customer #4 => pays with payment gateway #1 Paypal
Customer #5 => pays with payment gateway #2 CCNow
The chosen gateways should be easily configured through the Zencart admin, and can be as simple as all gateways that the cart already choses as active. Alternately a separate Zencart module that can be built that is a payment gateway that scrolls through the chosen payment gateways. The later is the preferred solution.
2)Check the I.P. of the visitor to the cart against a list of I.P.s, and depending on if the I.P. is on a list (of previous visitors), choose one specific payment gateway for that customer. The list of [url removed, login to view] will be generated from site logs.
3)Change the database connection so that the zencart connects to a remote database on a separate server that is located in a separate datacenter. This should be a straightforward alteration of the /includes/[url removed, login to view] and /admin/includes/[url removed, login to view] files to point to the remote database. I prefer to reference the remote database by domain name rather than IP address.
4)The cart does not seem to be sending out order confirmation emails or emails confirming that we shipped. This should be fixed so that when they order the customer receives their order confirmation, and when we update the status to shipped, using the shipwire plugin, the customer receives email confirmation of this.