Page 1 of 2 12 LastLast
Results 1 to 10 of 679

Hybrid View

  1. #1
    Join Date
    Jun 2024
    Posts
    91
    Plugin Contributions
    0

    Default Re: Stripe payment module -Duplicate orders

    [QUOTE=BigB;1405241]Hi Gozzandes, I have performed this procedure... I am in TEST MODE... have the proper test credentials configured in the module's admin section (admin login area of Zen Cart install)... still have no feilds to enter CC info at Step 2 of 3... or at Step 3 of 3.
    It's the same as before and simply states "Payment Type: Credit Card" and nothing more.
    Should I FTP the entire 2.1.9 module and simply have it "overwrite" any and all duplicate files? Perhaps this will fix the issue?

    Here is a "Debug Log" that was generated after I tried this test order FWIW..

    [10-Jan-2025 21:13:56 UTC] Request URI: /index.php?main_page=checkout_confirmation, IP address: 35.140.26.5, Language id 1
    #1 stripe->pre_confirmation_check() called at [/includes/classes/payment.php:309]
    #2 payment->pre_confirmation_check() called at [/includes/modules/pages/checkout_confirmation/header_php.php:92]
    #3 require(/includes/modules/pages/checkout_confirmation/header_php.php) called at [/index.php:35]
    --> PHP Warning: Undefined array key "paymentIntent" in /includes/modules/payment/stripe.php on line 169.

    Here's an up close pic of what I mean.... I don't get any feilds to enter CC info...
    Click image for larger version. 

Name:	Screenshot (58)edited (1).jpg 
Views:	67 
Size:	21.6 KB 
ID:	20859
    Attached Images Attached Images  
    Last edited by BigB; 11 Jan 2025 at 12:10 AM.

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

    Default Re: Stripe payment module -Duplicate orders

    [QUOTE=BigB;1405244]
    Quote Originally Posted by BigB View Post
    Hi Gozzandes, I have performed this procedure... I am in TEST MODE... have the proper test credentials configured in the module's admin section (admin login area of Zen Cart install)... still have no feilds to enter CC info at Step 2 of 3... or at Step 3 of 3.
    It's the same as before and simply states "Payment Type: Credit Card" and nothing more.
    Should I FTP the entire 2.1.9 module and simply have it "overwrite" any and all duplicate files? Perhaps this will fix the issue?

    Here is a "Debug Log" that was generated after I tried this test order FWIW..

    [10-Jan-2025 21:13:56 UTC] Request URI: /index.php?main_page=checkout_confirmation, IP address: 35.140.26.5, Language id 1
    #1 stripe->pre_confirmation_check() called at [/includes/classes/payment.php:309]
    #2 payment->pre_confirmation_check() called at [/includes/modules/pages/checkout_confirmation/header_php.php:92]
    #3 require(/includes/modules/pages/checkout_confirmation/header_php.php) called at [/index.php:35]
    --> PHP Warning: Undefined array key "paymentIntent" in /includes/modules/payment/stripe.php on line 169.

    Here's an up close pic of what I mean.... I don't get any feilds to enter CC info...
    Click image for larger version. 

Name:	Screenshot (58)edited (1).jpg 
Views:	67 
Size:	21.6 KB 
ID:	20859
    Copy the following files.
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_confirmation_default.ph p
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_one_confirmation_defaul t.php

    and paste/overwrite it to
    \includes\templates\responsive_classic\templates\tpl_checkout_confirmation_defau lt.ph p
    \includes\templates\responsive_classic\templates\tpl_checkout_one_confirmation_d efaul t.php

  3. #3
    Join Date
    Jun 2024
    Posts
    91
    Plugin Contributions
    0

    Default Re: Stripe payment module -Duplicate orders

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

    Copy the following files.
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_confirmation_default.ph p
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_one_confirmation_defaul t.php

    and paste/overwrite it to
    \includes\templates\responsive_classic\templates\tpl_checkout_confirmation_defau lt.ph p
    \includes\templates\responsive_classic\templates\tpl_checkout_one_confirmation_d efaul t.php
    OK... will give it a go. Thank you

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

    Default Re: Stripe payment module -Duplicate orders

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

    Copy the following files.
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_confirmation_default.ph p
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_one_confirmation_defaul t.php

    and paste/overwrite it to
    \includes\templates\responsive_classic\templates\tpl_checkout_confirmation_defau lt.ph p
    \includes\templates\responsive_classic\templates\tpl_checkout_one_confirmation_d efaul t.php
    This seems to have worked. Now the fields show to enter the faux CC info. I did a test order and everything was showing as it should. Thank you very much for helping. Greatly appreciated

    I did get this in a Debug Log after doing the test order... not sure if it's a big problem or not:

    [11-Jan-2025 19:37:38 UTC] Request URI: /index.php?main_page=checkout_confirmation, IP address: 35.140.26.5, Language id 1
    #1 stripe->pre_confirmation_check() called at [/includes/classes/payment.php:309]
    #2 payment->pre_confirmation_check() called at [/includes/modules/pages/checkout_confirmation/header_php.php:92]
    #3 require(/includes/modules/pages/checkout_confirmation/header_php.php) called at [/index.php:35]
    --> PHP Warning: Undefined array key "paymentIntent" in /includes/modules/payment/stripe.php on line 169.
    Last edited by BigB; 11 Jan 2025 at 09:04 PM.

  5. #5
    Join Date
    May 2010
    Location
    Texas
    Posts
    508
    Plugin Contributions
    0

    Default Re: Stripe payment module - Triplicate orders

    Zen: 1.5.7c

    I had to disable Stripe.
    Not sure what happened, many stripe payments with no Zen order. And one Triplicate order

    I have numbered the failed orders below. Here is the feedback from the customers for each

    1. Order changed from $98.94 to $102.24; changed shipping method. notification from cash app for the charge but after I submitted the order it just took me back to the main page
    2. Selected Cash App pay, clicked confirm order, says the payment went through, but the items I selected were still in my cart and there was a button saying “confirm order”
    3. I remember seeing it pop up on my phone as a charge to my account so I assumed it went thru.
    4. No feedback yet


    Click image for larger version. 

Name:	Failed stripe orders.jpg 
Views:	70 
Size:	41.6 KB 
ID:	20860

  6. #6
    Join Date
    Jun 2024
    Posts
    91
    Plugin Contributions
    0

    Default Re: Stripe payment module - Triplicate orders

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

    Copy the following files.
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_confirmation_default.ph p
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_one_confirmation_defaul t.php

    and paste/overwrite it to
    \includes\templates\responsive_classic\templates\tpl_checkout_confirmation_defau lt.ph p
    \includes\templates\responsive_classic\templates\tpl_checkout_one_confirmation_d efaul t.php
    [QUOTE=BigB;1405256]
    Quote Originally Posted by Gozzandes View Post

    This seems to have worked. Now the fields show to enter the faux CC info. I did a test order and everything was showing as it should. Thank you very much for helping. Greatly appreciated

    I did get this in a Debug Log after doing the test order... not sure if it's a big problem or not:

    [11-Jan-2025 19:37:38 UTC] Request URI: /index.php?main_page=checkout_confirmation, IP address: 35.140.26.5, Language id 1
    #1 stripe->pre_confirmation_check() called at [/includes/classes/payment.php:309]
    #2 payment->pre_confirmation_check() called at [/includes/modules/pages/checkout_confirmation/header_php.php:92]
    #3 require(/includes/modules/pages/checkout_confirmation/header_php.php) called at [/index.php:35]
    --> PHP Warning: Undefined array key "paymentIntent" in /includes/modules/payment/stripe.php on line 169.
    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

  7. #7
    Join Date
    May 2010
    Location
    Texas
    Posts
    508
    Plugin Contributions
    0

    Default Re: Stripe payment module - Triplicate orders

    #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

  8. #8
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    132
    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-------->

  9. #9
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    132
    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?

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

 

 
Page 1 of 2 12 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

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