Credit card capture error.
--------------------------

                 Key: OFBIZ-1938
                 URL: https://issues.apache.org/jira/browse/OFBIZ-1938
             Project: OFBiz
          Issue Type: Bug
          Components: accounting
    Affects Versions: SVN trunk
         Environment: FC 5, Postgres
            Reporter: Rohit Sureka
            Priority: Critical


Hi,

There are errors in the files:

ViewGatewayResponse.groovy
CaptureTransaction.groovy

Credit card capture fails in the current SVN due to these two files:

In ViewGatewayResponse.groovy, ''EntityCondition'' class in not included i 
inserted the following line ot correct the error import 
org.ofbiz.entity.condition.EntityCondition;

In CaptureTransaction.groovy, Firstly, ''EntityCondition'' class in not 
included i inserted the following line ot correct the error import 
org.ofbiz.entity.condition.EntityCondition;
                                                       Secondly, there is 
spelling mistake in the lines, which at present is as follows:

if (orderPaymentPrefrence) {
    context.paymentTypeId = "CUSTOMER_PAYMENT";


whereas it should be as:

if (orderPaymentPreference) {
    context.paymentTypeId = "CUSTOMER_PAYMENT";

Rohit

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to