If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / need help today or i will have to pay for it

need help today or i will have to pay for it

Started by wartht on 27 Oct 2011, 2:10 PM · Views: 660

Results 1 to 4 of 4
27 Oct 2011, 2:10 PM
#1
wartht avatar

wartht

New Zenner

Join Date:
Sep 2011
Posts:
31
Plugin Contributions:
0

Post #1 by wartht

im trying to put in an international checkout option. useing...international checkout.... anyway im having a hard time finding which file to put the code the gave me in.

this is the code:

<form name="icForm" id="icForm" method="post" action="https://www.internationalcheckout.com/cart.php"> <?php for($i = 1; $i <= TOTAL ITEMS IN YOUR CART; $i++) { ?> <input type="hidden" name="ItemDescription<?php echo $i?>" value="ITEM DESCRIPTION"> <input type="hidden" name="ItemSKU<?php echo $i?>" value="ITEM CODE VALUE"> <input type="hidden" name="ItemSize<?php echo $i?>" value="ITEM SIZE"> <input type="hidden" name="ItemColor<?php echo $i?>" value="ITEM COLOR"> <input type="hidden" name="ItemQuantity<?php echo $i?>" value="ITEM QUANTITY"> <input type="hidden" name="ItemPrice<?php echo $i?>" value="ITEM PRICE"> <input type="hidden" name="ItemDiscount<?php echo $i?>" value="ITEM DISCOUNT"> <input type="hidden" name="ItemImage<?php echo $i?>" value="https://www.abc.com/images/itemimage.jpg"> <input type="hidden" name="ImgHeight<?php echo $i?>" value="ITEM’S IMAGE HEIGHT"> <input type="hidden" name="ImgWidth<?php echo $i?>" value="ITEM’S IMAGE WIDTH"> <? } ?> <input type="hidden" name="Discount" value="ORDER’S DISCOUNTED VALUE"> <input type="hidden" name="p" value="test"> </form> <script>document.getElementById('icForm').submit();</script>

i still have to add my "p"value but other than that i need to just put it in the file so it can be used.

any idea if im right about this or which file to put it in?

27 Oct 2011, 6:00 PM
#2
wartht avatar

wartht

New Zenner

Join Date:
Sep 2011
Posts:
31
Plugin Contributions:
0

Post #2 by wartht

please help :(

27 Oct 2011, 6:56 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #3 by schoolboy

Where did you get this "international checkout" module/ file ?

What are you tryong to achieve?

Zencart comes with a set of standard PAYMENT modules, and there are quite a few in the FREE ADD ONS too.

What is your purpose for trying to use this stuff?

A payment module is not an easy thing to construct, and requires very specialist knowledge and skill.

20 years a Zencart User

27 Oct 2011, 7:35 PM
#4
wartht avatar

wartht

New Zenner

Join Date:
Sep 2011
Posts:
31
Plugin Contributions:
0

Post #4 by wartht

the payment in its self its going to remain the same. its like using the paypal express option. it is supposed to add and additional landing page where the customer is given the shipping and handling needed for their country. in order to finish their checkout.

https://www.internationalcheckout.com/order.php?p=everythingspectrum

this is the sample of it that i was given.