News:

Support the VirtueMart project and become a member

Main Menu

Is an iTransact payment module available????

Started by treybraid, May 10, 2013, 20:39:42 PM

Previous topic - Next topic

treybraid

...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

maspegren

treybraid, Did you find any instructions with the code below, or figure anything out with it? I'm in the same boat.

maspegren

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>

Maxim Pishnyak

You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

maspegren

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?

Maxim Pishnyak

I could give you a link to a payment plugin for Russian html form. If you don't afraid to use google translator...
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

maspegren

No thank you, I found a developer that would write one for me. Unfortunately it is taking forever to work out the bugs...

jemmyn

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.

GJC Web Design

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
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation