VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: treybraid on May 10, 2013, 20:39:42 PM

Title: Is an iTransact payment module available????
Post by: treybraid on May 10, 2013, 20:39:42 PM
...wondering if there is an  iTransact payment module available?  If so where can I get it at- I went to the Itransact Website and they have this script:

<?php
//your iTransact account details
$vendorID = "XXXXX";
global $vendor_name;
$mername = $vendor_name;

//order details
$total = $db->f("order_total");$first_name =
$user->first_name;$last_name = $user->last_name;$address =
$user->address_1;$city = $user->city;$state = $user->state;$zip =
$user->zip;$country = $user->country;$email = $user->email;$phone =
$user->phone_1;$home_page =
$mosConfig_live_site."/index.php";$ret_addr =
$mosConfig_live_site."/index.php";$cc_payment_image =
$mosConfig_live_site."/components/com_virtuemart/shop_image/ps_image/cc_payment.jpg";
?>
<form
action="https://secure.itransact.com/cgi-bin/mas/split.cgi"
method="POST">
<input type="hidden" name="vendor_id" value="<?php
echo $vendorID; ?>" />
<input type="hidden" name="home_page" value="<?php echo
$home_page; ?>" />
<input type="hidden" name="ret_addr" value="<?php echo
$ret_addr; ?>" />
<input type="hidden" name="mername" value="<?php echo
$mername; ?>" />
<!--Enter text in the next value that should appear on the
bottom of the order form.-->
<INPUT type="hidden" name="mertext" value="" />
<!--If you are accepting checks, enter the number 1 in the
next value. Enter the number 0 if you are not accepting checks.-->
<INPUT type="hidden" name="acceptchecks" value="0" />
<!--Enter the number 1 in the next value if you want to
allow pre-registered customers to pay with a check. Enter the number
0 if not.-->
<INPUT type="hidden" name="allowreg" value="0" />
<!--If you are set up with Check Guarantee, enter the
number 1 in the next value. Enter the number 0 if not.-->
<INPUT type="hidden" name="checkguar" value="0" />
<!--Enter the number 1 in the next value if you are
accepting credit card payments. Enter the number zero if not.-->
<INPUT type="hidden" name="acceptcards" value="1">
<!--Enter the number 1 in the next value if you want to
allow a separate mailing address for credit card orders. Enter the
number 0 if not.-->
<INPUT type="hidden" name="altaddr" value="0" />
<!--Enter the number 1 in the next value if you want
the customer to enter the CVV number for card orders. Enter the
number 0 if not.-->
<INPUT type="hidden" name="showcvv" value="1" />

<input type="hidden" name="1_desc" value="Order Total" />
<input type="hidden" name="1_cost" value="<?php echo
number_format ($total, 2); ?>" />
<input type="hidden" name="1-qty" value="1" />
<input type="hidden" name="total" value="<?php echo $total; ?>" />
<input type="hidden" name="first_name" value="<?php echo
$first_name; ?>" />
<input type="hidden" name="last_name" value="<?php echo
$last_name; ?>" />
<input type="hidden" name="address" value="<?php echo
$address; ?>" />
<input type="hidden" name="city" value="<?php echo $city; ?>" />
<input type="hidden" name="state" value="<?php echo
$state; ?>" />
<input type="hidden" name="zip" value="<?php echo $zip; ?>" />
<input type="hidden" name="country" value="<?php echo
$country; ?>" />
<input type="hidden" name="phone" value="<?php echo $phone; ?>" />
<input type="hidden" name="email" value="<?php echo
$email; ?>" />
<p><input type="image" alt="Process Secure Credit Card
Transaction using iTransact" border="0" height="60" width="210"
src="<?php echo $cc_payment_image; ?>" /> </p>
</form>

Thanks
Trey
Title: Re: Is an iTransact payment module available????
Post by: maspegren on September 03, 2013, 16:32:30 PM
treybraid, Did you find any instructions with the code below, or figure anything out with it? I'm in the same boat.
Title: Re: Is an iTransact payment module available????
Post by: maspegren on September 04, 2013, 16:51:36 PM
I need an iTransact module for VM 2. I came across this code on the iTransact website but I'm not sure how to implement it. Any help is greatly appreciated!!

<?php
//your iTransact account details
$vendorID = "XXXXX";
global $vendor_name;
$mername = $vendor_name;

//order details
$total = $db->f("order_total");$first_name =
$user->first_name;$last_name = $user->last_name;$address =
$user->address_1;$city = $user->city;$state = $user->state;$zip =
$user->zip;$country = $user->country;$email = $user->email;$phone =
$user->phone_1;$home_page =
$mosConfig_live_site."/index.php";$ret_addr =
$mosConfig_live_site."/index.php";$cc_payment_image =
$mosConfig_live_site."/components/com_virtuemart/shop_image/ps_image/cc_payment.jpg";
?>
<form
action="https://secure.itransact.com/cgi-bin/mas/split.cgi"
method="POST">
<input type="hidden" name="vendor_id" value="<?php
echo $vendorID; ?>" />
<input type="hidden" name="home_page" value="<?php echo
$home_page; ?>" />
<input type="hidden" name="ret_addr" value="<?php echo
$ret_addr; ?>" />
<input type="hidden" name="mername" value="<?php echo
$mername; ?>" />
<!--Enter text in the next value that should appear on the
bottom of the order form.-->
<INPUT type="hidden" name="mertext" value="" />
<!--If you are accepting checks, enter the number 1 in the
next value. Enter the number 0 if you are not accepting checks.-->
<INPUT type="hidden" name="acceptchecks" value="0" />
<!--Enter the number 1 in the next value if you want to
allow pre-registered customers to pay with a check. Enter the number
0 if not.-->
<INPUT type="hidden" name="allowreg" value="0" />
<!--If you are set up with Check Guarantee, enter the
number 1 in the next value. Enter the number 0 if not.-->
<INPUT type="hidden" name="checkguar" value="0" />
<!--Enter the number 1 in the next value if you are
accepting credit card payments. Enter the number zero if not.-->
<INPUT type="hidden" name="acceptcards" value="1">
<!--Enter the number 1 in the next value if you want to
allow a separate mailing address for credit card orders. Enter the
number 0 if not.-->
<INPUT type="hidden" name="altaddr" value="1" />
<!--Enter the number 1 in the next value if you want
the customer to enter the CVV number for card orders. Enter the
number 0 if not.-->
<INPUT type="hidden" name="showcvv" value="1" />

<input type="hidden" name="1_desc" value="Order Total" />
<input type="hidden" name="1_cost" value="<?php echo
number_format ($total, 2); ?>" />
<input type="hidden" name="1-qty" value="1" />
<input type="hidden" name="total" value="<?php echo $total; ?>" />
<input type="hidden" name="first_name" value="<?php echo
$first_name; ?>" />
<input type="hidden" name="last_name" value="<?php echo
$last_name; ?>" />
<input type="hidden" name="address" value="<?php echo
$address; ?>" />
<input type="hidden" name="city" value="<?php echo $city; ?>" />
<input type="hidden" name="state" value="<?php echo
$state; ?>" />
<input type="hidden" name="zip" value="<?php echo $zip; ?>" />
<input type="hidden" name="country" value="<?php echo
$country; ?>" />
<input type="hidden" name="phone" value="<?php echo $phone; ?>" />
<input type="hidden" name="email" value="<?php echo
$email; ?>" />
<p><input type="image" alt="Process Secure Credit Card
Transaction using iTransact" border="0" height="60" width="210"
src="<?php echo $cc_payment_image; ?>" /> </p>
</form>
Title: Re: Is an iTransact payment module available????
Post by: Maxim Pishnyak on September 04, 2013, 22:56:56 PM
Probably hire someone on jobs.virtuemart.net ?
Title: Re: Is an iTransact payment module available????
Post by: maspegren on September 11, 2013, 17:41:05 PM
I noticed for VM 1 there is a payment method type called "HTML-Form based (e.g. PayPal)" where the code above would just be put in as html. Is there something similar with VM 2.0 then?
Title: Re: Is an iTransact payment module available????
Post by: Maxim Pishnyak on September 12, 2013, 21:14:22 PM
I could give you a link to a payment plugin for Russian html form. If you don't afraid to use google translator...
Title: Re: Is an iTransact payment module available????
Post by: maspegren on October 04, 2013, 17:13:41 PM
No thank you, I found a developer that would write one for me. Unfortunately it is taking forever to work out the bugs...
Title: Re: Is an iTransact payment module available????
Post by: jemmyn on October 22, 2015, 19:56:37 PM
I would love any help with this please. If anyone found a developer who will do this cost effectively and efficiently that would be perfect. If anyone has developed this before and would care to share their code I would really really appreciate it. I am using a yootheme eat template with vmuikit so I really want a single page checkout without the user having leave my site at all if possible. The russian version would help perhaps as a start if nobody else has anything. Thanks to all who see this.
Title: Re: Is an iTransact payment module available????
Post by: GJC Web Design on October 22, 2015, 23:32:43 PM
The above code  POSTs to the external site -- i.e will not stay on your site

Whether that was possible will depend on their api and of course is a lot more complex.. therefore expensive

can find zero info on their site .. the code below is Joomla 1.5