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 Originally Posted by Gozzandes View Post
    OK
    You should copy following 3 files and paste it to your local disk.
    The files are backup.
    includes\checkout.js
    includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_confirmation_default.php
    includes\modules\payment\stripe.php

    and upload the above three files in the stripe-module_218 folder via FTP.
    If it doesn't work, just overwrite the backup.
    I have tried this.. unfortunately I'm still experiencing the same issue... there are no feilds showing to enter CC info during checkout. I have the site in "Test Mode" and my Stripe account is in Test Mode... the Stripe API test keys are entered in the module correctly.

    I have the stripe_module_zc201 version installed on a Zen Cart 2.1.0 website.
    Not sure what to do. Any other suggestions?
    Attached Images Attached Images  
    Last edited by BigB; 1 Jan 2025 at 09:02 PM.

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

    Default Re: Stripe payment module -Duplicate orders

    Quote Originally Posted by BigB View Post
    I have tried this.. unfortunately I'm still experiencing the same issue... there are no feilds showing to enter CC info during checkout. I have the site in "Test Mode" and my Stripe account is in Test Mode... the Stripe API test keys are entered in the module correctly.

    I have the stripe_module_zc201 version installed on a Zen Cart 2.1.0 website.
    Not sure what to do. Any other suggestions?
    Stripe form is displayed after receiving client secret(clientS) from stripe server so far.
    This is the problem.
    Following code receive from stripe directly.
    checkout.js Restoring line 39 OK
    I'll upload revised module to github.com tomorrow as a version 219


    checkout.js Restoring line 39 and

    stripe.php line167
    from
    PHP Code:
    require_once 'stripepay/create.php' 
    to
    PHP Code:
    if ($_SESSION['paymentIntent'] == '' ){
    require_once 
    'stripepay/create.php' ;


    tpl_checkout_confirmation_default line194
    tpl_checkout_one_confirmation_default line235

    PHP Code:
    <script>
    if (
    typeof clientS === null) { 

    PHP Code:
    <?php
    $jason_stripe_select 
    json_encode($stripe_select);
    ?>
    <script>
    var stripe_select = JSON.parse('<?php echo $jason_stripe_select?>'); 
    if (stripe_select === "True") {

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

    Default Re: Stripe payment module -Duplicate orders

    and add a file in the following folder.
    \includes\modules\pages\checkout_payment

    file name is jscript_stripe.php
    The contents of the file are as follows

    PHP Code:
    <?php 
    if ( isset($_SESSION['paymentIntent'])){
        
    $_SESSION['paymentIntent'] = '';
      }
    ?>

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

    Default Re: Stripe payment module -Duplicate orders

    I've uploaded stripe module ver 219 to github.com.
    You can download following link.
    stripe module 219 for zen cart

    When you upgrade your module, overwrite following 4 files and add jscript_stripe.php.
    \includes\checkout.js
    \includes\modules\payment\stripe.php
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_confirmation_default.ph p
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_one_confirmation_defaul t.php

    \includes\modules\pages\checkout_payment\jscript_stripe.php

    I recommend
    The module should be test using local computer with Xampp before uploading to live site.

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

    Default Re: Stripe payment module -Duplicate orders

    I've uploaded stripe module ver 219 to github.com.
    You can download following link.
    Link of Previous message is different.

    stripe module 219 for zen cart

    When you upgrade your module, overwrite following 4 files and add jscript_stripe.php.
    \includes\checkout.js
    \includes\modules\payment\stripe.php
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_confirmation_default.ph p
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_one_confirmation_defaul t.php

    \includes\modules\pages\checkout_payment\jscript_stripe.php

    I recommend
    The module should be test using local computer with Xampp before uploading to live site.

    Nihon yokane corporation

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

    Default Re: Stripe payment module -Duplicate orders

    Quote Originally Posted by Gozzandes View Post
    I've uploaded stripe module ver 219 to github.com.
    You can download following link.
    Link of Previous message is different.

    stripe module 219 for zen cart

    When you upgrade your module, overwrite following 4 files and add jscript_stripe.php.
    \includes\checkout.js
    \includes\modules\payment\stripe.php
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_confirmation_default.ph p
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_one_confirmation_defaul t.php

    \includes\modules\pages\checkout_payment\jscript_stripe.php

    I recommend
    The module should be test using local computer with Xampp before uploading to live site.

    Nihon yokane corporation
    Ok, Thank you very much. I'll give it a go

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

    Default Re: Stripe payment module -Duplicate orders

    Quote Originally Posted by Gozzandes View Post
    I've uploaded stripe module ver 219 to github.com.
    Does this 219 version address both BigB issues as well as the duplicate order issue?

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

    Default Re: Stripe payment module -Duplicate orders

    Quote Originally Posted by split63 View Post
    Does this 219 version address both BigB issues as well as the duplicate order issue?
    I build a demo shop in my computer and tested it.
    First of all, the issue of the duplicate order issue had been resolved in version 218. Also, BigB's problem was caused by not overwriting checkout_confirmation_default.php for this module in the template folder.

    split63's problem was double payments with PayPal etc.
    It was caused by moving from checkout_confirmation page to Paypal payment page,
    and then when returning to checkout_confirmation page, the browser re-loads the create.php(modules\stripepay\create.php) again.

    The checkout_confirmation page (returning URL)is specified in includes\checkout.js return_url, the problem occurs when create.php is re-executed when returning to checkout_confirmation page.

    so I fixed it that create.php is not executed when checkout_confirmation page is reloaded.
    I was not able to actual test with PayPal, I checked it by reloading (F5 key) the checkout_confirmation page in my computer's browser.

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

    Default Re: Stripe payment module -Duplicate orders

    Quote Originally Posted by Gozzandes View Post
    I've uploaded stripe module ver 219 to github.com.
    You can download following link.
    Link of Previous message is different.

    stripe module 219 for zen cart

    When you upgrade your module, overwrite following 4 files and add jscript_stripe.php.
    \includes\checkout.js
    \includes\modules\payment\stripe.php
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_confirmation_default.ph p
    \includes\templates\YOUR_TEMPLATE\templates\tpl_checkout_one_confirmation_defaul t.php

    \includes\modules\pages\checkout_payment\jscript_stripe.php

    I recommend
    The module should be test using local computer with Xampp before uploading to live site.

    Nihon yokane corporation
    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.

    Click image for larger version. 

Name:	Screenshot (58).jpg 
Views:	36 
Size:	45.2 KB 
ID:	20857
    Last edited by BigB; 10 Jan 2025 at 10:28 PM.

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

 

 

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