yarn add @broadleaf/commerce-cart @broadleaf/commerce-core @broadleaf/commerce-customer @broadleaf/payment-react
The Payment React SDK adds hooks for React apps on top of the utilities and types provided by
@broadleaf/payment-js and the Commerce SDK.
These hooks are intended to make building checkout and my-account pages faster and provide additional documentation through typing when making API requests for things like checkout submission, managing PaymentAccounts, saved CustomerAddresses, etc.
You do not need to add both this SDK and