@thesoapycaldron
Are you using CPI? If so the references in the ePDQ documentation to password protecting a directory are to protect the script that would be executed when transaction information is returned from ePDQ. However, the ePDQ mod in the free add-ins area above, doesn't support this. Presumably store owners would need to reconcile orders with payments via their CPI admin page.
Moreover, there seems to be a gaping compatibility issue between ePDQ and Zen Cart. ePDQ CPI assumes that an order is created prior to calling it to to process the payment. Zen Cart is built on the assumption that you don't want your database cluttered up with faled orders, so doesn't create one until payment is received.
And it gets worse.
ePDQ assumes that you already have the order recorded, takes the payment but doesn't force the customer to return, so you have money, but no order. The information is sitting there (at least temporarily) in the customer's basket recorded in the database - but may be lost or changed if the customer subsequently returns to the site.
Can it get worse? Well, yes!
If a client returns to the site from ePDQ, the mod in its current treats that as a success, even if the payment was declined. Order for processing, but no money. Ouch. Those reconciliation processes that the ePDQ docs bang on about are rather important. BUT, worse still, the only reference that ePDQ has for the transaction is a random number generated by the mod and then thrown away. Aie, aie, aie.
The only way that I can see to get around this at the present, is to re-order the Zen Cart checkout, to create an order with a new "unpaid" status before going to ePDQ, and expand the ePDQ mod to take full advantage of the POST information.
If somebody has a better idea, I'd really love to hear it!!!
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)