Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@ljmarquezge2y/checkout-spartacus-translations
Advanced tools
Checkout.com provides an end-to-end platform that helps you move faster, instead of holding you back. With flexible tools, granular data and deep insights, it’s the payments tech that unleashes your potential. So you can innovate, adapt to your markets, c
Checkout.com provides an end-to-end platform that helps you move faster, instead of holding you back. With flexible tools, granular data and deep insights, it’s the payments tech that unleashes your potential. So you can innovate, adapt to your markets, create outstanding customer experiences, and make smart decisions faster. The Connector for SAP Commerce Cloud (formerly Hybris) enables customers to implement a global payment strategy through a single integration in a secure, compliant and unified approach.
This Checkout.com library adds payments capabilities to the Spartacus Storefront for SAP Commerce Cloud.
This library is tailored to the Spartacus Storefront:
This release is compatible with:
checkout-spartacus-translations
v4.2.5Install the Checkout.com SAP Commerce Cloud Connector.
Install checkout.com spartacus connector:
yarn install @checkout.com/checkout-spartacus-connector
Install checkout.com spartacus connector:
yarn install @checkout.com/checkout-spartacus-translations
Update the `spartacus-configuration-module` to include the following:
import {CmsConfig, FeaturesConfig, I18nConfig, OccConfig, provideConfig, SiteContextConfig} from '@spartacus/core'; import {CheckoutConfig} from '@spartacus/checkout/root'; import { checkoutComTranslationChunkConfig, checkoutComTranslations } from '@checkout.com/checkout-spartacus-translations';
@NgModule({ providers: [ ...., provideConfig({ featureModules: { CheckoutComComponentsModule: { module: () => import('@checkout.com/checkout-spartacus-connector').then(m => m.CheckoutComComponentsModule), cmsComponents: [ 'CheckoutPaymentDetails', 'CheckoutPlaceOrder', 'OrderConfirmationThankMessageComponent', 'OrderConfirmationOverviewComponent', 'OrderConfirmationItemsComponent', 'OrderConfirmationShippingComponent', 'OrderConfirmationTotalsComponent', 'OrderConfirmationContinueButtonComponent', 'CheckoutReviewOrder', 'AccountOrderDetailsItemsComponent', 'AccountOrderDetailsShippingComponent', 'GuestRegisterFormComponent', 'AccountPaymentDetailsComponent', ], } } } as CmsConfig), provideConfig({ i18n: { resources: checkoutComTranslations, chunks: checkoutComTranslationChunkConfig, fallbackLang: 'en' }, } as I18nConfig), provideConfig({ checkout: { guest: true // not required, but we support guest checkout } } as CheckoutConfig), ... ]
Being a feature module, the code will only be loaded the moment we enter the third step of the checkout (Payment Details). The translations can’t be be lazy loaded, so this is why it has been moved to separate node module.
At the bottom of the body of your index.html, you will have to add the Frames script. Frames will log customer behaviour while browsing the website.
```
The source code of the connector can be found on
If you need to extend components, you can fork the repository so you are able to upgrade to future releases. In this fork, you can make your changes and import the library in your storefront.
If you don't want to fork, you can extend
components, copy the template and the Angular Component into your project. This will mean that you have to be vigilant when a new release of the library is integrated.
Include binaries. Previous 4.2.x releases are missing binaries.
Update readme
Use this release if you are using Spartacus 4.2.x
FAQs
Checkout.com provides an end-to-end platform that helps you move faster, instead of holding you back. With flexible tools, granular data and deep insights, it’s the payments tech that unleashes your potential. So you can innovate, adapt to your markets, c
We found that @ljmarquezge2y/checkout-spartacus-translations demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.