Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Skipjack Geotrust Teanas~ error fix?


yodergraphics

Recommended Posts

The Problem: The word Teanas~ is transferred to the Skipjack credit card processor instead of a list of what was ordered. The word Teanas is hardcoded into the script, and apparently shouldn't be.

 

This is a common posted problem, but no answers yet.

 

Here's the bad code from Orderstring area of catalog/includes/modules/payment/geotrust.php:

 

$process_button_string =  tep_draw_hidden_field('Month', $this->cc_expiry_month) .
         tep_draw_hidden_field('Year', substr($this->cc_expiry_year, -2)) .
                              tep_draw_hidden_field('Accountnumber', $this->cc_card_number) .
         tep_draw_hidden_field('Serialnumber', MODULE_PAYMENT_GEOTRUST_MERCHANT_ID) .
                              tep_draw_hidden_field('Ordernumber', STORE_NAME . date('YmdHis')) .
                              tep_draw_hidden_field('Transactionamount', number_format($order->info['total'], 2, '', '')) .
         tep_draw_hidden_field('Orderstring', 'Teanas~' . date('YmdHis') . '~' . number_format($order->info['total'], 2, '', '') . '~1~Y||') .
         tep_draw_hidden_field('cvv2', $HTTP_POST_VARS['geotrust_cc_cvv2']) .
                              tep_draw_hidden_field('sjname', $HTTP_POST_VARS['geotrust_cc_owner_firstname'] . ' ' . $HTTP_POST_VARS['geotrust_cc_owner_lastname']) .
                              tep_draw_hidden_field('Streetaddress', $order->billing['street_address']) .
                              tep_draw_hidden_field('Streetaddress2', $order->billing['suburb']) .
                              tep_draw_hidden_field('City', $order->billing['city']) .
                              tep_draw_hidden_field('State', $order->billing['state']) .
                              tep_draw_hidden_field('Zipcode', $order->billing['postcode']) .
                              tep_draw_hidden_field('Country', $order->billing['country']['title']) .
                              tep_draw_hidden_field('Shiptophone', $order->customer['telephone']) .
                              tep_draw_hidden_field('Email', $order->customer['email_address']) .
                              tep_draw_hidden_field('Shiptoname', $order->delivery['firstname'] . ' ' . $order->delivery['lastname']) .
                              tep_draw_hidden_field('Shiptostreetaddress', $order->delivery['street_address']) .
                              tep_draw_hidden_field('Shiptostreetaddress2', $order->delivery['suburb']) .
                              tep_draw_hidden_field('Shiptocity', $order->delivery['city']) .
                              tep_draw_hidden_field('Shiptostate', $order->delivery['state']) .
                              tep_draw_hidden_field('Shiptozipcode', $order->delivery['postcode']) .
                              tep_draw_hidden_field('Shiptocountry', $order->delivery['country']['title']);

     return $process_button_string;
   }

 

Here's some tips from Skipjack on Orderstring variables that might be to you:

 

 

 

Skipjack Integration Guide link

 

 

Thanks for your help!

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...