Page 4 of 75 FirstFirst ... 234561454 ... LastLast
Results 31 to 40 of 750
  1. #31
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Got a square question?

    I need to ether turn it off or feed it something when $_SESSION['free_virtual'] or freecharger is activated.

    ZC1.5.5e
    PHP7.1
    One-Page Checkout v1.4.0
    Square Payment v0.90
    COWAA v1.0
    and many modified


    Free and Virtual checkout with COWAA is only using name and email address for a free download.. one-page template is modified so only name, email, payment and cart is displayed, all other is bypassed.

    It works as expected with COD, COP, Money-order/check and PayPal standard active and shows as freecharger. If I turn Square on then the page errors and the button fails to submit.

    Error from WebConsol is:

    Code:
    Error: SqPaymentForm element with id `square_cc-number` not found. Has the DOM finished loading?
    See: https://docs.connect.squareup.com/articles/adding-payment-form/#generatingpaymentform  paymentform:1:5997
        [6]</n.prototype.buildIframeController https://js.squareup.com/v2/paymentform:1:5997
        [6]</n.prototype.buildIframeControllers https://js.squareup.com/v2/paymentform:1:5839
        [6]</n.prototype.build https://js.squareup.com/v2/paymentform:1:5640
        [8]</n.prototype.build https://js.squareup.com/v2/paymentform:1:14150
        bound  self-hosted:913:17
    setFormSubmitButton, payment-module: freecharger  
    Showing "confirm"  
    Setting orderConfirmed (0), submitter (null)  
    jQuery version: 3.2.1
    I'm thinking now it has more to do when freecharger is active..

    This is the error I get with a logged in user.

    Code:
    setFormSubmitButton, payment-module: freecharger  index.php:210:13
    Showing "confirm"  index.php:210:13
    Setting orderConfirmed (0), submitter (null)  index.php:210:13
    jQuery version: 3.2.1  index.php:210:13
    Error: SqPaymentForm element with id `square_cc-number` not found. Has the DOM finished loading?
    See: https://docs.connect.squareup.com/articles/adding-payment-form/#generatingpaymentform  paymentform:1:5997
        [6]</n.prototype.buildIframeController https://js.squareup.com/v2/paymentform:1:5997
        [6]</n.prototype.buildIframeControllers https://js.squareup.com/v2/paymentform:1:5839
        [6]</n.prototype.build https://js.squareup.com/v2/paymentform:1:5640
        [8]</n.prototype.build https://js.squareup.com/v2/paymentform:1:14150
        bound
    The only thing I haven't tried is to drop jQuery back to 1.12!

    with square turned off, not removed, this is what WebConsol has and submit works.
    Code:
    setFormSubmitButton, payment-module: freecharger  index.php:210:13
    Showing "confirm"  index.php:210:13
    Setting orderConfirmed (0), submitter (null)  index.php:210:13
    jQuery version: 3.2.1  index.php:210:13
    No error logs show up ether. The more I play with this, the more its looking like something is going on when Freecharger is active and Square is on.
    Dave
    Always forward thinking... Lost my mind!

  2. #32
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Is it only an issue when COWAA is in play?
    On my end, with Square and FreeCharger, checkout works fine, without COWAA or OPC.
    So, I suspect something to do with the HTML changes (different elements on the page, perhaps some unclosed HTML tags, or improperly nested form elements) that you've done when customizing your site. I don't think it has anything to do with the Square module's code or javascript.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #33
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,221
    Plugin Contributions
    1

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    I assume the Square sign-up link on https://www.zen-cart.com/content.php...s-for-Zen-Cart is an affiliate link. If it is do you happen to have one for the UK. That link gives no choice on the country that can be selected - only United States.

    (If I go to their site without your token then I can choose my country).

    Wanted to check so ZC can get the commission.

  4. #34
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Quote Originally Posted by simon1066 View Post
    I assume the Square sign-up link on https://www.zen-cart.com/content.php...s-for-Zen-Cart is an affiliate link. If it is do you happen to have one for the UK. That link gives no choice on the country that can be selected - only United States.

    (If I go to their site without your token then I can choose my country).

    Wanted to check so ZC can get the commission.
    Based on a signup I helped someone else with, I *think* if you "first" visit thru the referral link, it'll drop the necessary cookie, and if on the same page you just change the URL to remove the code so that it lets you choose your country, it'll still give the credit.

    My UK contact with more specific instructions, is currently on holiday. Go ahead with the signup.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #35
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,106
    Plugin Contributions
    11

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Tiny change to the readme instructions for Compatibility With Various Zen Cart Plugins
    Code:
    For One-Page Checkout to work, you must copy the jscript_square.php file from /includes/modules/checkout_payment/ into the /includes/modules/pages/checkout_one folder.
    should be
    Code:
    For One-Page Checkout to work, you must copy the jscript_square.php file from /includes/modules/pages/checkout_payment/ into the /includes/modules/pages/checkout_one folder.

  6. #36
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Thanks. Will include the correction in the next release.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #37
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,221
    Plugin Contributions
    1

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Quote Originally Posted by DrByte View Post
    Based on a signup I helped someone else with, I *think* if you "first" visit thru the referral link, it'll drop the necessary cookie, and if on the same page you just change the URL to remove the code so that it lets you choose your country, it'll still give the credit.

    My UK contact with more specific instructions, is currently on holiday. Go ahead with the signup.
    That's great, I'll try that.

  8. #38
    Join Date
    Apr 2009
    Posts
    60
    Plugin Contributions
    0

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    I am newbie to ZC. I have Square Payments for Zen Cart - Version: 0.82 installed. Do I follow the directions for newer version as if it was the first time I installed it?

  9. #39
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    Yes. Essentially just replace the files with the new ones.

  10. #40
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,106
    Plugin Contributions
    11

    Default Re: Square Payment Module for Zen Cart [Support Thread]

    A smooth step for me was to remove the payment method in the admin first. Seemed to hang without doing that.

 

 
Page 4 of 75 FirstFirst ... 234561454 ... LastLast

Similar Threads

  1. Bambora/Beanstream Payment Module Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 127
    Last Post: 26 Mar 2021, 04:13 PM
  2. v154 Support Thread: AddToAny for Zen Cart (The Universal Sharing Platform)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 8 Apr 2019, 02:39 PM
  3. WordPress® for Zen Cart® (wp4zen) [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 107
    Last Post: 13 Jan 2019, 12:32 PM
  4. Layaway Payment Module Support Thread
    By Danielle in forum Addon Payment Modules
    Replies: 0
    Last Post: 21 Nov 2006, 06:43 AM

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