Guest Posted January 17, 2005 Share Posted January 17, 2005 Hi all I need to add some text and credit card images to the Payment Information page which involves one of the checkout_payment.php pages. Please can someone tell me which page I edit and how I accomplish this. Best regards Callum Link to comment Share on other sites More sharing options...
Guest Posted January 17, 2005 Share Posted January 17, 2005 Calimero, Someone did a great conrtib called cc_show that adds in creditcard images (also lets you select which ones and add in extra info about them), etc.. It is geared towards paypal ipn, but is designed in such a way as to enable you to add it to just about anything else. RW Hi all I need to add some text and credit card images to the Payment Information page which involves one of the checkout_payment.php pages. Please can someone tell me which page I edit and how I accomplish this. Best regards Callum <{POST_SNAPBACK}> Link to comment Share on other sites More sharing options...
Guest Posted January 18, 2005 Share Posted January 18, 2005 Calimero, Someone did a great conrtib called cc_show that adds in creditcard images (also lets you select which ones and add in extra info about them), etc.. It is geared towards paypal ipn, but is designed in such a way as to enable you to add it to just about anything else. RW <{POST_SNAPBACK}> Thanks ravenwulf, i am in the process of having a go at this but i'm getting an error here: http://www.freetibet.org/catalog/checkout_payment.php What information should i put in here at: cc_show.php,: class cc_show { var $cc_image_url, $cc_logo_prefix, $cc_image_prefix, $cc_image_ext, $gw, $cc; // class constructor // cc_show($basedir) // $basedir - the directory where your CC images can be found; default = DIR_WS_IMAGES . 'cc/' // Don't forget the ending '/'! function cc_show($basedir = '') { $this->cc_image_url = DIR_WS_IMAGES . 'cc/'; // URL for logo & cc icon images $this->cc_logo_prefix = 'cclogo_'; // prefix for Payment Gateway Logos $this->cc_image_prefix = 'ccicon_'; // prefix for Credit Card Names $this->cc_image_ext = '.gif'; // file type // unset($this->gw); // unset($this->cc); $this->set_url($basedir); } Cheers Callum Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.