CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #1437

required fields in billing not checked

Added by Frank Roeske over 4 years ago. Updated over 2 years ago.

Status:Closed Start date:2008-09-01
Priority:Should have Due date:2009-05-15
Assignee:Michael Staatz % Done:

0%

Category:- Spent time: 0.51 hour
Target version:-
Votes: 0

Description

Hi,

during the checkout process, the fields marked as required in the billing step are not checked, when you do not check that there is a other delivery address.

The following patch will insert the check just before the switch($this->currentStep), so the billing address is always checked, when it was submittet and the currentStep is set to "billing" if there was an issue with the check.

I appended a svn diff.

Kind regards ...

/Frank/

check_billing.diff (474 Bytes) Frank Roeske, 2008-09-01 13:28

Associated revisions

Revision 7861
Added by Saskia Metzler over 5 years ago

[Bug 1437] Add an option to always use the e-mail address from the EM,r=Oliver

Revision 7862
Added by Saskia Metzler over 5 years ago

[Bug 1437] Add an option to always use the e-mail address from the EM,r=Oliver

History

Updated by Michael Staatz about 4 years ago

  • Due date set to 2009-05-15
  • Status changed from New to Needs Feedback
  • Assignee set to Michael Staatz

There is actually the following line in class.tx_commerce_pi3.php:

Line 295: if (!$this->validateAddress('billing')){ $this->currentStep='billing';}

this is because the function validateAddress is validating $this->piVars['check'] and in the first step this is 'billing' and i doublechecked $this->currentStep and it is also 'billing'.
So please explain better to reproduce the error.

If you don't think so, please give feedback.

best regards

Michael

Updated by Ingo Schmitt over 3 years ago

  • Status changed from Needs Feedback to Closed

No Feedback, Issue cloesd

Also available in: Atom PDF