Results 1 to 10 of 679

Hybrid View

  1. #1
    Join Date
    Jul 2012
    Posts
    3
    Plugin Contributions
    0

    Default Re: Stripe.com payment integration module

    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:

    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 '" /> &nbsp;' .
                                                        
    '<span class="smallText">' MODULE_PAYMENT_STRIPEPAY_ACCEPTANCE_MARK_TEXT '</span>'); 
    in /includes/modules/payment/stripepay.php I have the following in lines 23 to 29 (give or take a few lines)

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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Stripe.com payment integration module

    Quote Originally Posted by cubbie View Post
    Is it possible to display credit card images during Step 2 of 3 for Stripepay checkout?
    Simple: turn on the credit card images in Admin->Configuration->Credit Cards, and upload appropriate images to your server once you've confirmed that you have copyright permission to display said images on your site.

    No programming required.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jul 2012
    Posts
    3
    Plugin Contributions
    0

    Default Re: Stripe.com payment integration module

    Quote Originally Posted by DrByte View Post
    Simple: turn on the credit card images in Admin->Configuration->Credit Cards, and upload appropriate images to your server once you've confirmed that you have copyright permission to display said images on your site.

    No programming required.
    Thanks. That was painless.

 

 

Similar Threads

  1. pay2check.com payment module?
    By sunrise99 in forum Addon Payment Modules
    Replies: 0
    Last Post: 1 Nov 2011, 03:55 AM
  2. klikandpay.com payment module
    By rulest in forum Addon Payment Modules
    Replies: 0
    Last Post: 24 Sep 2010, 06:06 PM
  3. AlertPay Payment Module Integration Help Please!
    By etorf9751 in forum Addon Payment Modules
    Replies: 8
    Last Post: 16 Aug 2010, 05:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg