diff --git a/lib/WebGUI/Commerce/Payment/ITransact.pm b/lib/WebGUI/Commerce/Payment/ITransact.pm index eecf4b0ea..df00690ee 100644 --- a/lib/WebGUI/Commerce/Payment/ITransact.pm +++ b/lib/WebGUI/Commerce/Payment/ITransact.pm @@ -413,11 +413,12 @@ sub checkoutForm { -defaultValue=>[$u->profileField("homeCountry")], -options=>\%countries ); + #For some odd reason, defaultValue needs to come before value here or value displays the text "-defaultValue". Bug is reported. $f->phone( -name=>"phone", -label=>$i18n->get("phone"), + -defaultValue=>$u->profileField("homePhone"), -value=>$self->session->form->process("phone"), - -defaultValue=>$u->profileField("homePhone") ); $f->email( -name => 'email',