{"repo":"ForkPoint/ucp-sfcc","free":true,"listed":false,"github":"https://github.com/ForkPoint/ucp-sfcc","clone":"git clone https://github.com/ForkPoint/ucp-sfcc.git","description":"SFCC UCP Cartridge","language":"JavaScript","stars":10,"topics":["agentic","ecommerce","salesforce","sfcc","sfcc-cartridge","ucp"],"license":"AGPL-3.0","category":"ecommerce","readme_excerpt":"UCP (Universal Commerce Protocol) Integration for SFCC This cartridge implements the UCP specification for Salesforce Commerce Cloud (SFCC), enabling standardized checkout sessions and order management through a REST API. Overview The UCP integration provides the following capabilities: - Discovery endpoint ( .well-known/ucp ) - Checkout session management - Discount handling - Fulfillment options - Order completion Implementation Architecture The implementation consists of: 1. Controller ( cartridges/int ucp/cartridge/controllers/RedirectURL.js ) - Extends the base RedirectURL controller - Routes UCP requests to the appropriate middleware handlers - Handles HTTP methods: GET, POST, PUT 2. Middleware ( cartridges/int ucp/cartridge/scripts/middleware/ucp.js ) - handleUCPDiscoveryRequest() - Returns UCP capabilities and payment handlers - handleCreateCheckoutSessionRequest() - Creates a new checkout session - handleModifyBasketRequest() - Updates an existing checkout session - handleCompleteOrderRequest() - Completes the checkout and creates an order 3. Helpers ( cartridges/int ucp/cartridge/scripts/helpers/ucpHelpers.js ) - Configuration management - Capability mapping 4. Custom Objects - UCPCheckoutSession - Stores checkout session data - UCPTokenizer - Stores tokenized payment data - Defined in metadata/meta/custom.UCPCheckoutSession.ucp.xml - Defined in metadata/meta/custom.UCPTokenizer.ucp.xml Endpoints GET /.well-known/ucp Returns the UCP discovery document with supported","default_branch":null,"files":null,"tree":[],"storefront":"/r/ForkPoint","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ForkPoint/ucp-sfcc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}