[Skip to main content](#vessel-content)

#   Invalid document end on pay

##

- **[nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")**
- [![nathankeenmelb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile") Topic Author
- [ Offline](/forum/user/34039-nathankeenmelb)

Less More

- Posts: 30
- Thank you received: 0
-
-

10 years 6 months ago [\#235594](#235594) by [nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")  *[Invalid document end on pay](/forum/27-checkout/883646-invalid-document-end-on-pay#235594 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.6.19 -- Error-message(debug-mod must be tuned on) -- : There was an error while processing your transaction: Invalid document end  A couple of people (not everyone) are getting the attached error saying &quot;invalid document end&quot; when they click &quot;pay now&quot; (submit) on our Hikashop checkout. One user said they were using Internet Explorer - not sure what the other was that I'm aware of. Both users were trying to buy a &quot;product&quot; which is called a subscription - but others have successfully purchased this recently.  No idea what the problem is, any help appreciated.")* was created by *[nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.6.19
-- Error-message(debug-mod must be tuned on) -- : There was an error while processing your transaction: Invalid document end

A couple of people (not everyone) are getting the attached error saying "invalid document end" when they click "pay now" (submit) on our Hikashop checkout. One user said they were using Internet Explorer - not sure what the other was that I'm aware of. Both users were trying to buy a "product" which is called a subscription - but others have successfully purchased this recently.

No idea what the problem is, any help appreciated.

- [ ![hikashop-error.png](/forum/attachment/30480) ](/forum/attachment/30480 "...shop-error.png") [ ](/forum/attachment/30480?download=1 "...shop-error.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MzY0Ni1pbnZhbGlkLWRvY3VtZW50LWVuZC1vbi1wYXk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 6 months ago [\#235627](#235627) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Invalid document end on pay](/forum/27-checkout/883646-invalid-document-end-on-pay#235627 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.6.19 -- Error-message(debug-mod must be tuned on) -- : There was an error while processing your transaction: Invalid document end  A couple of people (not everyone) are getting the attached error saying &quot;invalid document end&quot; when they click &quot;pay now&quot; (submit) on our Hikashop checkout. One user said they were using Internet Explorer - not sure what the other was that I'm aware of. Both users were trying to buy a &quot;product&quot; which is called a subscription - but others have successfully purchased this recently.  No idea what the problem is, any help appreciated.")*

Hi,

What is the payment method used ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MzY0Ni1pbnZhbGlkLWRvY3VtZW50LWVuZC1vbi1wYXk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")**
- [![nathankeenmelb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile") Topic Author
- [ Offline](/forum/user/34039-nathankeenmelb)

Less More

- Posts: 30
- Thank you received: 0
-
-

10 years 6 months ago [\#235757](#235757) by [nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")  Replied by *[nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")* on topic *[Invalid document end on pay](/forum/27-checkout/883646-invalid-document-end-on-pay#235757 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.6.19 -- Error-message(debug-mod must be tuned on) -- : There was an error while processing your transaction: Invalid document end  A couple of people (not everyone) are getting the attached error saying &quot;invalid document end&quot; when they click &quot;pay now&quot; (submit) on our Hikashop checkout. One user said they were using Internet Explorer - not sure what the other was that I'm aware of. Both users were trying to buy a &quot;product&quot; which is called a subscription - but others have successfully purchased this recently.  No idea what the problem is, any help appreciated.")*

Payment method is credit card, via HikaShop eWAY payment plugin

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MzY0Ni1pbnZhbGlkLWRvY3VtZW50LWVuZC1vbi1wYXk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14267
-
-

10 years 6 months ago [\#235782](#235782) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Invalid document end on pay](/forum/27-checkout/883646-invalid-document-end-on-pay#235782 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.6.19 -- Error-message(debug-mod must be tuned on) -- : There was an error while processing your transaction: Invalid document end  A couple of people (not everyone) are getting the attached error saying &quot;invalid document end&quot; when they click &quot;pay now&quot; (submit) on our Hikashop checkout. One user said they were using Internet Explorer - not sure what the other was that I'm aware of. Both users were trying to buy a &quot;product&quot; which is called a subscription - but others have successfully purchased this recently.  No idea what the problem is, any help appreciated.")*

Hi,

The error message "Invalid document end" actually comes from Eway themselves because their server couldn't read the payment request sent to it by the eway payment plugin, which actually uses the EwayPaymentLib class helper provided by eway to format the request to their server.
So I would normally say that there is something that changed on eway that would require modifications in their class helper or the plugin. But if it works for some payments and not others, then I don't know.
Maybe it comes from the product name, or the address of the customer which uses special characters that eway doesn't like ?
Can you confirm whether that is the case or not ?
Between a payment that works and one that doesn't, what is the difference ? The products purchased ? The address ? What if you change to the other one ? Does that make it work ? In that case what is the text involved with the problem ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MzY0Ni1pbnZhbGlkLWRvY3VtZW50LWVuZC1vbi1wYXk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")**
- [![nathankeenmelb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile") Topic Author
- [ Offline](/forum/user/34039-nathankeenmelb)

Less More

- Posts: 30
- Thank you received: 0
-
-

10 years 6 months ago [\#236284](#236284) by [nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")  Replied by *[nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")* on topic *[Invalid document end on pay](/forum/27-checkout/883646-invalid-document-end-on-pay#236284 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.6.19 -- Error-message(debug-mod must be tuned on) -- : There was an error while processing your transaction: Invalid document end  A couple of people (not everyone) are getting the attached error saying &quot;invalid document end&quot; when they click &quot;pay now&quot; (submit) on our Hikashop checkout. One user said they were using Internet Explorer - not sure what the other was that I'm aware of. Both users were trying to buy a &quot;product&quot; which is called a subscription - but others have successfully purchased this recently.  No idea what the problem is, any help appreciated.")*

Okay I've been through the transactions and it seems there has been a point after which no transaction has gone through. I had upgraded the site a couple of weeks before this point and tested it and it worked fine, and we were getting people through, but it just suddenly stopped working for no reason on our end.

So it looks like we are back to: "So I would normally say that there is something that changed on eway that would require modifications in their class helper or the plugin."

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MzY0Ni1pbnZhbGlkLWRvY3VtZW50LWVuZC1vbi1wYXk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")**
- [![nathankeenmelb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile") Topic Author
- [ Offline](/forum/user/34039-nathankeenmelb)

Less More

- Posts: 30
- Thank you received: 0
-
-

10 years 6 months ago [\#236287](#236287) by [nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")  Replied by *[nathankeenmelb](/forum/user/34039-nathankeenmelb "View nathankeenmelb's Profile")* on topic *[Invalid document end on pay](/forum/27-checkout/883646-invalid-document-end-on-pay#236287 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.6.19 -- Error-message(debug-mod must be tuned on) -- : There was an error while processing your transaction: Invalid document end  A couple of people (not everyone) are getting the attached error saying &quot;invalid document end&quot; when they click &quot;pay now&quot; (submit) on our Hikashop checkout. One user said they were using Internet Explorer - not sure what the other was that I'm aware of. Both users were trying to buy a &quot;product&quot; which is called a subscription - but others have successfully purchased this recently.  No idea what the problem is, any help appreciated.")*

Actually I just contacted eway and they say our account has been suspended! That would be the problem! Thanks for helping me think through it anyway. (The risk of changing your finance officer...)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4MzY0Ni1pbnZhbGlkLWRvY3VtZW50LWVuZC1vbi1wYXk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.243 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
