Page 1 of 2 12 LastLast
Results 1 to 10 of 821

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

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

    Quote Originally Posted by GerriM View Post
    A Question: Is there any way to confirm that token has been refreshed (no indicator that I can find in ZC Admin/Square dashboard)? I've set our ISP cPanel to receive an email "every time it runs a command which produces output". So...if there's no email generated and no error log, does that mean I can safely assume the cron job has run - and that no email is normal?
    To get descriptive output for debugging, you can TEMPORARILY edit square_handler.php and change line 11, which says:
    Code:
    $verbose = false;
    and change false to true.
    NOTE that this may prevent normal transactions from operating properly until you put it back to false.

    With $verbose=true, it will give output with one of:
    not configured = module doesn't have an Application ID set
    failure = token expired more than 15 days ago, or no token available to refresh
    refreshed = the job refreshed the token
    not refreshed = a refresh was attempted, but did not complete properly
    not expired = a token exists but it is younger than 3 weeks old, so no need to refresh
    .

    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.

  2. #2
    Join Date
    Jan 2018
    Posts
    146
    Plugin Contributions
    0

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

    Starting using Square and it seems as if its working, just one question. Is there anyway to fix this or edit the layout of it? Thanks
    Click image for larger version. 

Name:	Screenshot_127.png 
Views:	67 
Size:	13.4 KB 
ID:	18062

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

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

    Quote Originally Posted by JakeLawless View Post
    Starting using Square and it seems as if its working, just one question. Is there anyway to fix this or edit the layout of it? Thanks
    Click image for larger version. 

Name:	Screenshot_127.png 
Views:	67 
Size:	13.4 KB 
ID:	18062
    That seems like a CSS issue with your template. Do you get the same display issue if you enable Authorizenet-AIM module? Which template are you using?
    .

    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.

  4. #4
    Join Date
    Jan 2018
    Posts
    146
    Plugin Contributions
    0

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

    Thanks for quick reply. There's no issue when using Authorizenet-AIM. The template im using is a TemplateMonster template called 'Spare Parts Zen Cart'

    This is how it looks with Authorizenet-AIM:
    Click image for larger version. 

Name:	Screenshot_128.jpg 
Views:	60 
Size:	13.0 KB 
ID:	18063

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

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

    Ya, it's the same issue. Notice how there's no "break" between fields in the AIM module, just like in the Square module?
    It's a typical Template-Monster deficiency to be missing correct styling for features they didn't implement/test in their demo (payment modules are often left out).
    You'll need to do a bit of CSS styling to tweak things for your template.
    .

    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.

  6. #6
    Join Date
    Jan 2018
    Posts
    146
    Plugin Contributions
    0

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

    Where would i start to fix this? And what would i do?

    Thanks

  7. #7
    Join Date
    Jan 2015
    Location
    USA
    Posts
    12
    Plugin Contributions
    0

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

    I am using Zen 1.5.4
    I can not get rid of the Square (Access Token needed)

    I followed all the suggestions. Can anyone take a look?

    Got these errors
    ERROR: module not loaded due to missing language file: /home/cps/public_html/catalog/includes/languages/english/modules/payment/ZenCartChargeRequest.php
    ERROR: module not loaded due to missing language file: /home/cps/public_html/catalog/includes/languages/english/modules/payment/square_admin_notification.php

    Those 2 files aren't in the download

  8. #8
    Join Date
    Jul 2013
    Location
    Brisbane, Australia
    Posts
    39
    Plugin Contributions
    0

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

    Quote Originally Posted by DrByte View Post
    To get descriptive output for debugging, you can TEMPORARILY edit square_handler.php and change line 11, which says:
    Code:
    $verbose = false;
    and change false to true.
    NOTE that this may prevent normal transactions from operating properly until you put it back to false.

    With $verbose=true, it will give output with one of:
    not configured = module doesn't have an Application ID set
    failure = token expired more than 15 days ago, or no token available to refresh
    refreshed = the job refreshed the token
    not refreshed = a refresh was attempted, but did not complete properly
    not expired = a token exists but it is younger than 3 weeks old, so no need to refresh
    Thanks for that info and your other replies, Dr Byte. Apologies for my delayed reply: I've been away.

    Changing line 11 unfortunately resulted no output produced (i.e. no error log or email received).

    So I experimented further. By adding simple echo requests at different points in the square_handler.php file I found that it did produce output - but only when added BEFORE the 2 'require....' statements at lines 12 & 13 (i.e. I gather output was produced in the header). After that point, no output was produced.

    To be clear, my amended code from line 11:
    $verbose = true; //GM Changed from false for testing
    echo $verbose . ' ' . $mode . ' ' . '- results when echo placed BEFORE require statements'; //GM Line added for testing
    require 'includes/application_top.php';
    require DIR_WS_CLASSES . 'payment.php';
    echo $verbose . ' ' . $mode . ' ' . '- results when echo placed after require statements'; //GM Line added for testing
    produced this output in the email and no error log:

    1 cli - results when echo placed BEFORE require statements
    Despite more experimenting, I couldn't work out why output didn't include the messages you cited nor the later echo statements - and more importantly, whether this meant the cron job did not successfully complete its task to refresh the token. Any ideas? Thanks.

  9. #9
    Join Date
    Jan 2018
    Posts
    146
    Plugin Contributions
    0

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

    Anyone know this is for UK banks, cant find the RBS Routing number?

    Click image for larger version. 

Name:	Screenshot_129.jpg 
Views:	446 
Size:	14.6 KB 
ID:	18066

  10. #10
    Join Date
    Jan 2018
    Posts
    146
    Plugin Contributions
    0

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

    Getting this error when testing the module

    "YOUR TRANSACTION COULD NOT BE COMPLETED DUE TO A MISCONFIGURATION IN OUR STORE. PLEASE REPORT THIS ERROR TO THE STORE OWNER: SQ-MISCONF"

    Any idea why?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. WordPress® for Zen Cart® (wp4zen) [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 109
    Last Post: 1 Dec 2024, 01:36 PM
  2. Bambora/Beanstream Payment Module Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 127
    Last Post: 26 Mar 2021, 04:13 PM
  3. 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
  4. Layaway Payment Module Support Thread
    By Danielle in forum Addon Payment Modules
    Replies: 0
    Last Post: 21 Nov 2006, 06:43 AM

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