[ https://issues.apache.org/jira/browse/OFBIZ-11754?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17119403#comment-17119403 ]
Suraj Khurana commented on OFBIZ-11754: --------------------------------------- Thanks Priya, It should be changed in two files applications/content/groovyScripts/content/ContentServices.groovy and applications/accounting/groovyScripts/payment/PaymentServices.groovy. Just a suggestion to remove it from file level as already defined in org/apache/ofbiz/service/engine/GroovyBaseScript.groovy HTH. > Create Payment service throws exception when receiving payment on order > ----------------------------------------------------------------------- > > Key: OFBIZ-11754 > URL: https://issues.apache.org/jira/browse/OFBIZ-11754 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: Trunk > Reporter: Priya Sharma > Assignee: Priya Sharma > Priority: Minor > Attachments: Screenshot from 2020-05-29 14-00-57.png > > > Steps to regenerate - > # Create a fresh order with COD payment mode > # Try to receive payment as PETTY_CASH payment method > Please refer the screenshot for more details. -- This message was sent by Atlassian Jira (v8.3.4#803005)