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