git clone <repository-url>
this repositorycd ask-jeeves
npm install
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
- One Main CreditCardForm component
- Have a onSave which works with Configurable Checkout Contract
- Have a separate onSave which works in wallet-management scenarios.
- For now just consoled.log to show Proof of concept of different actions being invoked
Wallet will have two components
- CCForm ( used for checkout cases)
- AuthCCForm (used for wallet-management scenario: does save card + makes auth calls)
Application.hbs
|-->Wallet
|-->EditPaymentMethod
|--> CCForm
|--> AuthCCForm
- Wallet -> Wallet-Container
- EditPaymentMethod (newly introduced component)
- CCForm -> Create-Payment-Method component
- AuthCCForm -> A Create-Payment-Method component which has additional actions to do auth checks