Downloads page not refreshing on purchase
Permalink Browser Info Environment
Hi there, I am setting up the selling of digital downloads. Once the purchase is complete it redirects to a 'My Downloads' page where they can access their content. However (whilst in test mode), If my test user then makes a second, different purchase, when that purchase checks out and goes to the My Downloads page it does not appear, even if you refresh the page. If you log out and log back in again as the user it then appears as you would expect.
Please help, what am I missing? I cannot send the clients site live until I sort this out!!
Please help, what am I missing? I cannot send the clients site live until I sort this out!!
Type: | Pre-Sale |
---|---|
Status: | Resolved |
Hi Ryan,
That's great. I have sent the site live anyway as I don't think it is a situation we are going to come across immediately, but I do look forward to the update so I can sign it off with the client.
Just to add, a great set of add-on's, I love the power and versatility it gives me because of the way it works with Concrete's permissions. I shall be recommending this method to all future clients wanting e-commerce!
Thanks again,
Steve.
That's great. I have sent the site live anyway as I don't think it is a situation we are going to come across immediately, but I do look forward to the update so I can sign it off with the client.
Just to add, a great set of add-on's, I love the power and versatility it gives me because of the way it works with Concrete's permissions. I shall be recommending this method to all future clients wanting e-commerce!
Thanks again,
Steve.
Thanks for the positive feedback, means a lot!
I've updated the package to version 1.0.5 - this should fix the issue you've described. I tested the fix by:
- creating two products, each adding the user to a different user group
- creating a page with two blocks of content with view permissions set to each of the two user groups (so I could easily tell what groups the user was in). I set the memberships config to redirect to this page
- I purchased the first product. That redirected to the page, I could see the first bit of content
- Without logging out, I purchased the second product. Before the change, I'd be redirected to the page but would only see the first bit of content and would need to log out and in again to see the second bit of content. After the fixed I'd see both bits of content immediately as expected, without requiring a logout/in.
Fortunately I'd addressed the same issue recently in some work I've done forhttps://github.com/vividweb/vivid-store,... so I knew what I needed to do, I just had to make sure it worked.
Let me know if you have any further issues.
-Ryan
I've updated the package to version 1.0.5 - this should fix the issue you've described. I tested the fix by:
- creating two products, each adding the user to a different user group
- creating a page with two blocks of content with view permissions set to each of the two user groups (so I could easily tell what groups the user was in). I set the memberships config to redirect to this page
- I purchased the first product. That redirected to the page, I could see the first bit of content
- Without logging out, I purchased the second product. Before the change, I'd be redirected to the page but would only see the first bit of content and would need to log out and in again to see the second bit of content. After the fixed I'd see both bits of content immediately as expected, without requiring a logout/in.
Fortunately I'd addressed the same issue recently in some work I've done forhttps://github.com/vividweb/vivid-store,... so I knew what I needed to do, I just had to make sure it worked.
Let me know if you have any further issues.
-Ryan
Just given it a quick test and seems to be working perfectly. Thank you very much, not just for a great add-on, but for a very swift remedy to a bug and for a happy friendly attitude towards us lesser mortals (prevalent amongst most Concrete5 devs, but not all).
You are a credit to the community sir!
Thanks again,
Steve.
You are a credit to the community sir!
Thanks again,
Steve.
Fantastic, glad to hear it's working.
Any chance you can drop a quick review onto the add-ons themselves?
-Ryan
Any chance you can drop a quick review onto the add-ons themselves?
-Ryan
Absolutely I can, although I will do it in the morning after some sleep, I am being quite incoherent at the moment!
Once again, thank you for such a speedy fix!
Steve.
Once again, thank you for such a speedy fix!
Steve.
I think you've hit a bug, that secondary purchase is something I simply didn't think to test.
I'm pretty sure I know why it wouldn't be refreshing and how to fix it though, it's something I've tackled recently in another project.
Give me 24 hours and I'll look to make a change, test it and push up an update for you.
Cheers
-Ryan