Search the Community
Showing results for tags 'Invoice Delivery'.
-
There's a bug either in the PostalMethods API or in the InvoiceDelivery class that's causing PostalMethods to return a 400 Bad Request respsonse header with 0-length response body. It took me a long time to figure out, because Blesta wasn't returning an error message, just a "-1" error code, which is obviously meaningless, and nothing being logged. I eventually got myself the response code from the Http curl wrapper class, which came back with "400". I then extracted the $xml as string from the PostalMethods class before it was sent, and I did a manual post request to PostalMethods directly. It came back with the following response: HTTP/1.1 400 Bad Request Date: Tue, 12 Apr 2016 19:17:05 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET X-AspNet-Version: 2.0.50727 Cache-Control: private Content-Length: 0 It turned out that the cause was an ampersand (&) in the company name: <Company>Example & Co. Accountants</Company> So, I'm guessing, the data is not being properly encoded, at least for the Company element.
- 3 replies
-
- PostalMethods
- Invoice Delivery
-
(and 1 more)
Tagged with:
-
I am using v3.5.3 and I just realised that when I manually record a payment it sends an email to the customer without attaching the paid invoice(s). Why does this happen? Is there any way to change this behaviour? I checked the email template for "Payment Received (Manual Entry)" and yes the "Include Any Attachments" option was checked. I need to know if this is normal operation that others have experienced or is this a fault with my setup? I have another weird issue, not sure if it will happen a second time but I recorded a payment and on the invoice it showed the amount applied as twice the value I entered along with a balance that was negative. So for example say the customer had an unpaid invoice owing $100, I record $100 payment, pdf invoice shows amount applied = $200 and balance = -$100. So I unapplied the payment and ended up with a loose credit of $100 and Due $100, 5 mins later cron ran and applied the loose credits and all of a sudden the pdf invoice is correct.
- 4 replies
-
- invoice delivery
- payment received
-
(and 1 more)
Tagged with: