Create the cXML punch-out API in the Determine P2P application django project

I created an e-commerce site with django. I would like to integrate a cxml punchout to link the ecommerce site and the systems of my buyers, I would like to know here how to configure the cXML file below:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.028/cXML.dtd">
<cXML payloadID="?" timestamp="?" xml:lang="en-US">
<Header>
 <From>
   <Credential domain="?">
    <Identity>?</Identity>
  </Credential>
 </From>
 <To>
   <Credential domain="?">
     <Identity>?</Identity>
  </Credential>
 </To>
 <Sender>
   <Credential domain="?">
     <Identity>?</Identity>
     <CredentialMac type="FromSenderCredentials" algorithm="HMAC-SHA1-96" creationDate="?" 
  expirationDate="?">?</CredentialMac>
   </Credential>
   <UserAgent>Test</UserAgent>
 </Sender>
</Header>
<Request deploymentMode="test">
<PunchOutSetupRequest operation="create">
  <BuyerCookie>1234ABCD</BuyerCookie>
  <Extrinsic name="User">which user</Extrinsic>
  <BrowserFormPost><URL>https://example.com/?BrowserFormPost</URL></BrowserFormPost>
  <Contact>
    <Name xml:lang="en-US">myname</Name>
    <Email>whichmail@email</Email>
  </Contact>
  <SupplierSetup><URL>https://testapp.com/?SupplierSetup</URL></SupplierSetup>
</PunchOutSetupRequest>

domaine of my app : www.testapp.com For other information how to inform them ??? to adapt it to my project

You can find the cXML user guide in the link below, if you want to set up your own service. https://xml.cxml.org/current/cXMLUsersGuide.pdf

Alternatively you can employ an existing punchout service like Tradecentric (~$300 a month), Greenwing (~$160 a month) or InstaPunchout (~$30 a month).

Good luck!

Back to Top