Jump to content

Search the Community

Showing results for tags 'cxml php'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Welcome to PHP Freaks
    • Announcements
    • Introductions
  • PHP Coding
    • PHP Coding Help
    • Regex Help
    • Third Party Scripts
    • FAQ/Code Snippet Repository
  • SQL / Database
    • MySQL Help
    • PostgreSQL
    • Microsoft SQL - MSSQL
    • Other RDBMS and SQL dialects
  • Client Side
    • HTML Help
    • CSS Help
    • Javascript Help
    • Other
  • Applications and Frameworks
    • Applications
    • Frameworks
    • Other Libraries
  • Web Server Administration
    • PHP Installation and Configuration
    • Linux
    • Apache HTTP Server
    • Microsoft IIS
    • Other Web Server Software
  • Other
    • Application Design
    • Other Programming Languages
    • Editor Help (PhpStorm, VS Code, etc)
    • Website Critique
    • Beta Test Your Stuff!
  • Freelance, Contracts, Employment, etc.
    • Services Offered
    • Job Offerings
  • General Discussion
    • PHPFreaks.com Website Feedback
    • Miscellaneous

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Age


Donation Link

Found 3 results

  1. Hi, I'm currently facing challenges with the PunchOutOrderMessage in my project. While I have successfully implemented punchout functionality, I'm encountering issues with the PunchOutOrderMessage not reaching the endpoint. Could you please provide a solution or guidance on how to resolve this matter? Your assistance would be greatly appreciated. Thank you.
  2. Hi, I'm working on something similar right now. and got stuck in the same places you were. Could you please assist me in fetching the cXML PunchOutRequest?
  3. Hi, Recently i need to implement cXML punchOut Transaction from a procurement system with my e-commerce website. The process required 3 steps to complete. PunchOutSetupRequest, PunchOutSetupResponse and PunchOutOrderMessage. Although I manage to find some XML user guide online, but i am still not very sure how it work. Please help me if there someone familiar with cXML punchOut. 1) where to get the DUNS identity? Can we replace by our own ID? <To> <Credential domain="DUNS"> <Identity>83528721</Identity> </Credential> </To> 2) I tried to use php curl to send the PunchOutSetupRequest to the our receive page and i manage to use file_get_contents('php://input') to get the XML parameters. Is this the same way it work? 3) after retrieved the XML parameters, authenticated, then echo the below code: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE cXML SYSTEM "http://xml.cXML.org/schemas/cXML/1.2.009/cXML.dtd"> <cXML payloadID="myPayloadID" timestamp="20131001T153612@mydomain" version="1.2.009" xml:lang="en-US"> <Response> <Status code="200" text="Success connected!" xml:lang="en-US"/> <PunchOutSetupResponse> <StartPage> <URL>http://www.myShoppingcart.com</URL> </StartPage> </PunchOutSetupResponse> </Response> </cXML> it will PunchOutSetupResponse back to the procurement system and redirect to my ecommerce website? 4) after checkout, i need to do PunchOutOrderMessage, echo the below code: <?xml version="1.0"?> <!DOCTYPE cXML SYSTEM "http://xml.cxml.org/schemas/cXML/1.2.014/cXML.dtd"> <cXML xml:lang="en-US" payloadID="myPayloadID" timestamp="20131001T153612@mydomain"> <Header> <From> <Credential domain="DUNS"> <Identity>83528721</Identity> </Credential> </From> <To> <Credential domain="DUNS"> <Identity>65652314</Identity> </Credential> </To> <Sender> <Credential domain="workchairs.com"> <Identity>website 1</Identity> </Credential> <UserAgent>Workchairs cXML Application</UserAgent> </Sender> </Header> <Message> <PunchOutOrderMessage> <BuyerCookie>1CX3L4843PPZO</BuyerCookie> <PunchOutOrderMessageHeader operationAllowed="edit"> <Total> <Money currency="USD">763.20</Money> </Total> </PunchOutOrderMessageHeader> <ItemIn quantity="3"> <ItemID> <SupplierPartID>5555</SupplierPartID> <SupplierPartAuxiliaryID>E000028901 </SupplierPartAuxiliaryID> </ItemID> <ItemDetail> <UnitPrice> <Money currency="USD">763.20</Money> </UnitPrice> <Description xml:lang="en"> <ShortName>Excelsior Desk Chair</ShortName> Leather Reclining Desk Chair with Padded Arms </Description> <UnitOfMeasure>EA</UnitOfMeasure> <Classification domain="UNSPSC">5136030000 </Classification> <LeadTime>12</LeadTime> </ItemDetail> </ItemIn> </PunchOutOrderMessage> </Message> </cXML> it will send the data back to the procurement system. Is it correct? Regards & Thanks, Zinho
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.