Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Cybersource Contrib Problems


Recommended Posts

I am only posting this for anyone haveing the same problems I had. I hacked mine to do what I needed as below, I will add to the contribution if needed.


Thanks piotrekkaminski for your contribution.


1 problem

1 suggestion


Orders over 1000.00 will be rejected as they include the comma in the value passed to cybersource (ex: 1,000.00 should be 1000.00)

My quick fix was in modules/payment/cyberource.php


around line 163:

changed: tep_draw_hidden_field('X_Amount', number_format($order->info['total'],2));

to: tep_draw_hidden_field('X_Amount', number_format($order->info['total'],2,'.',''))



The module is hard coded to automatically capture funds, this is bad for people who don't ship the same day the order is placed. Probably in the admin this should be an option but as a quck fix.


line 173:

changed: 'ics_applications'=>'ics_auth,ics_bill',

to: 'ics_applications'=>'ics_auth',

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.

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