Skip to content

Allow users to set a payment pointer for their content #8304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 9, 2020

Conversation

benhalpern
Copy link
Contributor

@benhalpern benhalpern commented Jun 5, 2020

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

This PR allows individual users to add a payment pointer to their own profiles so that they can receive web monetization payments directly for traffic to their own posts, their own profiles and comment sections of posts they created.

This will help users directly monetize their content without our intervention in any way. Any earnings will be fairly minimal early on while the web monetization ecosystem is still early technology, but it's likely that our technical community will adopt some of this earlier than others and we are proud to be able to let users benefit early on.

The app itself has a payment pointer for traffic to pages not monetized by individual authors, which will help all Forem creators monetize in the future as well. In a lot of cases the platform is the only one monetizing in this fashion, rather than individual creators, but we felt like the functionality that allows both parties to take part across the Forem ecosystem is the only way we would want this to work.

In this PR I just linked to an explainer post about web monetization, but I think we should follow up with a more straightforward guide about how precisely it works on the platform.

Here is the Grant for the Web Hackathon page where you can find more information on web monetization and payment pointers:

https://dev.to/devteam/announcing-the-grant-for-the-web-hackathon-on-dev-3kd1

@pr-triage pr-triage bot added the PR: draft bot applied label for PR's that are a work in progress label Jun 5, 2020
@benhalpern benhalpern changed the title WIP Initial user payment pointer work Allow users to set a payment pointer for their content Jun 8, 2020
@benhalpern benhalpern marked this pull request as ready for review June 8, 2020 14:20
@benhalpern benhalpern requested review from a team as code owners June 8, 2020 14:20
@benhalpern benhalpern requested review from joshpuetz and removed request for a team June 8, 2020 14:20
@pr-triage pr-triage bot added PR: unreviewed bot applied label for PR's with no review and removed PR: draft bot applied label for PR's that are a work in progress labels Jun 8, 2020
@pr-triage pr-triage bot added PR: partially-approved bot applied label for PR's where a single reviewer approves changes and removed PR: unreviewed bot applied label for PR's with no review labels Jun 8, 2020
@pr-triage pr-triage bot added PR: unreviewed bot applied label for PR's with no review and removed PR: partially-approved bot applied label for PR's where a single reviewer approves changes labels Jun 8, 2020
@benhalpern benhalpern requested a review from jessleenyc June 8, 2020 21:57
@benhalpern benhalpern merged commit c1dca33 into master Jun 9, 2020
@benhalpern benhalpern deleted the ben/individual-user-payment-pointers branch June 9, 2020 20:28
@pr-triage pr-triage bot added PR: merged bot applied label for PR's that are merged and removed PR: unreviewed bot applied label for PR's with no review labels Jun 9, 2020
citizen428 pushed a commit that referenced this pull request Jun 15, 2020
* Initial user payment pointer work

* Finalize functionality and tests

* Fix schema

* Update app/views/shared/_payment_pointer.html.erb

* Add function to list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: merged bot applied label for PR's that are merged
2 participants