Page 1 of 1

payment COD address bug, using billing instead of shipping

Posted: Fri Jan 06, 2012 3:44 am
by ronaquin496
hi, i think i detected a bug in the COD payment module.

Ive set up 2 geo zones. first one the main capital of my country. Second one all other states.

I want COD only be available to packages being shipped to my capital, so i set it up in the module configuration.

The i realize the module is taking in consideration the billing address geozone not the shipping address geo zone.

for COD payments the really important address is the shipping one.

Lets suppose i have a customer that lives in the capital (where cod is available) but want to make a gift to his mother who lives in another state. Shipping adress is not in the geozone where cod must be available. Then COD CANT be a payment option, since i cannot go to other state to deliver the package and collect the money.

Re: payment COD address bug, using billing instead of shippi

Posted: Fri Jan 06, 2012 4:29 am
by ronaquin496
sorry i forget to mention im using latest version 1.5.1.3

Re: payment COD address bug, using billing instead of shippi

Posted: Fri Jan 06, 2012 11:54 am
by fido-x
All payments go through the billing address. That's the address of the customer who is buying the product.

The real issue is that COD should only be available as an option (even if enabled) if the billing address and the shipping address are the same.

Re: payment COD address bug, using billing instead of shippi

Posted: Fri Jan 06, 2012 1:47 pm
by i2Paq
fido-x wrote:All payments go through the billing address. That's the address of the customer who is buying the product.

The real issue is that COD should only be available as an option (even if enabled) if the billing address and the shipping address are the same.
Correct.

Re: payment COD address bug, using billing instead of shippi

Posted: Sun Nov 18, 2012 4:30 am
by tolinho
i2Paq wrote:
fido-x wrote:All payments go through the billing address. That's the address of the customer who is buying the product.

The real issue is that COD should only be available as an option (even if enabled) if the billing address and the shipping address are the same.
Correct.
Hi.
Recently I came across this issue also.
I'm running opencart 1.5.4.1. and opencart enables/disables COD (Cash On Delivery) taking in account customers billing address and NOT shipping address has I think it should.

Can this be fixed?

Re: payment COD address bug, using billing instead of shippi

Posted: Fri Dec 21, 2012 3:16 am
by milezteg
Confirmed that this is still not fixed in 1.5.4.1. Can anyone comment on a fix or workaround please?

Re: payment COD address bug, using billing instead of shippi

Posted: Sun Dec 23, 2012 1:02 pm
by raj2013
can we also use COD option at product page.

Re: payment COD address bug, using billing instead of shippi

Posted: Sat May 18, 2013 11:15 pm
by eshopper
i2Paq wrote:
fido-x wrote:All payments go through the billing address. That's the address of the customer who is buying the product.

The real issue is that COD should only be available as an option (even if enabled) if the billing address and the shipping address are the same.
Correct.
"Correct" -really? If OpenCart bases its COD-charging Geo Zone on the billing address, fido-x' description may be a correct description of how OpenCart works, but imo it is *not* a correct way for an eshop system to operate for the simple reason tha the the postal service through which the relevant COD-charge is applied uses the *delivery address* and not the invoicing address to decide what charge to apply. So, the OpenCart code should be fixed.

Secondly, "...the billing address. That's the address of the customer who is buying the product." ... The whole point is that there are potentially *two* addresses for the customer. The customer could be an organisation whose primary address is the delivery address, but that has an accounts department somewhere else (at the invoicing address). Therefore, to say that that the invoicing address is "*the* address" of the customer is only half-correct.

When can we expect a fix to the working of OpenCart?

Re: payment COD address bug, using billing instead of shippi

Posted: Sun May 19, 2013 4:52 am
by i2Paq
The way it works now is that they person who orders pays for the COD if they Delivery Address is the same, this to prevent me ordering something and have it delivered at your address costing the Store owner money because you won't accept the order because you did not order it.