Skip to content

Instantly share code, notes, and snippets.

@bdcravens
Last active August 29, 2015 14:09
Show Gist options
  • Save bdcravens/ceaebed8bbb12964649b to your computer and use it in GitHub Desktop.
Save bdcravens/ceaebed8bbb12964649b to your computer and use it in GitHub Desktop.
Gumroad "Add to Library" bug

"Add to Library" not working. Button flashes "Adding ..." and then returns, no notice, no error. Request goes to add_purchase_to_library.json, returns a 200 status code, and the JSON returned is success: false.

Source on a purchased product page reveals this for button:

<... name="user[purachse_id" ....>

An obvious typo in form. Inpect Element and changing to:

<... name="user[purchase_id]" ....>

fixes the problem and lets me add product to library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment