Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Advanced Techniques / September 2007



Tip: Looking for answers? Try searching our database.

CyberSource and Cartweaver

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
therearentanyleft - 17 Sep 2007 20:59 GMT
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") ?>
<html><body>
<h1>sample_product_name</h1>
<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">
</form>
</body></html>
Steve Sommers - 18 Sep 2007 21:24 GMT
Most of it can be used as-is. I'm fairly certain the first php tag can be
removed but I'm not sure what this line does:

<?php InsertSignature3("10.00", ?usd?, ?sale?) ?>

Maybe see if they have an ASP example...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.