1 Reply Latest reply on Sep 18, 2007 1:24 PM by Steve Sommers

    CyberSource and Cartweaver

      I need help getting a CF version of the Cartweaver shopping cart to interact with the "Hosted Order Page" implementation of the CyberSource credit card processing system. CyberSource doesn't support ColdFusion, so I need to figure out how to use the CyberSource-supplied PHP "security script" to send form data from a CF page to the CyberSource server.

      Here's the sample page, for what the shopping cart would look like in PHP. As you can see, it appears staightforward, though I'm just not sure how this can be done if my cart is in CF:

      <?php include("HOP.php") ?>
      <p>Here, you enter the description of your product.</p>
      <form action="https://orderpagetest.ic3.com/hop/orderform.jsp" method="post">
      <?php InsertSignature3("10.00", “usd”, “sale”) ?>
      <input type="hidden" name="orderPage_transactionType" value="sale">
      <input type="hidden" name="billTo_firstName" value="John">
      <input type="hidden" name="billTo_lastName" value="Doe">
      <input type="hidden" name="billTo_email" value="jdoe@cybersource.com">
      <input type="hidden" name="merchantDefinedData1" value="ship">
      <input type="submit" name="submit" value="Buy Now">