- Posts: 39
- Thank you received: 0
Digital Download after purchase fails
- colingchong
-
Topic Author
- Offline
Less
More
10 years 2 months ago - 10 years 2 months ago #248678
by colingchong
Digital Download after purchase fails was created by colingchong
-- url of the page with the problem -- : jesusdelivers.com
-- HikaShop version -- : HikaShop Business: 2.6.3
-- Joomla version -- : Joomla! 3.6.2
-- PHP version -- : 5.5.36
Hello,
I have a product that is a compilation of 16 downloadable mp3 files.
After ordering the customer receives a confirmation email but cannot download the files. He receives this
The requested URL /online-store/order/download/ file_id-XXXX/order_id-XXX/email- address@emailcom was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
When I look at his order it seems ok, the links will work and I can download the files.
I created a test order and was able to confirm that there is a problem though it shows differently for me.
When I click on the download links from the confirmation email I am taken to the Login screen and if I login and click on the link it takes me to a Log Out screen.
Our hosting provider has recently moved us to another server and I wonder if this has not caused the problem. Either way could you give me some insight as to how I might go about solving this problem
Many Thanks
Lord Bless
Colin Chong
-- HikaShop version -- : HikaShop Business: 2.6.3
-- Joomla version -- : Joomla! 3.6.2
-- PHP version -- : 5.5.36
Hello,
I have a product that is a compilation of 16 downloadable mp3 files.
After ordering the customer receives a confirmation email but cannot download the files. He receives this
The requested URL /online-store/order/download/ file_id-XXXX/order_id-XXX/email- address@emailcom was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."
When I look at his order it seems ok, the links will work and I can download the files.
I created a test order and was able to confirm that there is a problem though it shows differently for me.
When I click on the download links from the confirmation email I am taken to the Login screen and if I login and click on the link it takes me to a Log Out screen.
Our hosting provider has recently moved us to another server and I wonder if this has not caused the problem. Either way could you give me some insight as to how I might go about solving this problem
Many Thanks
Lord Bless
Colin Chong
Last edit: 10 years 2 months ago by Jerome. Reason: removing private information
Please Log in or Create an account to join the conversation.
10 years 2 months ago #248679
by nicolas
Replied by nicolas on topic Digital Download after purchase fails
Hi,
When you have a download link with the email address, it means that the order was made as a guest checkout.
And you said that when you tested, you had to login, so I assume that you didn't do a guest checkout and instead you logged in for your purchase.
That's probably why you get a different behavior. Can you confirm ?
Also, a download link for a guest purchase can be used by anyone. So if you use the link that the customer received, does it work ? Do you get the same error ?
You said that your link worked when you looked at the order. Do you mean that the link you tested was the link from your backend, not the link from the email of the customer ?
In the link you provided, there is a space between the - and the email address. That's not normal. Is that something you added ? Or does that come from the email of the customer in the order ? That might explain the problem.
Do everyone has the same problem with download links as guests or only this one user ?
Also, the message says "while trying to use an ErrorDocument to handle the request". Could you check the PHP error log of your website for any fatal errors with the date and time corresponding to your tests ?
When you have a download link with the email address, it means that the order was made as a guest checkout.
And you said that when you tested, you had to login, so I assume that you didn't do a guest checkout and instead you logged in for your purchase.
That's probably why you get a different behavior. Can you confirm ?
Also, a download link for a guest purchase can be used by anyone. So if you use the link that the customer received, does it work ? Do you get the same error ?
You said that your link worked when you looked at the order. Do you mean that the link you tested was the link from your backend, not the link from the email of the customer ?
In the link you provided, there is a space between the - and the email address. That's not normal. Is that something you added ? Or does that come from the email of the customer in the order ? That might explain the problem.
Do everyone has the same problem with download links as guests or only this one user ?
Also, the message says "while trying to use an ErrorDocument to handle the request". Could you check the PHP error log of your website for any fatal errors with the date and time corresponding to your tests ?
Please Log in or Create an account to join the conversation.
- colingchong
-
Topic Author
- Offline
Less
More
- Posts: 39
- Thank you received: 0
10 years 2 months ago #248699
by colingchong
Replied by colingchong on topic Digital Download after purchase fails
When you have a download link with the email address, it means that the order was made as a guest checkout.
And you said that when you tested, you had to login, so I assume that you didn't do a guest checkout and instead you logged in for your purchase.
That's probably why you get a different behavior. Can you confirm ?
* Yes, that is correct
Also, a download link for a guest purchase can be used by anyone. So if you use the link that the customer received, does it work ? Do you get the same error ?
* I get the same error
You said that your link worked when you looked at the order. Do you mean that the link you tested was the link from your backend, not the link from the email of the customer ?
* Yes, I was testing from the back-end to make sure the files were accessible
In the link you provided, there is a space between the - and the email address. That's not normal. Is that something you added ? Or does that come from the email of the customer in the order ? That might explain the problem.
* When I posted my question I altered the email address of the client so that it did not show and introduced that space.
Do everyone has the same problem with download links as guests or only this one user ?
* This is the first problem I have seen with guest downloads but I will do a test order as a guest and post the results
Also, the message says "while trying to use an ErrorDocument to handle the request". Could you check the PHP error log of your website for any fatal errors with the date and time corresponding to your tests ?[/quote]
* I will take a look for this
Thanks
And you said that when you tested, you had to login, so I assume that you didn't do a guest checkout and instead you logged in for your purchase.
That's probably why you get a different behavior. Can you confirm ?
* Yes, that is correct
Also, a download link for a guest purchase can be used by anyone. So if you use the link that the customer received, does it work ? Do you get the same error ?
* I get the same error
You said that your link worked when you looked at the order. Do you mean that the link you tested was the link from your backend, not the link from the email of the customer ?
* Yes, I was testing from the back-end to make sure the files were accessible
In the link you provided, there is a space between the - and the email address. That's not normal. Is that something you added ? Or does that come from the email of the customer in the order ? That might explain the problem.
* When I posted my question I altered the email address of the client so that it did not show and introduced that space.
Do everyone has the same problem with download links as guests or only this one user ?
* This is the first problem I have seen with guest downloads but I will do a test order as a guest and post the results
Also, the message says "while trying to use an ErrorDocument to handle the request". Could you check the PHP error log of your website for any fatal errors with the date and time corresponding to your tests ?[/quote]
* I will take a look for this
Thanks
Please Log in or Create an account to join the conversation.
- colingchong
-
Topic Author
- Offline
Less
More
- Posts: 39
- Thank you received: 0
10 years 2 months ago #248700
by colingchong
Replied by colingchong on topic Digital Download after purchase fails
I created a guest order and those links worked fine so I have to conclude that it is just this client that has an issue.
He registered on the website after he made the order as a guest so that maybe were the problem comes from
He registered on the website after he made the order as a guest so that maybe were the problem comes from
Please Log in or Create an account to join the conversation.
- colingchong
-
Topic Author
- Offline
Less
More
- Posts: 39
- Thank you received: 0
10 years 2 months ago #248701
by colingchong
Replied by colingchong on topic Digital Download after purchase fails
I just sent his order confirmation to my address and the links don't work. I am directed to Login
Can I fix this? Would be nice to know what caused the problem to avoid it in the future
Or should I recreate an order for him and send the confirmation to him?
Can I fix this? Would be nice to know what caused the problem to avoid it in the future
Or should I recreate an order for him and send the confirmation to him?
Please Log in or Create an account to join the conversation.
10 years 2 months ago #248703
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Digital Download after purchase fails
Hi,
Only in guest checkout the email is added in the url to allow the users without account to download the file ; that link is less secure because it do not require registration or authentication.
Regards,
When you have a Joomla account ; you need to be logged in the website in order to confirm that you have the right to download the file.I just sent his order confirmation to my address and the links don't work. I am directed to Login
Only in guest checkout the email is added in the url to allow the users without account to download the file ; that link is less secure because it do not require registration or authentication.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- colingchong
-
Topic Author
- Offline
Less
More
- Posts: 39
- Thank you received: 0
10 years 2 months ago #248883
by colingchong
Replied by colingchong on topic Digital Download after purchase fails
The customer ordered the product as a guest and them registered on the website.
Would this have caused this problem?
Would this have caused this problem?
Please Log in or Create an account to join the conversation.
10 years 2 months ago #248898
by nicolas
Replied by nicolas on topic Digital Download after purchase fails
Hi,
If you register with the same email address, the the download links of the orders already placed will require the customer to be logged in to be able to download the files.
So the fact that you're being redirected to the login form when you use his download link is totally normal.
If you login with his username and password, his link should then send you the file.
If you register with the same email address, the the download links of the orders already placed will require the customer to be logged in to be able to download the files.
So the fact that you're being redirected to the login form when you use his download link is totally normal.
If you login with his username and password, his link should then send you the file.
Please Log in or Create an account to join the conversation.
- colingchong
-
Topic Author
- Offline
Less
More
- Posts: 39
- Thank you received: 0
10 years 12 hours ago #254549
by colingchong
Replied by colingchong on topic Digital Download after purchase fails
I have had another of these 404 incidents with this error
Not Found
The requested URL /online-store/order/download/file_id-880/order_id-102/email-someone@hotmail.com was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I tried to recreate with a guest checkout but was unable to replicated the error.
I am going to look at reconfiguring my cart as it's a bit clunky and might be somehow be the problem. Wouldn't mind any insight that you might have though...
Not Found
The requested URL /online-store/order/download/file_id-880/order_id-102/email-someone@hotmail.com was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I tried to recreate with a guest checkout but was unable to replicated the error.
I am going to look at reconfiguring my cart as it's a bit clunky and might be somehow be the problem. Wouldn't mind any insight that you might have though...
Please Log in or Create an account to join the conversation.
9 years 11 months ago #254567
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Digital Download after purchase fails
Hi,
For the 404 page you got you should check the order id (that you can see in the paramters) and be sure that the order is still valid to authorize the download.
The email should also be the email related to the order ; and email used for a guest account and not an email for an existing Joomla account.
Regards,
For the 404 page you got you should check the order id (that you can see in the paramters) and be sure that the order is still valid to authorize the download.
The email should also be the email related to the order ; and email used for a guest account and not an email for an existing Joomla account.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.071 seconds