cx-composer--for=liferay

Commerce Payment Integration

Integrate a payment provider with Liferay Commerce.

type: commercePaymentIntegration·Commerce

# description

Registers a payment provider — Stripe, Adyen, PayPal, etc. Commerce checkout routes payment intents through your provider via the paired OAuth user-agent app.

Payment, shipping, tax, and checkout integrations for Liferay Commerce.

# when to use

  • You're onboarding a payment provider Commerce doesn't ship natively.
  • You need a private / regional payment method.

# how to use

  1. 01Ship a paired oAuthApplicationUserAgent.
  2. 02Provide provider-specific settings via paymentIntegrationTypeSettings: (apiKey, environment, hmacSignature, etc.).

# optional fields

fieldtypedescription
namestringDisplay name.
keystringInternal Commerce reference code.
oAuth2ApplicationExternalReferenceCodestringRef code of the paired oAuthApplicationUserAgent.
paymentIntegrationTypeintegerIntegration mode (per Commerce docs).
paymentIntegrationTypeSettingsmapProvider-specific settings.

# example

client-extension.yaml
stripe-payments:
    type: commercePaymentIntegration
    name: Stripe
    key: stripe-payments
    oAuth2ApplicationExternalReferenceCode: stripe-oauth
    paymentIntegrationTypeSettings:
        apiKey: sk_test_...
        environment: test

# related types

Usually shipped alongside Commerce Payment Integration:

# more in commerce