Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@worldpay2020/sap-composable
Advanced tools
Worldpay payment integration for SAP Composable Storefront
The Worldpay Connector for SAP Spartacus Storefront is an Angular Library that provides the components to integrate WorldPay payment solutions with the SAP Commerce Cloud Spartacus storefront.
Worldpay from FIS is one of the world's leading global eCommerce and payment technology companies. FIS is a leading provider of technology solutions for merchants, banks and capital markets firms globally.
Starting with version 2211.19, composable storefront has aligned its versioning with SAP Commerce Cloud. The previous release of composable storefront was version 6.8. For more information, see Changes to Release Numbering and Update Policies for Composable Storefront Starting in February 2024.
Composable storefront is based off the Spartacus open source code, and is included in the SAP Commerce Cloud license at no extra cost. Composable storefront has a roll-forward update policy. Spartacus documentation: https://sap.github.io/spartacus-docs/. Release information: https://sap.github.io/spartacus-docs/release-information/.
Note: Some Spartacus features require API endpoints that are only available in newer versions of SAP Commerce Cloud. For more information, see Feature Compatibility.
The Connector is compatible with the Spartacus Release 2211.28.0
Run the command ./install.sh
to do a clean install and run the example-storefront
@worldpay2020/sap-composable
to your Spartacus project - final name pending npm install @worldpay2020/sap-composable
or
npm install @worldpay2020/sap-composable@2211.28.0
app.module.ts
file.import { WorldpayModule } from '@worldpay2020/sap-composable';
@NgModule({
imports: [
...
WorldpayModule,
],
})
Note: WorldpayModule will include the following modules:
@NgModule({
imports: [
...
OccWorldpayModule,
WorldpayFraudsightRiskModule,
WorldpayCheckoutPaymentMethodModule,
WorldpayCheckoutDeliveryAddressModule,
WorldpayDdcIframeModule,
WorldpayDdcIframeRoutingModule,
Worldpay3dsChallengeIframeModule,
WorldpayCheckoutPlaceOrderModule,
WorldpayCheckoutReviewPaymentModule,
WorldpayCartSharedModule,
WorldpayOrderConfirmationModule,
WorldpayOrderDetailsModule,
],
...
})
@NgModule({
providers: [
provideConfig({
i18n: {
resources: worldpayTranslations
},
} as I18nConfig),
{
provide: APP_BASE_HREF,
useFactory: getBaseHref,
deps: [PlatformLocation]
},
...worldpayFacadeProviders,
],
})
export class WorldpayModule {
}
<html>
...
<app-root></app-root>
...
<script src="https://secure.worldpay.com/resources/cse/js/worldpay-cse-1.latest.min.js"></script>
</body>
</html>
To enable Guaranteed Payments, you must:
WorldpayGuaranteedPaymentsModule
to your app.module.ts
file:@NgModule({
imports: [
...
WorldpayModule,
WorldpayGuaranteedPaymentsModule
],
})
app.component.html
file using the <worldpay-guaranteed-payments></worldpay-guaranteed-payments>
tag<cx-storefront></cx-storefront>
<worldpay-guaranteed-payments></worldpay-guaranteed-payments>
app.module.ts
file:@NgModule({
imports: [
...
WorldpayModule,
WorldpayFraudsightRiskModule
],
})
export const environment = {
fraudSight: {
organisationId: 'YOUR_ORGANISATION_ID',
profilingDomain: 'PROFILING_DOMAIN',
pageId: 'PAGE_ID',
},
};
app.component.html
file using the tag<cx-storefront></cx-storefront>
<worldpay-fraudsight-risk
threatMetrix="wprofile"
[randomIdLength]="128"
[organisationId]="fraudsightConfig.organisationId"
[pageId]="fraudsightConfig.pageId"
[profilingDomain]="fraudsightConfig.profilingDomain"
></worldpay-fraudsight-risk>
Copyright (c) 2022 Worldpay Ltd.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Payment | Enabled Country | Currency | Requires User Data | Additional User Data |
---|---|---|---|---|
ACH Direct Debit | US | USD | Yes | Account type, Account Number, Routing Number, Check Number, Company Name, Custom Identifier |
AliPay | CN | USD, EUR | ||
ApplePay | All | All | Yes | |
Bancontact MisterCash | BE | EUR | ||
China Union Pay | CN | GBP,EUR,USD,SGD | ||
GiroPay | GE | EUR | ||
GooglePay | All | All | Yes | |
iDeal | NL | EUR | Yes | Bank Code |
Klarna | AT,FI,DE,NL,NO,SE,GB | EUR,GBP | ||
Klarna Pay Later | SE,NO,FI,DE,NL,AT,CH,GB,DK,US | EUR,GBP | ||
Klarna Pay Now | SE,DE,NL,AT | EUR,GBP | ||
Klarna Slice It | SE,NO,FI,DE,AT,GB,DK,US | EUR,GBP | ||
PayPal SSL | All | All | ||
POLi | NZ | NZ | ||
Postepay | IT | EUR | ||
Sepa | AT,BE,FR,DE,IE,IT,NL,ES | EUR | ||
Sofort | AT,BE,FR,DE,CH | EUR,CHF |
Payment | Enabled Country | Currency | Requires User Data | Additional User Data |
---|---|---|---|---|
ACH Direct Debit | US | USD | Yes | Account type, Account Number, Routing Number, Check Number, Company Name, Custom Identifier |
AliPay | CN | USD, EUR | ||
ApplePay | All | All | Yes | |
Bancontact MisterCash | BE | EUR | ||
China Union Pay | CN | GBP,EUR,USD,SGD | ||
GiroPay | GE | EUR | ||
GooglePay | All | All | Yes | |
iDeal | NL | EUR | Yes | Bank Code |
Klarna | AT,FI,DE,NL,NO,SE,GB | EUR,GBP | ||
Klarna Pay Later | SE,NO,FI,DE,NL,AT,CH,GB,DK,US | EUR,GBP | ||
Klarna Pay Now | SE,DE,NL,AT | EUR,GBP | ||
Klarna Slice It | SE,NO,FI,DE,AT,GB,DK,US | EUR,GBP | ||
PayPal SSL | All | All | ||
POLi | NZ | NZ | ||
Postepay | IT | EUR | ||
Sepa | AT,BE,FR,DE,IE,IT,NL,ES | EUR | ||
Sofort | AT,BE,FR,DE,CH | EUR,CHF |
Payment | Enabled Country | Currency | Requires User Data | Additional User Data |
---|---|---|---|---|
AliPay | CN | USD | ||
ApplePay | All | All | Yes | |
Bancontact MisterCash | BE | EUR | ||
China Union Pay | CN | GBP,EUR,USD,SGD | ||
GiroPay | DE | EUR | ||
GooglePay | All | All | Yes | |
iDeal | NL | EUR | Yes | Bank Code |
Klarna | AT,FI,DE,NL,NO,SE,GB | EUR,GBP | ||
Klarna Pay Later | SE,NO,FI,DE,NL,AT,CH,GB,DK,US | EUR,GBP | ||
Klarna Pay Now | SE,DE,NL,AT | EUR,GBP | ||
Klarna Slice It | SE,NO,FI,DE,AT,GB,DK,US | EUR,GBP | ||
PayPal | All | All | ||
POLi | NZ | NZ | ||
Postepay | IT | EUR | ||
Sepa | AT,BE,FR,DE,IE,IT,NL,ES | EUR | ||
Sofort | AT,BE,FR,DE,CH | EUR,CHF |
FAQs
Worldpay payment integration for SAP Composable Storefront
We found that @worldpay2020/sap-composable demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.