Page 49 of 58 FirstFirst ... 394748495051 ... LastLast
Results 481 to 490 of 574
  1. #481
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    125
    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") {

  2. #482
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    125
    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'] = '';
      }
    ?>

  3. #483
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    125
    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.

  4. #484
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    125
    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

  5. #485
    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

  6. #486
    Join Date
    May 2010
    Location
    Texas
    Posts
    491
    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?

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

  8. #488
    Join Date
    May 2010
    Location
    Texas
    Posts
    491
    Plugin Contributions
    0

    Default Re: Stripe payment module -Duplicate orders

    Quote Originally Posted by Gozzandes View Post
    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.
    I must have missed this, I thought commenting out line 39 of the \includes\checkout.js was the fix.
    Last edited by split63; 3 Jan 2025 at 03:12 AM.

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

    Default Re: Stripe payment module -Duplicate orders

    Quote Originally Posted by split63 View Post
    I must have missed this, I thought commenting out line 39 of the \includes\checkout.js was the fix.
    \includes\checkout.js line 39
    return_url: confirmationURL,

    This code is needed here.
    Customers will return to this is the page after PayPal payment page.
    I didn't take this into consideration.
    Sorry.

  10. #490
    Join Date
    May 2010
    Location
    Texas
    Posts
    491
    Plugin Contributions
    0

    Default Re: Stripe payment module -Duplicate orders

    Quote Originally Posted by Gozzandes View Post
    \includes\checkout.js line 39
    return_url: confirmationURL,

    This code is needed here.
    Customers will return to this is the page after PayPal payment page.
    I didn't take this into consideration.
    Sorry.
    2.1.9 Stripe_module_zc157c installed
    Both Stripe and PayPal seem okay.
    I ran a few test credit card orders thru stripe, all went okay. Once I hit the "continue" button on the 3rd checkout page, I then rapid clicked the "continue" button to see if I can create a duplicate order. It briefly displays "A processing error occurred." to the left of the "continue" button, but the order completes and there is no duplicate charge at stripe or at Zen.
    However, directly after I click "continue" the first time, I see this text displayed to the left of the "continue" button: "TEXT_PAYMENT_STRIPE_PAYMENTSUCCEEDED". That seems odd.
    All this is on my duplicate test site. I have yet to role it into my live site.

 

 
Page 49 of 58 FirstFirst ... 394748495051 ... 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