[prev in list] [next in list] [prev in thread] [next in thread]
List: interchange-users
Subject: [ic] InternationalCheckout.com's PHP code to Interchange SOLVED!
From: Lisa Collins <lisa () ultimatepassage ! com>
Date: 2010-10-22 18:31:53
Message-ID: 4CC1D899.4030806 () ultimatepassage ! com
[Download RAW message or body]
> Lisa Collins wrote:
> > Dear Interchange Gurus,
> >
> > I'm trying to integrate InternationalCheckout.com's code on my site
> > [include include/checkout/shopping_cart] but the only example they
> > give is in PHP.
> >
>
>
> Hi Lisa,
>
> Try something like this. This would be the Interchange equivalent to the
> php code.
>
> <form name="icForm" id="icForm" method="post"
> action="https://www.internationalcheckout.com/cart.php">
> [item-list]
> <input type="hidden" name="ItemDescription[item-increment]"
> value="[item-description]">
> <input type="hidden" name="ItemSKU[item-increment]" value="[item-code]">
> <input type="hidden" name="ItemSize[item-increment]"
> value="[item-modifier size]">
> <input type="hidden" name="ItemQuantity[item-increment]"
> value="[item-quantity]">
> <input type="hidden" name="ItemPrice[item-increment]"
value="[item-price]">
> [/item-list]
> <input type="hidden" name="p" value=" YOUR PARTNER VALUE REGISTERED WITH
> US ">
> </form>
> <script>document.getElementById('icForm').submit();</script>
>
> Hope this helps,
> Chris
>
>
> Dear Chris,
>
> I'm definitely getting closer because items are appearing in the page
> source, Thank You!
>
> However nothing happens when the International Checkout Button is
clicked.
> I'm thinking
> <script>document.getElementById('icForm').submit();</script> is not
> quite what Interchange is looking for??
>
> Thanks So Much!!
>
> Lisa
>
> <form name="icForm" id="icForm" method="post"
> action="https://www.internationalcheckout.com/cart.php">
>
> <input type="hidden" name="ItemDescription1" value="RAYMARINE C140W
> MULTIFUNCTION DISPLAY w/US COASTAL CHARTS">
> <input type="hidden" name="ItemSKU1" value="34903">
> <input type="hidden" name="ItemQuantity1" value="1">
> <input type="hidden" name="ItemPrice1" value="$3,622.37">
>
> <input type="hidden" name="p" value="XXXXX">
> <input type="image" src="/images/yacht/IntlCO.jpg">
> </form>
Sometimes it takes awhile for this blonde brain to work.
I created a non-template page with the above code and it works perfectly!!
Chris, THANK YOU SO VERY MUCH!!
Many Blessings,
Lisa
_______________________________________________
interchange-users mailing list
interchange-users@icdevgroup.org
http://www.icdevgroup.org/mailman/listinfo/interchange-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic