Page 52 of 58 FirstFirst ... 2425051525354 ... LastLast
Results 511 to 520 of 574
  1. #511
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    125
    Plugin Contributions
    2

    Default Re: Stripe payment module - Triplicate orders

    [QUOTE=BigB;1405258][QUOTE=Gozzandes;1405246]

    Quote Originally Posted by BigB View Post

    I have noticed that on the two test orders I have tried that the payments show as "Pending"... I'm offering digital download products and there is a message that states "NOTE: Downloads are not available until payment has been confirmed".
    I would think that payments would be "confirmed" while using test mode but, I don't know for certain. Perhaps there is a setting I need to configure or maybe the Debug Log is pointing to this issue? Any insight or suggestions is greatly appreciated, thanks
    Following 2 files should be changed
    www\includes\modules\pages\checkout_one\jscript_stripe.php
    \www\includes\modules\pages\checkout_payment\jscript_stripe.php

    from
    PHP Code:
    <?php 
    if ( isset($_SESSION['paymentIntent'])){
        
    $_SESSION['paymentIntent'] = '';
      }
    ?>
    to
    PHP Code:
    <?php 
        $_SESSION
    ['paymentIntent'] = '';
    ?>
    could you check it and reply?

  2. #512
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    125
    Plugin Contributions
    2

    Default Re: Stripe payment module - Triplicate orders

    Quote Originally Posted by split63 View Post
    #4 just provided this info:

    "I kept getting redirected back to the cart after I selected the Amazon Pay without receiving any notice at all. there was no information about if the order payment was denied or anything else.
    So, after 2 Amazon attempts, I decided to try my credit card, and I was able to complete the order."


    Its as if something changed at Stripe and now Payments other than credit cards, fail to create an order in Zen


    When Zen cart session end and Stripe session sill alive.
    Stripe payment######
    Zen cart: Not pass

    When Stripe session end and Zen cart session still alive.
    Stripe payment:Not Pass
    Zen cart: pass

    Even if Zen cart session ended and Stripe session also ended, Stripe "Confirm button" displayed.
    and the customers redirect to the front page after pushing the button.

    You can check your Zen cart session time in inculdes/functions/sessions.php
    line15-31
    $SESS_LIFE


    Did you rewrite following codes to bottom of the tpl_checkout _confirmation_default.php?


    PHP Code:
    <!--------stripe-------->

    <?php
    $jason_stripe_select 
    json_encode($stripe_select);
    $jason_sess_life json_encode($SESS_LIFE);
    $timeoutURL '"' HTTPS_SERVER DIR_WS_HTTPS_CATALOG 'index.php?main_page=time_out"';
    ?>
    <script>

    var stripe_select = JSON.parse('<?php echo $jason_stripe_select?>'); 
    var sess_life = JSON.parse('<?php echo $jason_sess_life?>'); 
    var timeoutURL = JSON.parse('<?php echo $timeoutURL?>'); 

    if (stripe_select === "True") {

        document.getElementById('btn_submit').style.display ="none";
        document.getElementById('checkout_confirmation').style.display ="none";
        document.getElementById('payment-form','submit').display ="block";
        setTimeout(function(){window.location.href = timeoutURL;}, sess_life*1000);


      }else{
        document.getElementById('btn_submit').display ="block";
        document.getElementById('checkout_confirmation').display ="block";
        document.getElementById('payment-form','submit').style.display ="none";

      }

    </script>
    <!--------end-stripe-------->

  3. #513
    Join Date
    May 2010
    Location
    Texas
    Posts
    491
    Plugin Contributions
    0

    Default Re: Stripe payment module - Triplicate orders

    Quote Originally Posted by Gozzandes View Post
    Did you rewrite following codes to bottom of the tpl_checkout _confirmation_default.php?
    The stripe module is the 2.1.9 release, no changes. This module was essentially working until Jan 10th, then all non credit card payments there after failed to create a Zen Order.
    I had not messed with the session issue yet.

    inculdes/functions/sessions.php should be that from 1.5.7c unaltered:

    PHP Code:
    if (IS_ADMIN_FLAG === true) {
        
    $SESS_LIFE = (int)SESSION_TIMEOUT_ADMIN;
        
    // if strict is enabled, must be a max of 900
        
    if (PADSS_ADMIN_SESSION_TIMEOUT_ENFORCED != && $SESS_LIFE 900) {
            
    $SESS_LIFE 900;
        }
    } else {
        
    // read PHP config
        
    $SESS_LIFE get_cfg_var('session.gc_maxlifetime');
        
    // override if set
        
    if (defined('SESSION_TIMEOUT_CATALOG') && (int)SESSION_TIMEOUT_CATALOG 120) {
            
    $SESS_LIFE = (int)SESSION_TIMEOUT_CATALOG;
        }
        
    // if set toooo short, reset to default
        
    if ((int)$SESS_LIFE 120) {
            
    $SESS_LIFE 1440

    This is the code at the bottom of /responsive_classic/templates/tpl_checkout_confirmation_default.php

    PHP Code:
    <!--------stripe-------->

    <?php
    $jason_stripe_select 
    json_encode($stripe_select);
    ?>
    <script>

    var stripe_select = JSON.parse('<?php echo $jason_stripe_select?>'); 
    if (stripe_select === "True") {
        document.getElementById('btn_submit').style.display ="none";
        document.getElementById('checkout_confirmation').style.display ="none";
        document.getElementById('payment-form','submit').display ="block";
      }else{
        document.getElementById('btn_submit').display ="block";
        document.getElementById('checkout_confirmation').display ="block";
        document.getElementById('payment-form','submit').style.display ="none";

      }
    </script>
    <!--------end-stripe-------->
    Last edited by split63; 12 Jan 2025 at 04:16 PM.

  4. #514
    Join Date
    Jun 2024
    Posts
    91
    Plugin Contributions
    0

    Default Re: Stripe payment module - Triplicate orders

    [QUOTE=Gozzandes;1405263][QUOTE=BigB;1405258]
    Quote Originally Posted by Gozzandes View Post



    Following 2 files should be changed
    www\includes\modules\pages\checkout_one\jscript_stripe.php
    \www\includes\modules\pages\checkout_payment\jscript_stripe.php

    from
    PHP Code:
    <?php 
    if ( isset($_SESSION['paymentIntent'])){
        
    $_SESSION['paymentIntent'] = '';
      }
    ?>
    to
    PHP Code:
    <?php 
        $_SESSION
    ['paymentIntent'] = '';
    ?>
    could you check it and reply?
    Ok, I will give it a try and post results when done. Thank you

  5. #515
    Join Date
    Jun 2024
    Posts
    91
    Plugin Contributions
    0

    Default Re: Stripe payment module - Triplicate orders

    [QUOTE=Gozzandes;1405263][QUOTE=BigB;1405258]
    Quote Originally Posted by Gozzandes View Post



    Following 2 files should be changed
    www\includes\modules\pages\checkout_one\jscript_stripe.php
    \www\includes\modules\pages\checkout_payment\jscript_stripe.php

    from
    PHP Code:
    <?php 
    if ( isset($_SESSION['paymentIntent'])){
        
    $_SESSION['paymentIntent'] = '';
      }
    ?>
    to
    PHP Code:
    <?php 
        $_SESSION
    ['paymentIntent'] = '';
    ?>
    could you check it and reply?
    Ok, I was able to change the php file for \www\includes\modules\pages\checkout_payment\jscript_stripe.php
    However, I do not have a folder for www\includes\modules\pages\checkout_one
    with a jscript_stripe.php file for me to modify.
    Is this a folder with files I need to FTP over into my ZC installation?

    I did try a test order all the same after making the modifuaction in \www\includes\modules\pages\checkout_payment\jscript_stripe.php
    and still get the same message "NOTE: Downloads are not available until payment has been confirmed"
    Name:  Screenshot (61).jpg
Views: 21
Size:  46.8 KB

  6. #516
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    125
    Plugin Contributions
    2

    Default Re: Stripe payment module - Triplicate orders

    [QUOTE=BigB;1405272][QUOTE=Gozzandes;1405263]
    Quote Originally Posted by BigB View Post

    Ok, I was able to change the php file for \www\includes\modules\pages\checkout_payment\jscript_stripe.php
    However, I do not have a folder for www\includes\modules\pages\checkout_one
    with a jscript_stripe.php file for me to modify.
    Is this a folder with files I need to FTP over into my ZC installation?

    I did try a test order all the same after making the modifuaction in \www\includes\modules\pages\checkout_payment\jscript_stripe.php
    and still get the same message "NOTE: Downloads are not available until payment has been confirmed"
    Name:  Screenshot (61).jpg
Views: 21
Size:  46.8 KB
    download ver 2.1.11and overwrite all files.

  7. #517
    Join Date
    Jun 2024
    Posts
    91
    Plugin Contributions
    0

    Default Re: Stripe payment module - Triplicate orders

    [QUOTE=Gozzandes;1405275][QUOTE=BigB;1405272]
    Quote Originally Posted by Gozzandes View Post

    download ver 2.1.11and overwrite all files.
    OK, I downloaded version 2.1.11... I'll give it a go. Thank you

  8. #518
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    125
    Plugin Contributions
    2

    Default Re: Stripe payment module - Triplicate orders

    you should change the status.

  9. #519
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    125
    Plugin Contributions
    2

    Default Re: Stripe payment module - Triplicate orders

    You should change the status after cheking the payment in the admin page.
    or change the default order value of setting.

  10. #520
    Join Date
    Jun 2024
    Posts
    91
    Plugin Contributions
    0

    Default Re: Stripe payment module - Triplicate orders

    Quote Originally Posted by Gozzandes View Post
    You should change the status after cheking the payment in the admin page.
    or change the default order value of setting.
    OK... Right now all test orders are "pending". Not sure what they should be changed to... the other choices are processing, delivered or update.
    Should this be done before I update the stripe module to version 2.1.11 or after I update the module?

 

 
Page 52 of 58 FirstFirst ... 2425051525354 ... 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