braintree-spartacus-storefront

Braintree storefront library for Spartacus for version BT-1.6.0.1-Webhooks_bugfix_release-20.10.2021

Usage no npm install needed!

<script type="module">
  import braintreeSpartacusStorefront from 'https://cdn.skypack.dev/braintree-spartacus-storefront';
</script>

README

Braintree Spartacus Storefront

The Braintree Spartacus Storefront library provides components that extend standard Spartacus components for checkout feature as express checkout from the cart page and from the billing page.

Setup

Note: The library should be used together with the Braintree extensions for SAP Commerce Cloud.

Need to import BraintreeStorefrontModule to the main module.

import { BraintreeStorefrontModule } from 'braintree-spartacus-storefront';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BraintreeStorefrontModule
  ]

Import braintree-spartacus-styles lib to the scss file.

@import '~braintree-spartacus-styles/index';