Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 40
  1. #21
    Join Date
    Aug 2009
    Posts
    45
    Plugin Contributions
    0

    Default Re: The end of Zen Cart in Europe? SCA kills payments

    Thanks, I'll try them out tomorrow and let you know how it goes!
    20th Century Glass - Antique & Collectable Glass Store

  2. #22
    Join Date
    Apr 2009
    Posts
    417
    Plugin Contributions
    2

    Default Re: The end of Zen Cart in Europe? SCA kills payments

    Think I have found the error. I had a comma instead of a dot in the square.php which means that the token was not being set as it should be.
    Try downloading the latest square.php or change line 217 from
    '<input type="hidden" id="card-exp" name="' . $this->code . '_cc_exp">',
    to
    '<input type="hidden" id="card-exp" name="' . $this->code . '_cc_exp">'.

    sorry about that.
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

  3. #23
    Join Date
    Aug 2009
    Posts
    45
    Plugin Contributions
    0

    Default Re: The end of Zen Cart in Europe? SCA kills payments

    Thanks so much! That seems to have fixed it. I didn't get an SCA challenge this time, but I guess that is random and is up to the bank. I'll keep it running on my site and let you know if any problems occur.
    20th Century Glass - Antique & Collectable Glass Store

  4. #24
    Join Date
    Sep 2006
    Posts
    163
    Plugin Contributions
    1

    Default Re: The end of Zen Cart in Europe? SCA kills payments

    That change stopped the payment modules page in the admin from loading when it reached the Square row.

    I tried taking the comma out without adding a period (which looked like the right fix to me) and the admin page loads again, but still clicking Next after entering card details does nothing.

    There are no errors in the logs directory. Should there be?

  5. #25
    Join Date
    Sep 2006
    Posts
    163
    Plugin Contributions
    1

    Default Re: The end of Zen Cart in Europe? SCA kills payments

    No, the timed out payments were simply that Paypal failed to respond, even after seconds of waiting.

    Some customers phoned to pay by card over the phone and the payments went through OK, so there was nothing wrong with the customer or the card, just the PayPal system being overloaded.

    Of course, PayPal denied there was a problem, as usual for payment providers.

    And payment attempts made out of business hours just plain failed

  6. #26
    Join Date
    Sep 2006
    Posts
    163
    Plugin Contributions
    1

    Default Re: The end of Zen Cart in Europe? SCA kills payments

    After "fixing" the problem of the comma by removing the comma I get as far as the entering card details, but no further.

    So I took the entire zip file which seems to have a ZC1.5.8 installation. I installed it as a clean install, added the UK zone, tax zone, VAT tax rate. Added a test item. Set the Square payment module up (successfully) and it all seems OK.

    But still when I've entered the card details and click Continue, nothing happens.

    Any suggestions?

  7. #27
    Join Date
    Apr 2009
    Posts
    417
    Plugin Contributions
    2

    Default Re: The end of Zen Cart in Europe? SCA kills payments

    @hairydog,
    Sorry confused.

    the correct code is in my git hub https://github.com/brittainmark/zenc...SCA_Compliance and should not need modifying.

    I beleive that @WayneStephens has this working.

    If you took the download from https://inner-light.co.uk/square.zip this is the original version and should not need modification.

    One issue seems to be that the Java script can cache.

    For info the lines 212 - 219 of square.php should be
    Code:
                    array(
                        'title' => '',
                        'field' => '<input type="hidden" id="card-nonce" name="nonce">' .
                            '<input type="hidden" id="card-type" name="' . $this->code . '_cc_type">' .
                            '<input type="hidden" id="card-four" name="' . $this->code . '_cc_four">' .
                            '<input type="hidden" id="card-exp" name="' . $this->code . '_cc_exp">'.
                            '<input type="hidden" id="token" name="' . $this->code . '_token">',
                    ),
    Last edited by brittainmark; 20 Feb 2022 at 07:03 PM.
    Mark Brittain
    http:\\innerlightcrystals.co.uk\sales\

  8. #28
    Join Date
    Sep 2006
    Posts
    163
    Plugin Contributions
    1

    Default Re: The end of Zen Cart in Europe? SCA kills payments

    The zip file I used is zencart-Square_SCA_Compliance.zip which I downloaded from your Github
    The API I was using was 2020-08-12 I think. I've just updated to the latest version, but that seems to have made no difference.
    Good point about javascript cache. I just tried in a different browser. Still nothing happens when I click Continue after entering card details. And no log entries.
    Last edited by hairydog; 20 Feb 2022 at 08:01 PM.

  9. #29
    Join Date
    Sep 2006
    Posts
    163
    Plugin Contributions
    1

    Default Re: The end of Zen Cart in Europe? SCA kills payments

    Quote Originally Posted by brittainmark View Post
    Do you have locations defined on your square account?
    In zen cart in configuration table my MODULE_PAYMENT_SQUARE_LOCATION = Inner Light Crystals:[xxxxxxxxxxxxx]:GBP
    where xxxxxxxxxxxxx is the square location id of my online store.

    You can check your value using sql -
    Code:
    SELECT * FROM configuration WHERE configuration_key = MODULE_PAYMENT_SQUARE_LOCATION
    if you use a prefix you will need to add it e.g. configuration = zen_configuration
    Something odd here. That query returns no results, but I can see an entry in configuration that has the key
    MODULE_PAYMENT_SQUARE_LOCATION
    how does that differ from
    MODULE_PAYMENT_SQUARE_LOCATION
    ?


    I can't see a difference!

    MODULE_PAYMENT_SQUARE_LOCATION

  10. #30
    Join Date
    Sep 2006
    Posts
    163
    Plugin Contributions
    1

    Default Re: The end of Zen Cart in Europe? SCA kills payments

    Aha! I have managed to find the problem.

    I tried changing cookie settings, and it seems that setting both "Cookie Domain" and "Force Cookie Use" to true have made a difference.

    Now I get the SCA popup and everything! :)

    But it isn't working on the ZC1.5.6c live site.

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. v155 PSD2 Strong Customer Authentication (SCA) Cardinal Centinel payments service
    By veronicathecow in forum PayPal Website Payments Pro support
    Replies: 5
    Last Post: 7 May 2022, 05:00 PM
  2. v156 Square Payments - SCA update needed?
    By Heresy Miniatures in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 21 Feb 2022, 12:57 AM
  3. v157 General question about PayPal plugins and SCA/PSD2 Europe UK
    By ianhg in forum PayPal Express Checkout support
    Replies: 4
    Last Post: 13 May 2021, 12:09 PM
  4. Is there anyway to use just the back end of zen cart?
    By bentmusic in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Feb 2011, 05:28 PM
  5. Using zen cart with a flash front end
    By E Welsby in forum General Questions
    Replies: 1
    Last Post: 3 May 2007, 12:36 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