Page 2 of 25 FirstFirst 123412 ... LastLast
Results 11 to 20 of 243
  1. #11
    Join Date
    Jan 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Stripe.com payment integration module

    From my original post:
    "The problem is that in the admin panel the stripe payment module is saying this in red "Stripe secure payments Catalog SSL appears to be missing. Live payments are not possible""

    Got this problem figured out. It was a setting in my zencart site. I had not changed the code in the configure.php file in the admin/includes folder to "true" for ssl secure catalog. Found the information here http://www.picaflor-azul.com/blog/?p=997 but sure you can also find it on the zencart site by perching about making your website secure. Now to run some test and see if everything works with the stripe module! I will be sure to re-post if it does end up replacing my current Authorize .net payment processor. Thanks!
    Paxton

  2. #12
    Join Date
    Jan 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Stripe.com payment integration module

    Could you let me know if and what code I could modify to display not just the credit card expiration month on checkout page (January) but also the month number (1 January) ? I just feel it is more convenient for customers as most credit card expiration's are shown on the card as numbers. Can this be done?
    I search through the stripe files but could not find the code source.
    Thanks
    Paxton---

  3. #13
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    Default Re: Stripe.com payment integration module

    Do you have people actually complaining that they're confused by the month being displayed?
    .

    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.

  4. #14
    Join Date
    Jan 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Stripe.com payment integration module

    Quote Originally Posted by DrByte View Post
    Do you have people actually complaining that they're confused by the month being displayed?
    A few years ago I was building a website for a client and they felt strongly about displaying both number and month to make it easy on the customer so thats what I did for them. Recently when I installed this module and was testing the credit card system I found myself double checking when I entered the expiration month afraid I might be entering the wrong one so wondered to myself if other customers might get a little frustrated over this. Guess it all depends on how well you know your month numbers ;) I asked several people (not customers) what there preference would be and about half said they would prefer to see both.

    Just seems the easier and more user friendly you can make the checkout process the more return customers you will hope to have. I know I myself like it better when the sites I use my credit card on also have numbers. Just did not know if the code was in the module or somehow brought in from the stripe server and could not be altered.

  5. #15
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    Default Re: Stripe.com payment integration module

    It's probably code in the module itself, and likely in the confirmation() function, since that's what prepares the content which is eventually requested and displayed by the template.
    .

    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.

  6. #16
    Join Date
    Jan 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Stripe.com payment integration module

    Quote Originally Posted by DrByte View Post
    It's probably code in the module itself, and likely in the confirmation() function, since that's what prepares the content which is eventually requested and displayed by the template.
    Thanks for the push in the right direction. Spent a few hours on it and just can not seem to locate any code I can edit to add the month numbers
    Not a big deal but now I want to figure it out just because ;)
    Looked in every module file and didn't see any changeable code that relates to the months.
    I did find different instances of this:

    Code:
    $confirmation['fields'][] = array(
                'title' => '<span class="card_hide" style="margin-right:10px">' . MODULE_PAYMENT_STRIPEPAY_CREDIT_CARD_EXPIRES . '</span>'.zen_draw_pull_down_menu('', $expires_month, '', 'class="card_expiry_month card_hide"') . '&nbsp;' . zen_draw_pull_down_menu('', $expires_year, '', 'class="card-expiry-year  card_hide"'),
                'field' => ''
    Thought maybe it was calling for a zencart file that maybe had the months in it. Did find one but changing the instances of say January to 1-January did not update the stripe payment page. Should not be this hard to find but maybe im looking in the wrong place or thinking to symple (find months and change to number plus months).
    When you look at the view page source from my checkout page you see this portion of source code. Thought it might help me sort it out but dint really. If you see anything let me know.

    Code:
     </script><script type="text/javascript">
                                    function stripeResponseHandler(status, response) {
                            if (response.error) {
                                alert(response.error.message);
                                //$(".payment-errors").text(response.error.message);
                            } else {
                                var form$ = $("form[name=checkout_confirmation]");
                                var token = response['id'];
                                form$.append("<input type='hidden' name='StripeToken' value='" + token + "'/>");
                                 if ( $('.new_stripe').attr('checked')) { 
                                 form$.append("<input type='hidden' name='StripeSaveCard' value='YES'/>");
                                 }
                                form$.attr('action', 'index.php?main_page=checkout_process'); 
                                //hide button
                                 $("#tdb5").hide();
                                
    
                                // and submit
                                form$.get(0).submit();
                            }
                        }
                        </script></div>
    <div class="important">
    <div class="back"><span class="card_hide" style="margin-right:10px">Card Owner</span><input type="text" name="" value="Marne Mobley" class="card-name card_hide" /></div>
    <div ></div>
    <div class="back"><span class="card_hide" style="margin-right:10px">Credit Card Number</span><input type="text" name="" style="display:inline-block; padding-right:10px" class="card_number card_hide" /></div>
    <div ></div>
    <div class="back"><span class="card_hide" style="margin-right:10px">Expiry</span><select name="" class="card_expiry_month card_hide">
      <option value="01">January</option>
      <option value="02">February</option>
      <option value="03">March</option>
      <option value="04">April</option>
      <option value="05">May</option>
      <option value="06">June</option>
      <option value="07">July</option>
      <option value="08">August</option>
      <option value="09">September</option>
      <option value="10">October</option>
      <option value="11">November</option>
      <option value="12">December</option>
    I will try and look into it a little later and if I find a solution I will post.
    Just wanted to say thanks DrByte for all your contributions to the zencart community! I have been using these forums for years now and have found many successful answers to my questions from your posting! Made a donation at one time for you guys but need to do it again as zencart is an awesome shopping cart and community!

  7. #17
    Join Date
    Jan 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Stripe.com payment integration module

    Quote Originally Posted by WallStickys View Post
    Hello, I think I may have found a bug. Some of my customers were getting the error message, "amount must be a positive integer in cents" when attempting to check out. I found the following line of code in stripepay.php:

    Code:
    "amount" => ($order->info['total']) * 100, // amount in cents
    I added the round function to the calculation and it seems to have corrected the issue:

    Code:
    "amount" => round($order->info['total'], 2) * 100, // amount in cents
    Please note there are several instances where this line needs to be changed.

    Other than that - everything seems to be working fine! Thanks so much!

    James
    I just noticed this same problem installing the module on a second zencart site I have. My first website, zencart version 1.3.8a, did not have this error so far after several transactions but my second website using zencart 1.3.9h got the error first time I ran a test transaction. I am going to try and make the alterations like James suggested.
    Sure hope the developer is monitoring this thread as it would be great to hear if this is the correct fix or not for this error. Please let us know if you get a chance. Thanks.

  8. #18
    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.

  9. #19
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    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.

  10. #20
    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.

 

 
Page 2 of 25 FirstFirst 123412 ... LastLast

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR