Hi,

I wanted to test out Authorization and Capture using the OOTB demo eCommerce 
site.  I went into: Catalog Manager => Stores => Payments, and changed the 
Credit Card Payment Authorization Service from "alwaysApproveCCProcessor" to 
"alwaysApproveWithCaptureCCProcessor".  

However, now I hit the following error when the order is submitted:

2010-02-04 08:19:46,643 (http-0.0.0.0-8443-4) [     
RequestHandler.java:412:ERROR] Request processpayment caused an error with the 
following message: Error in authOrderPayments service: 
org.ofbiz.service.GenericServiceException: Could not commit transaction for 
service [authOrderPayments] call: Roll back error, could not commit 
transaction, was rolled back instead because of: Service 
[createAcctgTransAndEntries] threw an unexpected 
exception/errororg.ofbiz.service.ServiceAuthException: Security Error: To run 
createAcctgTransAndEntries you must have the one of the following permissions: 
ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN (Security Error: To run 
createAcctgTransAndEntries you must have the one of the following permissions: 
ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN) (Could not commit transaction for service 
[authOrderPayments] call: Roll back error, could not commit transaction, was 
rolled back instead because of: Service [createAcctgTransAndEntries] threw an 
unexpected exception/errororg.ofbiz.service.ServiceAuthException: Security 
Error: To run createAcctgTransAndEntries you must have the one of the following 
permissions: ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN (Security Error: To run 
createAcctgTransAndEntries you must have the one of the following permissions: 
ACCTG_ATX_CREATE, ACCTG_ATX_ADMIN))


I have 2 questions:

1) Is it reasonable to set up authorization + capture in this way?
2) If so, what is the proper way to fix the permissions issue - is it something 
along the lines of adding accounting permissions to the "system" party?


Thanks for your help!

regards,
-mike

Reply via email to