April 2020
Intermediate to advanced
716 pages
18h 55m
English
The StripeConnect component will basically complete the remaining auth process steps with Stripe and render the relevant messages based on whether the Stripe connection was successful, as shown in the following screenshot:

When the StripeConnect component loads, we will use a useEffect hook to parse the query parameters attached to the URL from the Stripe redirect, as shown in the following code.
mern-marketplace/client/user/StripeConnect.js:
useEffect(() => { const abortController = new AbortController() const signal = abortController.signal const jwt = auth.isAuthenticated() const parsed = queryString.parse(props.location.search) ...Read now
Unlock full access