Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help!! Tryingot get the Worldpay CC list into Infobox


Brent UK

Recommended Posts

Posted

Hi.

 

I am trying to get the Worldpay supported Credit Card logos into an infobox in Worldpay. I have a shell infobox but am trying to add the following line ( I know I need to replace the xxxx with my id!!)

 

<script language="JavaScript" src="http://www.worldpay.com/cgenerator/cgenerator.php?instId=XXXXX"></script>

 

Thats the code.... What should I wrap around it?

 

Many thanks

 

Brent

Posted

Why do you want to use javascript? Cant you just use this code:

<?php

 $info_box_contents = array();

 $info_box_contents[] = array('text' => BOX_HEADING_IMAGE);



 new infoBoxHeading($info_box_contents, false, false);



 $info_box_contents = array();

 $info_box_contents[] = array('align' => 'center',

                              'text' => '<img src="http://www.worldpay.com/cgenerator/cgenerator.php?instId=XXXXX" border="0"</a><br>' . '</a>');

 new infoBox($info_box_contents);

?>

 

-Matt

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...