Paid download not working

gahlord's Avatar


20 May, 2016 06:05 PM

I'm working on implementing Cashmusic into and having trouble getting the paid downloads to work.

I use AWS S3 for content storage. I have enabled paypal and stripe.

In Safari:

When I make the purchase I get the expected Thank You Here's the Link modal. However, nothing happens when I click the link button. It _will_ download the link if I right-click and "open link in new tab" but I am certain few customers will do this and will likely be terribly frustrated long before they figure that trick out.

Same experience if I follow the download link that arrives via email.

In Firefox:
When I use the download link that arrives via email I get the expected "Thank you here's the download link" modal. However, when I click the download link all the cashmusic text and the button disappears. Background remains darkened and blurry.

I noticed that Firefox was giving me a Mixed Content Secure flag. So, for grins, I disabled protection and tried the link once more.

With security disabled, the cashmusic link on Firefox worked as expected: clicking the link initiated a download.

The URL I am using to test this out is here:

(I've changed the price on this track to 10 cents so that if anyone wants to test this it isn't too expensive but still runs the system like a normal human)

I don't think I'll be able to tell people to turn off their security prefs and only use Firefox etc in order to purchase music. I think that would be too large a hurdle for anyone who isn't already a close personal friend of mine.

Please let me know if this is something I can fix or that I've configured wrong.

  1. Support Staff 1 Posted by Jesse von Doom on 20 May, 2016 10:04 PM

    Jesse von Doom's Avatar


    So this looks an awful lot like a server error. Our embeds woudn't halt all
    the rest of the page from rendering.

    Any chance you still have PHP code left over from your attempt at hosting
    it locally? If so it could be responding to the GET string, dying, and
    killing the page...


  2. 2 Posted by gahlord on 21 May, 2016 01:54 AM

    gahlord's Avatar

    I never got around to deploying it on my own so I don't think that's it.

    I'm embedding it in a WordPress site.

    My site renders fine, the stuff that disappears/doesn't work is the stuff that cashmusic publishes.


  3. Support Staff 3 Posted by Jesse von Doom on 21 May, 2016 05:53 PM

    Jesse von Doom's Avatar

    What I saw was a completely blank page on return to your site after paying.
    Our stuff is just a JS embed, but there's literally zero source being
    written to the browser. So the CASH embed is never even rendered. Can you
    check server error logs?


  4. 4 Posted by gahlord on 21 May, 2016 09:17 PM

    gahlord's Avatar

    I'll dig into the logs and report back.

    I only recently got the https running, I wonder if there's an issue there (like an older link looking for http and getting stripped out as the server tried to shift it to https)

  5. 5 Posted by gahlord on 22 May, 2016 12:53 AM

    gahlord's Avatar

    I wasn’t able to get server logs that made any sense to me.

    But I did try make a test page with nothing else in it. Essentially flat html with just <html> tags and <body> tags.

    It’s here:

    I wasn’t able to buy, said problem with card (and my paypal is connected to my acct so I can’t buy from myself that way). My card’s good so it’s something else in there.

    Any other thoughts?


  6. 6 Posted by gahlord on 24 May, 2016 04:05 AM

    gahlord's Avatar

    Here's a video of the original issue, clicking not working in either browser, disappearing content in Firefox:

    I suppose I could try to tell everyone that they have to use Safari only and right click and then open in a new tab in order to download the track. But that is, of course, super janky.

    Please let me know if there's something more to try or if this just isn't going to work for me.

  7. 7 Posted by gahlord on 26 May, 2016 06:47 PM

    gahlord's Avatar

    I went to the hosted version of my store and can't get it to work there either. But it fails in a different way.

    In safari, clicking the submit payment button results in nothing happening.

    In firefox, clicking the submit payment button results in the "problem with your payment" error, even though there is no problem with the card being tested.

    I feel like I'm running out of things to test/try in order to get this to work. I really want it to work, but I'm clearly missing something here. Thoughts?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac