Automattic / Automattic/dops-components

Move credit card components out of this repo

Open
#72 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
9
Forks
6
PR merge metrics
No merged PRs in 30d

Description

I think this repo should just be for presentational components, but because it's trying to handle a credit card UI, we've also added libraries for wp.com API support (which are outdated now), store transactions, etc. I think these would be easier to keep up-to-date in the context of their own projects.

It looks like the only place we're using the credit card component is in Akismet, so my suggestion is to move it and all the extras out of this repo, into that one. This would include:

- `components/payment`
- `lib/credit-card-details`
- `lib/paygate-loader`
- `lib/store-transactions`
- `lib/stored-cards`
- `lib/wp`
- `lib/wpcom-undocumented`

I just wanted to start a discussion about whether this is worthwhile, if other projects are using the credit card functionality... let me know 😄

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.