How to record payment provider (e.g. PayPal) fees as operational expenses

2015-12-15 Thread Morten Jensen
Hi, We are using PayPal to make and take payments but we are not using the PayPal gateway for payments and are instead using our own order and payments integration flow. We typically create an order of say £100 and once the client pays we generate the invoice. The problem is that we may only get

Re: How to record payment provider (e.g. PayPal) fees as operational expenses

2015-12-15 Thread Morten Jensen
Hi again, I should probably add btw. that I had a look at the PayPalServices.java and PayPayEvents.java files for inspiration on this. I notice that the latter retrieves the fee via String paymentFee = request.getParameter("mc_fee") - but as far is I can make out that is just ignored, i.e. not at

Re: JobPoller: Problems reading values from serviceengine.xml file

2015-12-15 Thread Scott Gray
That's a problem in the older versions caused by concurrent access to the cached dom model of the serviceengine.xml file. The dom doesn't support concurrent reads and you'll intermittently see this problem. The only solution is to store the serviceengine configuration in POJOs rather than caching

Re: How to record payment provider (e.g. PayPal) fees as operational expenses

2015-12-15 Thread Pierre Smits
Hi Morten, Order adjustments to be able to process the difference is not the way to go. The payment fee is operational expense (OPEX), as a result of the business decision you (or your company) took. Changing the order, after the customer consented to the terms, involves more than just your

Re: How to record payment provider (e.g. PayPal) fees as operational expenses

2015-12-15 Thread Pierre Smits
Hi Morten, Feel free to create an improvement issue in our JIRA regarding the unused parameter, so that this can be tracked. Best regards Pierre Smits ORRTIZ.COM OFBiz based solutions & services OFBiz Extensions Marketplace http://oem.ofbizci.net/oci-2/ On Tue, Dec

RE: JobPoller: Problems reading values from serviceengine.xml file

2015-12-15 Thread Len Shein
Thanks Scott, I'll take a look. Regards Len -Original Message- From: Scott Gray [mailto:scott.g...@hotwaxsystems.com] Sent: Tuesday, December 15, 2015 5:41 PM To: user@ofbiz.apache.org Subject: Re: JobPoller: Problems reading values from serviceengine.xml file That's a problem in the