osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Credit Card Processing module

This is a discussion on Credit Card Processing module within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I am trying to modify a credit card module, but since I am fairly new at php, I now need ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-31-2003, 07:52 AM
New Member
 
Join Date: May 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
JeremyTaye
Default Credit Card Processing module

I am trying to modify a credit card module, but since I am fairly new at php, I now need some assistance.

Here is the portion I want to modify:

$process_button_string = tep_draw_hidden_field('TP_MERCHANT', MODULE_PAYMENT_ODCBP_LOGIN) .
tep_draw_hidden_field('TRANSACTION_TYPE', MODULE_PAYMENT_ODCBP_TRANSACTION_TYPE) .
tep_draw_hidden_field('TP_CC', $this->cc_card_number) .
tep_draw_hidden_field('TP_CVV2CV2CID', $HTTP_POST_VARS['odcbp_cc_cvv']) .
tep_draw_hidden_field('TP_EXP', $this->cc_expiry_month . substr($this->cc_expiry_year, -2)) .
tep_draw_hidden_field('TOTAL', number_format($order->info['total'], 2)) .
tep_draw_hidden_field('Order_ID', $uid) .
tep_draw_hidden_field('ApprovalURL', tep_href_link(FILENAME_CHECKOUT_PROCESS, '', 'SSL', false)) .
tep_draw_hidden_field('nextpage', tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_ODCBP_TEXT_ERROR), 'SSL', true, false)) .
tep_draw_hidden_field('DeclinedURL', tep_href_link(FILENAME_CHECKOUT_PAYMENT, 'error_message=' . urlencode(MODULE_PAYMENT_ODCBP_TEXT_ERROR_DECLINE) , 'SSL', true, false)) .
tep_draw_hidden_field('NAME', $order->customer['lastname']) .
tep_draw_hidden_field('Addr1', $order->customer['street_address']) .
tep_draw_hidden_field('Addr2', $order->customer['']) .// This is a required field
tep_draw_hidden_field('CITY', $order->customer['city']) .
tep_draw_hidden_field('STATE', $order->customer['state']) .
tep_draw_hidden_field('TP_ZIP', $order->customer['postcode']);

All I want to add, is another line something like this:

tep_draw_hidden_field('AUTH', "YES") .

When inserted the line I got an error. Should I define a variable somewhere to equal "YES". SHould I do something like this

tep_draw_hidden_field('AUTH', $authorization) .

Any ideas or help would be great. Fortunatly I have the module working, but Its actually charging the credit card. I just need to insert the authorizaton field to authorize the card.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-03-2003, 12:34 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,688
Thanks: 2
Thanked 94 Times in 80 Posts
Rep Power: 12
jpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of lightjpf is a glorious beacon of light
Default

Are you talking about the CVV code?

Already done look at:
CVV for cc.php
http://www.oscommerce.com/community/contributions,99
__________________
JPF - osCMax Fourm Moderator
Try out our osCMax at: Live Catalog Demo
Limited access Admin: Live Admin Demo
Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Problems with My Account and adding Credit Card processing nakadude osCommerce 2.2 Modification Help 0 04-18-2005 07:33 AM
Help with EPN credit card processing joanstead osCommerce 2.2 Modification Help 1 03-08-2005 04:55 PM
Credit card processing ksl8313 osCommerce 2.2 Modification Help 4 02-06-2005 11:23 PM
Authorize.net cc error processing your credit card _debra osCommerce 2.2 Modification Help 3 09-20-2003 01:03 PM
help with credit card processing andywong79 osCommerce 2.2 Installation Help 1 04-10-2003 01:39 PM


All times are GMT -8. The time now is 04:59 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax