Closed (fixed)
Project:
Commerce Square Connect
Version:
7.x-1.0-beta6
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2017 at 11:56 UTC
Updated:
24 Oct 2017 at 17:45 UTC
Jump to comment: Most recent
Comments
Comment #2
mglamanDid you install the SDK as detailed? Review your site status to see if it's reported as installed.
Sorry for delay, we were off at DrupalCon Vienna.
Comment #3
lonehorseend commentedNo problem.
Yes. It's under /sites/all/libraries/square and /admin/reports/libraries is recognizing that it's there. I forgot to rename the directory to square until after I connected Drupal and Square together.
Comment #4
mglamanIs it working, then? If so we can close the issue. Let me know!
Comment #5
lonehorseend commentedThe connection is there, yes, but the payment rule errors out.
When I go to /admin/commerce/config/payment-methods/manage/commerce_payment_commerce_square/edit/3 to select what I need (after activating the rule) I get: site is currently unable to handle this request. HTTP ERROR 500
Drupal log doesn't show anything. Server log show this:
[09-Oct-2017 15:06:36 America/Los_Angeles] PHP Fatal error: Class 'SquareConnect\Configuration' not found in /sites/all/modules/commerce_square/commerce_square.module on line 133
Comment #6
DevJoshLopez commentedtry turning off cache.
Comment #7
mglamanlonehorseend, thanks for reply.
And yes, as DevJoshLopez said can you report back if page cache is enabled? Worked with him and that was an issue when trying to load checkout form. So confused about that. I have not yet had time to try and reproduce that (cache was disabled in local environment.)
Comment #8
lonehorseend commentedI don't use any sort of caching other than Drupal's native caching and flushing it is the first thing I usually do when there is a problem. Sometimes I'll even go so far as doing it from the DB side to make sure.
However, just to make sure... I just flushed the cache before, reactivated the payment rule, and flushed the cache after, It seemed to have worked.
Thank you! :)