Page 60 of 60 FirstFirst ... 1050585960
Results 591 to 600 of 600
  1. #591
    Join Date
    Aug 2005
    Location
    Trujillo Alto, Puerto Rico
    Posts
    1,547
    Plugin Contributions
    9

    Default Re: Stripe.com payment integration module

    Quote Originally Posted by flappingfish View Post
    With the heavy customisation and big bills i was given to do them i made use of chatgpt to do alot of the heavy work
    That's how I've been working and ironing all the issues in this update. What you gave is the same I got here, I added those and now it's suggesting to not have 2 submit buttons and to eliminate the ZC one, which I don't want to, I'm going to read a post that I saw talking about this. I'll continue with tests and will report.

    @CarlWhat, I thought so too and checked before, it doesn't seem to be that but I will have it in my mind while I continue working with it.

    So I guess, no one is using it with OPC?
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!

  2. #592
    Join Date
    Nov 2020
    Posts
    290
    Plugin Contributions
    1

    Default Re: Stripe.com payment integration module

    So you have OPC working now but have 2 confirm buttons? Perhaps wrap the zen one in a conditional statement so it does not appear if stripe is active??

    If i had OPC myself I'd have most likely known of and resolved the issue but I'd break my site adding opc I think 🙃

    For my customisations it relies on 3 step checkout, step 1 is normal, step 2 had a "physical ticket" option if one of the items is a ticket. Step 3 loads like usual but if customer has ticket and selected physical ticket it adds calculations before step 3 where we see the payment form for the ticket surcharge. I think I would be faced with fatal errors and white screen of death if I tried OPC without further customisations

  3. #593
    Join Date
    Aug 2005
    Location
    Trujillo Alto, Puerto Rico
    Posts
    1,547
    Plugin Contributions
    9

    Default Re: Stripe.com payment integration module

    Quote Originally Posted by flappingfish View Post
    So you have OPC working now but have 2 confirm buttons? Perhaps wrap the zen one in a conditional statement so it does not appear if stripe is active??

    If i had OPC myself I'd have most likely known of and resolved the issue but I'd break my site adding opc I think ��

    For my customisations it relies on 3 step checkout, step 1 is normal, step 2 had a "physical ticket" option if one of the items is a ticket. Step 3 loads like usual but if customer has ticket and selected physical ticket it adds calculations before step 3 where we see the payment form for the ticket surcharge. I think I would be faced with fatal errors and white screen of death if I tried OPC without further customisations
    No, it never worked, that's what ChatGPT said.

    I got it working on default checkout but trying to make it work on OPC, I made a doodoo and now it's not working at all. I guess I will have to start all over again.

    What I noticed (and I might be wrong) is that the form is not appearing on OPC maybe because it's not being inserted in tpl_modules_opc_payment_choices.php, nor credit_selections, so maybe that's why it's not working with OPC.
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!

  4. #594
    Join Date
    Aug 2005
    Location
    Trujillo Alto, Puerto Rico
    Posts
    1,547
    Plugin Contributions
    9

    Default Re: Stripe payment module - Duplicate charges, no order

    @Gozzandes (or anyone that made it work and wants to help)

    Please, when you get a chance, I need help with this module.

    I have installed 3 versions, the latest being 2.1.9, and I'm still without the cc form. It doesn't work at all in any of the 2 ways (default or OPC). I've been 3 days with this and not getting anywhere

    Right now, there are no errors, but OPC hangs there without throwing errors when I stop.

    I got it working with a mix of 2.1.4 and 2.1.8, but only for default checkout but trying to make it work with OPC I messed something up and don't know which files are which. I can check my references but there were so many changes that I decided to start all over again with the latest version. Also, there are so many changes and editions in this thread that it's difficult to follow.

    Thanks in advance.
    Last edited by ideasgirl; 14 May 2025 at 09:01 PM. Reason: adding info
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!

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

    Default Re: Stripe payment module - Duplicate charges, no order

    In Zen Cart's Stripe payment integration module, the CC form is embedded in tpl_checkout_confirmation_default.php.
    Therefore, it must be placed inside the correct folder:
    includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_confirmation_default.php
    If this file is missing or incorrectly placed, the credit card input form will not appear during checkout.
    Alternatively, if you delete includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_confirmation_default.php,
    Zen Cart will automatically fall back to the default template, which might resolve the issue.
    To troubleshoot further:
    - Ensure the correct file exists in the right directory.
    - Try using the default template by deleting the custom one.
    - Check for JavaScript errors or missing Stripe scripts in the browser console.
    - Clear the cache (both Zen Cart and browser) to ensure changes take effect.
    I just noticed your post now. I’ve been busy with rice planting for the past month and haven’t been able to check. I’m really sorry about that!
    This should help clarify things! Let me know if you'd like any refinements.
    You're really getting to the bottom of this issue!

    This should capture everything you wanted! Let me know if you'd like any tweaks.
    Hope the rice planting went well—sounds like a busy month!

  6. #596
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    130
    Plugin Contributions
    2

    Default Re: Stripe payment module - Duplicate charges, no order

    To ensure the correct template is used in Zen Cart's Stripe payment integration module, follow these steps:
    - Check your active template:
    - Go to Admin => Tools => Template Selection to find out which template is currently in use.
    - For example, let's say your active template is "flowers".
    - Place the necessary files in the correct directory:
    - Move all files from includes/templates/YOUR_TEMPLATE/ into includes/templates/flowers/templates/.
    - This ensures that the checkout confirmation page correctly loads the Stripe CC form.
    - Alternative method:
    - If you want to use the default template instead, delete includes/templates/flowers/templates/tpl_checkout_confirmation_default.php.
    - When this file is removed, Zen Cart will automatically fall back to the default template located at:
    includes/templates/default_template/tpl_checkout_confirmation_default.php.

  7. #597
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    130
    Plugin Contributions
    2

    Default Re: Stripe payment module - Duplicate charges, no order

    To ensure the correct template is used in Zen Cart's Stripe payment integration module, follow these steps:
    - Check your active template:
    - Go to Admin => Tools => Template Selection to find out which template is currently in use.
    - For example, let's say your active template is "flowers".
    - Place the necessary files in the correct directory:
    - Move all files from includes/templates/YOUR_TEMPLATE/ into includes/templates/flowers/templates/.
    - This ensures that the checkout confirmation page correctly loads the Stripe CC form.
    - Alternative method:
    - If you want to use the default template instead, delete includes/templates/flowers/templates/tpl_checkout_confirmation_default.php.
    - When this file is removed, Zen Cart will automatically fall back to the default template located at:
    includes/templates/default_template/tpl_checkout_confirmation_default.php.

  8. #598
    Join Date
    Aug 2005
    Location
    Trujillo Alto, Puerto Rico
    Posts
    1,547
    Plugin Contributions
    9

    Default Re: Stripe payment module - Duplicate charges, no order

    Quote Originally Posted by Gozzandes View Post
    To ensure the correct template is used in Zen Cart's Stripe payment integration module, follow these steps:
    ....
    I have done all that troubleshooting, and the form didn't appear in any of the templates. Even uploading the files to those templates' custom folders. The form doesn't appear on checkout. Right now, I'm not sure if the testing was going through or not at the end, but for sure, I couldn't enter the testing numbers; it just went through without form, the times it did.

    I stopped the day of that post. I'll check if this coming weekend I can work on it again.
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!

  9. #599
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    130
    Plugin Contributions
    2

    Default Re: Stripe payment module - Duplicate charges, no order

    ### **Stripe Module Process Flow in Zen Cart**

    1. **Stripe API Key Loading**
    - The system loads the **Live Key** and **Secret Key** from the Zen Cart admin settings.
    - Without these keys, the Stripe module cannot generate the **Client Secret**, and the payment form will not appear.

    2. **Price Validation**
    - The module verifies the minimum transaction amount required by Stripe.
    - For USD, the minimum amount is **$5** (this value may vary depending on currency and Stripe settings).

    3. **Generating Client Secret**
    - Once the Stripe keys are verified, the module uses the **Secret Key** to request a **Client Secret** from Stripe’s API.
    - This Client Secret is essential for processing payments securely.

    4. **Checkout.js Receives the Client Secret**
    - The **checkout.js** script takes the Client Secret and initializes Stripe’s payment form.
    - The payment form is dynamically injected into `tpl_checkout_confirmation_default.php`.
    - If the form does not appear, possible issues include missing API keys, JavaScript errors, or conflicts with OPC (One Page Checkout).

    ### **Ensuring the Correct Template is Used**

    To properly integrate Stripe's payment form, follow these steps:

    1. **Check your active template:**
    - Go to `Admin => Tools => Template Selection` to find out which template is currently in use.
    - For example, let's say your active template is **"flowers"**.

    2. **Place the necessary files in the correct directory:**
    - Move all files from `includes/templates/YOUR_TEMPLATE/` into `includes/templates/flowers/templates/`.
    - This ensures that the checkout confirmation page correctly loads the Stripe CC form.

    3. **Alternative method:**
    - If you want to use the default template instead, delete `includes/templates/flowers/templates/tpl_checkout_confirmation_default.php`.
    - When this file is removed, Zen Cart will automatically **fall back to the default template** located at:
    `includes/templates/default_template/tpl_checkout_confirmation_default.php`.

    ### **Debugging and Troubleshooting**

    1. **Check PHP Error Logs**
    - Zen Cart logs system errors, so reviewing the logs (`/logs/` directory) can provide insights into potential problems.

    2. **Use Browser Developer Tools**
    - Open the developer console (`F12`) and check for JavaScript errors related to Stripe.
    - If the Stripe scripts aren’t loading properly, the payment form won’t appear.

    3. **Verify Stripe API Settings**
    - Ensure that the **Live Key** and **Secret Key** are correctly set in the admin panel.
    - Without these, the system cannot generate the **Client Secret**, which is needed to display the payment form.

    4. **Confirm Test Mode Behavior**
    - If the transaction is processing **without entering card details**, it could indicate an issue with test mode or a missing Client Secret.
    - Check if Stripe’s dashboard logs any transaction details to confirm whether payments are actually being processed.

  10. #600
    Join Date
    Jul 2021
    Location
    Fukuoka Japan
    Posts
    130
    Plugin Contributions
    2

    Default Re: Stripe payment module - Duplicate charges, no order

    When using the Stripe module with OPC, go to the Admin page => One-Page Checkout Settings => Payment Methods Requiring Confirmation, then push the edit button. Rewrite eway_rapid,stripepay,gps to eway_rapid,stripe,gps.

 

 
Page 60 of 60 FirstFirst ... 1050585960

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