Attached is a payment processor module for Internet Secure. It has only been tested under Drupal-4.6.6 and it works. This module uses the Quantity method and depends on the product list being resident on Internet Secure. Other methods are available for those with large catalogues or require up front data collection for transactions in a manner similar to most of the other contrib payment modules.

CommentFileSizeAuthor
#4 inetsecure.module.txt12.43 KBalynner
inetsecure.tar.gz6.44 KBgrsingleton

Comments

grsingleton’s picture

Tested and working in 4.6.8

sime’s picture

Version: 4.6.x-1.x-dev » master
Component: other » payment
Status: Active » Reviewed & tested by the community

This should go into HEAD as unmaintained IMO

alynner’s picture

I just installed and I got the following error:

Fatal error: Call to undefined function: form_textarea() in /home2/manicure/public_html/modules/ecommerce/contrib/inetsecure/inetsecure.module on line 42

I think I'm using drupal 4.7.

Is this dependant on another module?

thanks
alynner

alynner’s picture

Status: Reviewed & tested by the community » Active
StatusFileSize
new12.43 KB

I figured out that it is indeed because I am using 4.7 and the form API.

I have attached a version that works with 4.7 (I created using the above module).

I also included shipping calculations (works with shipcalc anyway - uses $txn->ship->cost) and hope to include tax calculations soon.

gordon’s picture

Version: master » 4.6.x-1.x-dev

This is actually a 4.6 module and needs to be upgraded to HEAD before it is commited.

alynner’s picture

sorry, i don't really know the process for this, I just wanted to post what I had done in case any one else wanted to use it.

alynner’s picture

see http://drupal.org/node/112535 for updated 4.7 version

alynner’s picture

suggest better coding, line 243-247

  $edit = object2array(store_transaction_load($txnid));
  $edit['anid']      = $_POST['receiptnumber']; // ***FIXME*** what is supposed to go in anid???
  $edit['amount']    = $_POST['Amount'];
  $edit['payment_status'] = payment_get_status_id('completed');
  $edit['payment_method'] = 'inetsecure';

should be:

  $edit = store_transaction_load($txnid);
  $edit->anid      = $_POST['receiptnumber']; // ***FIXME*** what is supposed to go in anid???
  $edit->amount    = $_POST['Amount'];
  $edit->payment_status = payment_get_status_id('completed');
  $edit->payment_method = 'inetsecure';

my php version gave errors on object2array, but you don't need it if you just change the code to what I've got there.

alynner

kbahey’s picture

Status: Active » Closed (duplicate)

A more recent version can be seen here http://drupal.org/node/112535

Closing this as a duplicate.