Skip to content

Feature Creator#580

Merged
davidbeig merged 19 commits intofeature/stripe_integrationfrom
feature/creator_controller
Dec 12, 2023
Merged

Feature Creator#580
davidbeig merged 19 commits intofeature/stripe_integrationfrom
feature/creator_controller

Conversation

@davidbeig
Copy link
Copy Markdown
Contributor

🎩 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
Description

♥️ Thank you!

@subiabre subiabre self-requested a review November 21, 2023 09:11
@davidbeig davidbeig marked this pull request as ready for review November 22, 2023 11:26
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does this template exist?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, it's not part of this PR

return $this->redirectToRoute('home');
}

/*
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should also redirect to the user-profile route for non-creators.

@davidbeig davidbeig force-pushed the feature/creator_controller branch from 3a8e9fd to 64db875 Compare November 27, 2023 17:30
davidbeig and others added 5 commits November 28, 2023 09:58
* Only let admins allow stripe and subscribables

* Redirect user to stripe checkout to purchase subscription

* Add 'creator' role

* Cleaner code for createAdminSidebar function
@davidbeig davidbeig merged commit 4be4655 into feature/stripe_integration Dec 12, 2023
@davidbeig davidbeig deleted the feature/creator_controller branch December 12, 2023 11:49
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants