Hello People,
I'm new within this community and also with Zen Cart. I'm developing a new site where I'm asked to do certain thing:
After the customer reaches final checkout (where the order is confirmed and customer has to press confirm order button) customer must be redirected to bank's checkout page.
Also, certain information must be transformed to that page.
I have a code from bank which i cannot integrate into the system and need your support very much.
Here is how code looks:
<!--body onload='frm.submit()'-->
<body style="color: #336699; font-family: Verdana">
<form action="certain web-site" method=post" method=post name="frm">
<input name="PurchaseDesc" type="hidden" value="2222" />
<input name="PurchaseAmt" type="text" value="20" />
<input name="CountryCode" type="hidden" value="value" />
<input name="CurrencyCode" type="hidden" value="value" />
<input name="MerchantName" type="hidden" value="value" />
<input name="MerchantURL" type="hidden" value="value" />
<input name="MerchantCity" type="hidden" value="value" />
<input name="MerchantID" type="hidden" value="value" />
<input name="xDDDSProxy.Language" type="hidden" value="01" />
<input type="submit" value="Finalize payment" />
</form>
</body>
(vales are not yet edited so it doesn't matter)
So here is the issue:
When the customer presses confirm order, i want him to be redirected to the site provided in code and send this values to that source as well. As you can see this is a Form type. I want this to be hidden and integrated into "confirm order" button. All the values must be static except 2 values which are "PurchaseDesc" and "PurchaseAmt". These values must be ALWAYS dynamic and they must contain the Unique Order ID which is created by Zen Cart and the payment amount, so that each time customer confirms order, these values are generated automatically. So i somehow need to configure and make this code executable. I don't need adding new buttons to page, i want it to happen by pressing the confirm order button.
I hope I explained the issue clearly. I'm really stuck with this matter and I really need help and advise. Perhaps i somehow can manage it by editing some Payment Modules or some other thing.
I hope you can help me resolving this problem. Huge Thanks in Advance!



