I'm having two troubles installing Commerce Square. The first one is setting up an SSL to get the oauth setting to clear. I'm still working on that part and just wanted to include it in case it was relevant (which I don't think it is to this specific question). PS, I thought you could use Square like Paypal and send the transaction off-site to eliminate the need for an SSL.

My question here is...when I install the square connect module, I get an error on the status report saying that I need to install the SDK and a link to get it. I've downloaded those files, renamed the folder, and included it with my Libraries as instructed.

Now I get a NEW error. It says "The SDK is only supported for v2.0.x." v2.0.x of WHAT???? I've tried various versions of the SDK and checked that all my modules are up to date. Still nothing.

Any ideas???? I'm guessing that the v2.0.x is referencing Drupal Commerce 2.0, but that's not available on Drupal 7 yet.

Any ideas???

Thanks guys and gals!

Comments

WattDesigns created an issue. See original summary.

DevJoshLopez’s picture

im getting the same thing WattDesigns. I also put an issue post. I think ours are related but i dont know how to link the 2.

DevJoshLopez’s picture

Did you get this working WattDesigns?

mglaman’s picture

I'm having two troubles installing Commerce Square. The first one is setting up an SSL to get the oauth setting to clear. I'm still working on that part and just wanted to include it in case it was relevant (which I don't think it is to this specific question). PS, I thought you could use Square like Paypal and send the transaction off-site to eliminate the need for an SSL.

Whether it's off-site or not, you should have an SSL. Look into CloudFlare's free tier to get a free SSL. Or your hosting platform.

Now I get a NEW error. It says "The SDK is only supported for v2.0.x." v2.0.x of WHAT???? I've tried various versions of the SDK and checked that all my modules are up to date. Still nothing.

I'll review this constraint. We made notice that "the module has been testing with XXX version of the SDK". Minor releases can mean breaking changes.

mglaman’s picture

Also: We'll probably remove that check. Drupal 7 support for working with third party libraries is difficult. We tried to make it a little simpler and easier to denote known working versions. I guess that backfired a bit.

mglaman’s picture

Status: Active » Needs review
StatusFileSize
new1.1 KB

Here is a patch to only restrict to the major version. I'll work with Square to get announcements of upcoming SDK releases so we can test and review changes.

mglaman’s picture

Issue summary: View changes
StatusFileSize
new40.46 KB

Before
Only local images are allowed.

After

  • mglaman committed 9257eaa on 7.x-1.x
    Issue #2913966 by mglaman, DevJoshLopez, WattDesigns: The SDK is only...
mglaman’s picture

Status: Needs review » Fixed

Thanks for reporting. Pushed fixed to dev release.

wattdesigns’s picture

Thanks so much!!!! This will be a big help!!!

FYI, I did get the SSL issue resolved, so that's all good as well. Hopefully everything is lined out now and will work like a charm.

wattdesigns’s picture

My screen now matches your picture. Sweet! Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.