yarn add @broadleaf/commerce-core @broadleaf/checkout-com-payment-services-react
This SDK provides additional hooks and utilities to be used with React on top of what’s provided by @broadleaf/checkout-com-payment-services-api
.
Important
|
You do not need to add both this SDK and @broadleaf/checkout-com-payment-services-api , just choose the more applicable one.
Moreover you won’t need to add @broadleaf/payment-js or @broadleaf/payment-react as they are also included.
However, this library depends on @broadleaf/commerce-core , which does need to be included in your project directly.
|