Good morning.
The code below is from CyberSource (for EFT processing). The code builds a scripting dictionary object with hard-coded fields however, I need to make the amount field editable. I'm confused on how to do this.
I substituted the "map amount" line with an editable text field but that caused the called page (
https://orderpagetest.ic3.com/hop/orderform.jsp) to crash.
I need to figure out how to assign editable values to the object. How do I do this?
I hope this makes sense.
Thank you.
Sal
Code:
<% @language="vbscript" %>
<!--#include file="HOP.asp"-->
<h1>Product Name</h1>
<p>Description of your product.</p>
<form action="https://orderpagetest.ic3.com/hop/orderform.jsp" method="post">
<%
Dim map
Set map = CreateObject("Scripting.Dictionary")
map("amount") = "15.00"
map("currency") = "usd"
map("orderPage_transactionType") = "authorization"
map("orderNumber") = "12345"
map("billTo_firstName") = "John"
map("billTo_lastName") = "Doe"
InsertMapSignatureVBScript(map)
%>
<input type="submit" value="Buy Now">
</form>