Here's how PayPal does it, via return from the payment-method's selection function:
Code:
/**
* Display Credit Card Information Submission Fields on the Checkout Payment Page
*/
function selection() {
$this->cc_type_check = '';
/**
* since we are NOT processing via the gateway, we will only display MarkFlow payment option, and no CC fields
*/
return array('id' => $this->code,
'module' => '<img src="' . MODULE_PAYMENT_PAYPALEC_MARK_BUTTON_IMG . '" alt="' . MODULE_PAYMENT_PAYPALWPP_TEXT_BUTTON_ALTTEXT . '" /><span style="font-size:11px; font-family: Arial, Verdana;"> ' . MODULE_PAYMENT_PAYPALWPP_MARK_BUTTON_TXT . '</span>');
}
That returns the PayPal icon followed by "Checkout with PayPal. The safer, easier way to pay." to be displayed as the radio-button's selection.
Bookmarks