Firstly, thank you for making this module. I greatly appreciate it. I have it installed now in test mode locally.
Is it possible to display credit card images during Step 2 of 3 for Stripepay checkout? During this step Paypal shows their logo or the payment types they accept. It would be great to have Stripepay show the credit cards as well (where it calls an image from the installed server).
I am not a programmer. I tried to see if I could implement it and have failed. I looked at the paypal payment files. I attempted to do the same for two stripepay.php files. I've missed something somewhere. This is what I've done:
in /includes/languages/english/modules/payment/stripepay.php I added the following lines:
in /includes/modules/payment/stripepay.php I have the following in lines 23 to 29 (give or take a few lines)PHP Code:define('MODULE_PAYMENT_STRIPEPAY_BUTTON_IMG', '/images/cc_images.jpg');
define('MODULE_PAYMENT_STRIPEPAY_BUTTON_ALT', 'Pay Securely');
define('MODULE_PAYMENT_STRIPEPAY_ACCEPTANCE_MARK_TEXT', '');
define('MODULE_PAYMENT_STRIPEPAY_TEXT_CATALOG_LOGO', '<img src="' . MODULE_PAYMENT_STRIPEPAY_BUTTON_IMG . '" alt="' . MODULE_PAYMENT_STRIPEPAY_BUTTON_ALT . '" title="' . MODULE_PAYMENT_STRIPEPAY_BUTTON_ALT . '" /> ' .
'<span class="smallText">' . MODULE_PAYMENT_STRIPEPAY_ACCEPTANCE_MARK_TEXT . '</span>');
As I mentioned before, I'm not a programmer. Is what I'm trying to do possible? If so, can you tell how to do it? It would be great to show customers which credit cards are accepted during checkout so they fully know their options.PHP Code:$this->code = 'stripepay';
$this->api_version = 'Stripe Payments v 1.2 for ZenCart';
// $this->title = MODULE_PAYMENT_STRIPEPAY_TEXT_TITLE;
$this->button_img = MODULE_PAYMENT_STRIPEPAY_BUTTON_IMG;
$this->description = MODULE_PAYMENT_STRIPEPAY_TEXT_DESCRIPTION;
$this->sort_order = MODULE_PAYMENT_STRIPEPAY_SORT_ORDER;
$this->enabled = ((MODULE_PAYMENT_STRIPEPAY_STATUS == 'True') ? true : false);


Reply With Quote

