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!
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | v2_4_after.png | 40.46 KB | mglaman |
| #6 | the_sdk_is_only-2913966-6.patch | 1.1 KB | mglaman |
Comments
Comment #2
DevJoshLopez commentedim 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.
Comment #3
DevJoshLopez commentedDid you get this working WattDesigns?
Comment #4
mglamanWhether 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.
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.
Comment #5
mglamanAlso: 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.
Comment #6
mglamanHere 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.
Comment #7
mglamanBefore

After
Comment #9
mglamanThanks for reporting. Pushed fixed to dev release.
Comment #10
wattdesigns commentedThanks 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.
Comment #11
wattdesigns commentedMy screen now matches your picture. Sweet! Thanks!