Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal Error in Credit Card Module - Urgent Held needed


Guest

Recommended Posts

Hi,

 

i have been running my oscommerce shop for 3.5 years now and all going smoothly when all of a sudden i get this error when people try and pay by credit card

 

Using $this when not in object context in /home/scrapbox/public_html/catalog/includes/modules/email_invoice/templates/html_invoice.php on line 184

 

now I've looked at line 184 and this is what it says

 

$this->cc_card_number_less_middle_digits = substr($order->info['cc_number'], 0, 4) . str_repeat('x', (strlen($order->info['cc_number']) - 8)) .

 

it's always said this - so i'm not sure what has changed - I have recently had to change servers and now running PHP version 5.2.8 instead of the version 4.2 I originally was running but it seems odd that nothing else has been effected so I'm not sure this is the cause

 

I am not familiar with programing so I'm not sure what the problem might be and would really appreciate any suggestions.

 

thanks in advance

 

Maria

Link to comment
Share on other sites

  • 2 months later...
Hi,

 

i have been running my oscommerce shop for 3.5 years now and all going smoothly when all of a sudden i get this error when people try and pay by credit card

 

Using $this when not in object context in /home/scrapbox/public_html/catalog/includes/modules/email_invoice/templates/html_invoice.php on line 184

 

now I've looked at line 184 and this is what it says

 

$this->cc_card_number_less_middle_digits = substr($order->info['cc_number'], 0, 4) . str_repeat('x', (strlen($order->info['cc_number']) - 8)) .

 

it's always said this - so i'm not sure what has changed - I have recently had to change servers and now running PHP version 5.2.8 instead of the version 4.2 I originally was running but it seems odd that nothing else has been effected so I'm not sure this is the cause

 

I am not familiar with programing so I'm not sure what the problem might be and would really appreciate any suggestions.

 

thanks in advance

 

Maria

 

Did you figure out how to fix this? Thanks.

Link to comment
Share on other sites

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