[ https://issues.apache.org/jira/browse/OFBIZ-4176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Kreidenweis updated OFBIZ-4176: -------------------------------------- Attachment: OFBIZ-4176.patch Fix for the issue: we created a new savePaymentGatewayResponseAndMessages service, that takes both the Response and the ResponseMessages and writes them to the database in the right order. > savePaymentGatewayResponse throws exceptions due to foreign key constraints > --------------------------------------------------------------------------- > > Key: OFBIZ-4176 > URL: https://issues.apache.org/jira/browse/OFBIZ-4176 > Project: OFBiz > Issue Type: Bug > Components: accounting > Affects Versions: SVN trunk > Reporter: Martin Kreidenweis > Attachments: OFBIZ-4176.patch > > > If you use a CC payment service provider that actually wants to save not only > PaymentGatewayResponses, but also PaymentGatewayResponseMessages, saving > these to the database actually might fail because they are created in the > wrong order. The response and the messages are scheduled as separate async > rollback services in processCreditResult. So it's not guaranteed the Response > is there before OFBiz tries to add the ResponseMessages. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira