feat(payment): STRIPE-444 New Stripe UPE (PoC) #2018
Draft
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?
PoC how we can implement custom view for payment method inside our default payment methods accordion.
In our case it is for new Stripe implementation which uses custom accordion view and group multiple payment methods in one payment element.
This custom accordion should be rendered inside our default payment methods list. Also it should be sorted by some additional logic and can be placed on any position in default accordion.
Current PoC does not contain all Stripe Element styling, because we are waiting for some fixes on stripe side.
Also Accordion ui and context was migrated to the shared UI package to be available for payment integration packages.
Why?
...
Testing / Proof
Screen.Recording.2024-09-18.at.14.20.29.mov
@bigcommerce/team-checkout