SAP Ariba OCI PunchOut for PrestaShop
SAP Ariba uses OCI (Open Catalog Interface) — not cXML — for its PunchOut protocol. This matters for PrestaShop suppliers because the integration flow, return mechanism, and field mapping are different from Oracle or Coupa. This guide explains the differences and how PunchOutHub handles both protocols from a single module.
OCI vs cXML — Key Differences
| cXML | OCI (SAP Ariba) | |
|---|---|---|
| Format | XML document | HTTP form POST / URL params |
| Auth | SharedSecret HMAC | Shared username + password |
| Return method | PunchOutOrderMessage XML POST | HTML form fields POST to HOOK_URL |
| Session initiation | Supplier receives POST request | Browser GET with query params |
| Primary platform | Oracle, Coupa, Jaggaer | SAP Ariba |
SAP Ariba sends the buyer to your store via a GET request with parameters including ~Username, ~Password, and HOOK_URL (the return address). Your store validates the credentials, creates a session, and when the buyer checks out, POSTs structured item data back to HOOK_URL as form fields.
OCI Field Mapping in PunchOutHub
PunchOutHub maps your PrestaShop product data to OCI return fields automatically:
| OCI Field | PrestaShop Source |
|---|---|
NEW_ITEM-DESCRIPTION | Product name |
NEW_ITEM-MATNR | Product reference |
NEW_ITEM-QUANTITY | Cart quantity |
NEW_ITEM-UNIT | Unit of measure |
NEW_ITEM-PRICE | Buyer-specific price |
NEW_ITEM-CURRENCY | Store currency |
NEW_ITEM-VENDORMAT | Supplier product ID |
NEW_ITEM-LONGTEXT | Product description (HTML stripped) |
No custom development required — field mapping is handled inside the module. Custom mappings are available in the Enterprise tier.
Configuring SAP Ariba OCI in PunchOutHub
In the Buyers dashboard, select SAP Ariba (OCI) as the platform. Enter the username and password your SAP Ariba contact will use.
PunchOutHub generates your catalog URL automatically:
https://yourstore.com/module/punchouthub/catalog
This URL goes into the Ariba Network supplier profile as the "Catalog URL". Ariba appends ~Username, ~Password, and HOOK_URL dynamically on each session.
Testing OCI Directly in a Browser
Unlike cXML (which requires Postman), OCI can be tested directly in a browser. Visit:
https://yourstore.com/module/punchouthub/catalog
?~Username=testuser
&~Password=testpass
&HOOK_URL=https://httpbin.org/post
Browse products, add to cart, click checkout. You will see the OCI POST fields sent to httpbin.org/post — confirming your integration is working before connecting live Ariba.
Expected fields in the POST response:
NEW_ITEM-DESCRIPTION[1] = Industrial Storage Device 1TB
NEW_ITEM-MATNR[1] = SKU-SSD-1000
NEW_ITEM-QUANTITY[1] = 2
NEW_ITEM-UNIT[1] = EA
NEW_ITEM-PRICE[1] = 89.99
NEW_ITEM-CURRENCY[1] = USD
Same Module, Two Protocols
PunchOutHub handles both cXML and OCI from one installation. A single PrestaShop store can serve:
- Oracle Fusion buyers → cXML endpoint
- SAP Ariba buyers → OCI catalog endpoint
- Coupa buyers → cXML endpoint
- Jaggaer buyers → cXML endpoint
Each buyer is configured independently with their own credentials, customer group, and catalog filter. There is no conflict between protocols. Note: SAP Ariba (OCI) requires the Business tier or higher.
Common OCI Issues
| Issue | Cause | Fix |
|---|---|---|
~Password rejected | Whitespace or special chars in password | Use alphanumeric + symbols only, no spaces |
| Items not returned to Ariba | HOOK_URL blocked by firewall | Test with httpbin.org first to verify outbound POST works |
| Wrong pricing returned | Buyer not mapped to correct customer group | Check buyer config in PunchOutHub dashboard |
| Session not created | URL encoding issue in HOOK_URL | Ensure Ariba sends URL-encoded HOOK_URL |
| Empty cart returned | Cart was emptied before checkout | Verify that the session timeout is long enough for shopping and return testing |
Ariba Network vs Ariba PunchOut Direct
SAP Ariba supports two PunchOut models:
- Ariba Network — Catalog hosted by supplier; buyer punches out from Ariba Network UI. Most common for SMB and mid-market suppliers.
- Ariba PunchOut Direct — Direct connection bypassing Ariba Network UI. Used by enterprise buyers with dedicated supplier relationships.
PunchOutHub supports both — the OCI catalog URL works identically in both scenarios.
Frequently Asked Questions
Does SAP Ariba use cXML or OCI?
SAP Ariba commonly uses OCI for catalog punchout in many environments, while other procurement systems may use cXML.
Can one PrestaShop installation support both cXML and OCI?
Yes, if the module separates the protocol handlers and maps the cart correctly for each buyer.
Is OCI an add-on in PunchOutHub?
OCI availability depends on the selected package or add-on license.
Try SAP Ariba OCI in the demo
Test OCI flow alongside cXML in a single demo environment. See how the same store serves multiple buyers with different protocols.
Open Demo →