Zen Cart Logo
Forums / Addon Payment Modules / Declined Transaction orders stock being subtracted -- using PROTX module

Declined Transaction orders stock being subtracted -- using PROTX module

Locked

Views: 2,198

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
8 Oct 2007, 1:43 PM
#1
suffrinmick avatar

suffrinmick

New Zenner

Join Date:
Jun 2005
Posts:
19
Plugin Contributions:
0

Declined Transaction orders stock being subtracted -- using PROTX module

Hi

I'm having a problem with a 1.3.7 zencart and the Protx module. We think we may have had a couple of criminal transactions on the site?

We use Protx direct to authorise the credit card transactions on the site.

Usually if a transaction is declined the order doesn't go any further but sometimes zencart displays the order as "The Authorisation was Declined by the bank." and the stock levels (from the order) are reduced. We then have a "pending order" and have to manually update the stock levels for the products in the order.

Shouldn't stock levels be automatically increased if we delete the order?

I'm not sure if there's a security issue here or a bug or just me missing something obvious in the setup?

Many thanks
Paul

8 Oct 2007, 2:30 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Declined Transaction orders stock being subtracted -- using PROTX module

If Zen Cart generates an order, stock will be adjusted.
If the payment module refuses the payment and also does not create an order ... not even a pending order ... then stock will not be affected.

You may have to alter the payment module to have it not create an order if payment fails to be accepted properly.

9 Oct 2007, 11:24 PM
#3
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Declined Transaction orders stock being subtracted -- using PROTX module

Hi,

DrByte:

You may have to alter the payment module to have it not create an order if payment fails to be accepted properly.

Under no circumstances will the Protx Direct module create an order if the payment was refused! :)

We then have a "pending order" and have to manually update the stock levels for the products in the order.

I'm not sure what exactly is happening but please get in contact with me at the following URL and I'll do what I can to help you. Please don't forget to send the version number of the module you are using:

http://dev.ceon.net/contact_us

All the best...

Conor
Ceon