Just noticed that testCCProcessorWithCapture and
alwaysApproveWithCaptureCCProcessor, AUTHORISE the payment and in turn calls
the testCCCapture processor to capture. After configuring testCCCapture
processor, the flow is working fine.
I was under the impression that alwaysApproveCCProcessor "AUTHORISE" the
payment, testCCCapture "CAPTURES" the payment & testCCProcessorWithCapture
or alwaysApproveWithCaptureCCProcessor, does both, and it does too, but not
in a single method itself, that is it "AUTHORISE" the payment, but for
capture it calls the testCCCapture.
On Mon, Sep 7, 2009 at 5:44 PM, Abdullah Shaikh <
[hidden email]> wrote:
> For checkout process, if I am using alwaysApproveCCProcessor &
> testCCCapture services then it's working fine, the order gets Approved and
> I can quick ship the order, but if I use testCCProcessorWithCapture or
> alwaysApproveWithCaptureCCProcessor (before using them I removed the
> alwaysApproveCCProcessor & testCCCapture services from Product Store
> Payment Settings), then it throws me below errors.
>
> 1) [java] org.ofbiz.service.ServiceAuthException: Security Error: To run
> createAcctgTransAndEntries you must have the one of the following
> permissions: ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN
>
> I guess the below error is because of the 1 error.
>
> 2) [java] java.lang.NullPointerException
> [java]
> org.ofbiz.accounting.payment.PaymentGatewayServices.savePaymentGatewayResponse(PaymentGatewayServices.java:2827)
>
>
> Do I need to configure something to run testCCProcessorWithCapture or
> alwaysApproveWithCaptureCCProcessor, as its throwing me security error, or
> anything else ?
>
>
>