-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Marketplace: save stripe api key #1009
Conversation
bug: saved api key fails to display in Marketplace Config page Co-authored-by: Zee Spencer <[email protected]> Co-authored-by: Ana <[email protected]> Co-authored-by: Naomi Quinones <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗝️
Co-authored-by: Ana Ulin <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we could merge as is; or we could flesh out the policy logic first. Dealers choice, @KellyAH !!!
@@ -5,6 +5,10 @@ class MarketplacePolicy < ApplicationPolicy | |||
def show? | |||
true | |||
end | |||
|
|||
def update? | |||
true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this logic should be thought through a bit before merge :D
* Marketplace: MarketplacesController#edit Spec Just a basic "get the route, confirm it renders a template successfully for authenticated user and is a 404 when not" * Marketplace: Unit tests MarketplacePolicy#update?
We had been doing our smoke-testing with authenticated users, not guests; and then Zee broke everything by not logging in and discovering that we hadn't actually handled the Guest case well. This tests the `Marketplace::CheckoutPolicy`, as well as sprouts some Factories for creating `:marketplace_checkout`s more conveniently. co-authored-by: Ana Ulin <[email protected]> co-authored-by: Dalton <[email protected]> co-authored-by: Kelly Hong <[email protected]>
- Adds Breadcrumbs - Places Configure Products underneath the `marketplace/edit` view co-authored-by: Ana Ulin <[email protected]> co-authored-by: Dalton <[email protected]> co-authored-by: Kelly Hong <[email protected]>
See: #831
Added logic for saving stripe api key on Marketplace.
Integrating with stripe via saving the stripe api key was more difficult than we thought. 😞
Co-authored-by: Zee Spencer [email protected]
Co-authored-by: Ana [email protected]
Co-authored-by: Naomi Quinones [email protected]
TODO: