Leon Xu
|
fc3f5551a6
|
fix: change from id to uid
|
2022-05-07 15:37:35 -07:00 |
|
Leon Xu
|
5b7a0aadd2
|
doc: add database to payment component
|
2022-05-07 15:31:54 -07:00 |
|
Leon Xu
|
07cfc6efc2
|
doc: dispatch EMPTY_BASKET type
|
2022-05-07 15:12:52 -07:00 |
|
Leon Xu
|
1eac6e687c
|
doc: add axios, useEffect, useState, Link, and useHistory to payment component
|
2022-05-07 14:24:39 -07:00 |
|
Leon Xu
|
1d023fd69b
|
doc: add buy now button with conditional rendering and error conditional rendering
|
2022-05-07 14:13:19 -07:00 |
|
Leon Xu
|
2010f9423e
|
doc: remove object inside CurrencyFormat
|
2022-05-07 14:08:59 -07:00 |
|
Leon Xu
|
8b67180daa
|
doc: add CurrentFormat, getBasketTotal and move payment stylesheet to the bottom
|
2022-05-07 14:08:03 -07:00 |
|
Leon Xu
|
475d51c2a1
|
doc & fix: add setDisabled and setError to handleChange method and fix handleError to setError
|
2022-05-07 14:04:10 -07:00 |
|
Leon Xu
|
5ac0d48ec7
|
doc: add useState for handleError and setDisabled
|
2022-05-07 14:02:49 -07:00 |
|
Leon Xu
|
7b96e90ea8
|
doc: add CardElement, useElements, useStripe from react-stripe-js and handleChange and handleSubmit method
|
2022-05-07 14:02:02 -07:00 |
|
Leon Xu
|
f2ebe6e580
|
doc: add checkout items link
|
2022-05-07 13:59:27 -07:00 |
|
Leon Xu
|
94ecbadbf3
|
doc: update payment component
|
2022-05-07 13:49:40 -07:00 |
|
Leon Xu
|
27e3c294a2
|
file: create Payment component along with its stylesheet
|
2022-05-07 13:37:07 -07:00 |
|