Feature Creator#580
Merged
davidbeig merged 19 commits intofeature/stripe_integrationfrom Dec 12, 2023
Merged
Conversation
subiabre
requested changes
Nov 22, 2023
Contributor
Author
There was a problem hiding this comment.
You are right, it's not part of this PR
| return $this->redirectToRoute('home'); | ||
| } | ||
|
|
||
| /* |
Member
There was a problem hiding this comment.
I think we should also redirect to the user-profile route for non-creators.
3a8e9fd to
64db875
Compare
* Only let admins allow stripe and subscribables * Redirect user to stripe checkout to purchase subscription * Add 'creator' role * Cleaner code for createAdminSidebar function
davidbeig
added a commit
that referenced
this pull request
Dec 12, 2023
* create subscriptions menu for project dashboard (#555) authored-by: David Igón <davidbenabarre@platoniq.net> * Add subscriptions * Add subscriptions to project dashboard * Update database code * Update dashboard subscription form * Start updating subscriptions dashboard to add new subscription * Basic subscription form on dashboard * CRUD for subscriptions on project dashboard * Add support for subscriptions via stripe payments * Fix Stripe integration details * Make stripe subscriptions be enabled via rewards * Remove legacy integration * Remove javascript related to previous subscription model * Fix stripe integration PR comments * Use abstract payment in stripe payment method * Fix Stripe webhook code * Use yml webhook secret * Add missing config * Fix subscription gateway madness * Add subscriptions to user dashboard * Unify stripe subscription naming * Allow users to list and cancel their stripe subscriptions * Update subscription data vis * Only let admins allow stripe and subscribables * Redirect user to stripe checkout to purchase subscription * Add 'creator' role * Add commissions data and fix webhook status * Redirect customer to next step in invest controller * Display subscription based rewards different * Highlight subscribable rewards on project side * Add "subscriptions" submodule * Improve metadata of stripe subscriptions * Use stripe to validate success on payment response * Allow basic listing of subscriptions to the admins * Fix bug with invest reward function return type * Feature Creator (#580) * add calls for project and reward to get subscribable rewards for a given project * add creator controller and first view * add new copies for creator landing * add posts for creator landing * add strong to user name in creator landing * add project section to creator layout * fixes on creator css * show all rewards in creator landing ordered by subscribable and amount * change grid layout for creator subscriptions and change it to slider * add links to share creator landing page * move social share in creator to partial * add channels to creator landing * move creator partials to public * add styles to slider arrows in creator subscriptions * Add 'creator' role (#579) * Only let admins allow stripe and subscribables * Redirect user to stripe checkout to purchase subscription * Add 'creator' role * Cleaner code for createAdminSidebar function * remove unnecessary partial * fixes in redirects in creator controller --------- Co-authored-by: Daniel Subiabre García <subiabrewd@gmail.com> --------- Co-authored-by: David <david@goteo.org>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎩 What? Why?
Please describe your pull request.
📌 Related Issues
Link your PR to an issue
Testing
Describe the best way to test or validate your PR.
📷 Screenshots
Please add screenshots of the changes you are proposing
