Page 51 of 58 FirstFirst ... 414950515253 ... LastLast
Results 501 to 510 of 574
  1. #501
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    125
    Plugin Contributions
    2

    Default Re: Stripe payment module - Duplicate order

    Quote Originally Posted by split63 View Post
    According to Stripe:

    To automatically expire unused Checkout Sessions, you can set the expires_at parameter when creating a Checkout Session. This parameter determines the expiration time of the session and can be set to any time between 30 minutes and 24 hours after the session is created. Once a Checkout Session reaches its expiration time without completion, it becomes inaccessible

    The default expiration time for Stripe Checkout Sessions is 24 hours


    Perhaps the easy fix is to set this parameter to just less than whatever the session time out is for Zen?
    I don't see where it is ever set in the stripe code
    Zen Cart's session timeout is 1440 seconds by default. This is 24 minutes.
    Stripe's timeout is between 30 minutes and 24 hours, so the same issue will occur during these 6 minutes.
    For this reason, the tpl_checkout_comfirm########.php script is set up to redirect to the time_out page as soon as the Zen Cart session timeout occurs.
    If you want to set it on the Stripe side, you can insert "expires_at:" and the timeout time line 37 of checkout.js. (I haven't check this though)

    $timeoutURL is Zen cart session time

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

    Default Re: Stripe payment module - Duplicate order

    Sorry
    $timeoutURL is not Zen cart session expired time.
    $SESS_LIFE is Zen cart session expired time.

  3. #503
    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:	13 
Size:	45.2 KB 
ID:	20857
    Last edited by BigB; 10 Jan 2025 at 10:28 PM.

  4. #504
    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:	31 
Size:	21.6 KB 
ID:	20859
    Attached Images Attached Images  
    Last edited by BigB; 11 Jan 2025 at 12:10 AM.

  5. #505
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    125
    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:	31 
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

  6. #506
    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

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

  8. #508
    Join Date
    May 2010
    Location
    Texas
    Posts
    491
    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:	33 
Size:	41.6 KB 
ID:	20860

  9. #509
    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

  10. #510
    Join Date
    May 2010
    Location
    Texas
    Posts
    491
    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

 

 
Page 51 of 58 FirstFirst ... 414950515253 ... 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