Ticket #1001503: Credit Cards Online - fix credit card online processing process
This commit is contained in:
parent
d10b7a631e
commit
e65ca5425b
|
@ -156,14 +156,6 @@ public class WPaymentFormCreditCard extends PaymentFormCreditCard implements Eve
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void runProcessOnline() {
|
|
||||||
try {
|
|
||||||
processOnline();
|
|
||||||
} finally {
|
|
||||||
window.unlockUI();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean checkMandatory() {
|
public boolean checkMandatory() {
|
||||||
return true;
|
return true;
|
||||||
|
@ -186,10 +178,8 @@ public class WPaymentFormCreditCard extends PaymentFormCreditCard implements Eve
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**************************************************************************
|
@Override
|
||||||
* Process Online (sales only) - if approved - exit
|
public void processOnline()
|
||||||
*/
|
|
||||||
private void processOnline()
|
|
||||||
{
|
{
|
||||||
log.config("");
|
log.config("");
|
||||||
if (!checkMandatory())
|
if (!checkMandatory())
|
||||||
|
|
|
@ -95,6 +95,14 @@ public class WPaymentFormWindow extends Window implements EventListener<Event>,
|
||||||
|
|
||||||
} // actionPerformed
|
} // actionPerformed
|
||||||
|
|
||||||
|
public void runProcessOnline() {
|
||||||
|
try {
|
||||||
|
paymentForm.processOnline();
|
||||||
|
} finally {
|
||||||
|
unlockUI();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void unlockUI() {
|
public void unlockUI() {
|
||||||
if (!m_isLocked) return;
|
if (!m_isLocked) return;
|
||||||
|
|
||||||
|
|
|
@ -275,6 +275,11 @@ public abstract class PaymentForm implements IPaymentForm {
|
||||||
return retValue;
|
return retValue;
|
||||||
} // getInvoiceID
|
} // getInvoiceID
|
||||||
|
|
||||||
|
public void processOnline()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
public GridTab getGridTab()
|
public GridTab getGridTab()
|
||||||
{
|
{
|
||||||
return m_mTab;
|
return m_mTab;
|
||||||
|
|
Loading…
Reference in New Issue