For those wanting to stay with earlier PHPs or with 1.5.5 and earlier, here's a new item for your store.
Attachment 19938
For those wanting to stay with earlier PHPs or with 1.5.5 and earlier, here's a new item for your store.
Attachment 19938
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
the issue that @nick1973 is having is definite jquery related and/or OPC related.
he either does not have the checkout_one file i mentioned above or he is having a problem with this part of the code (from for_upload/includes/modules/pages/checkout_payment/jscript_square_webPay.php):
i do not know what version of OPC he is running nor jquery; but if the first div with an id of #checkoutOneSubmit is not there, he will have a problem.Code:if (document.querySelector("#checkoutOneSubmit")) { formButton = document.querySelector("#checkoutOneSubmit"); } else { formButton = document.querySelector("#paymentSubmit"); }
i was thinking about adding some console information in the event of problems right here. it has been on my mind of late.
and while i have TOTAL respect for drByte and lat9 for their contributions to this project as well as their troubleshooting abilities, i am perfectly able to provide support on a plugin that i developed and of which i am the most intimately familiar.
best.
Before I upload the files I wanted to check something. There are a total of 1656 files. Should all of these be uploaded?
I wasn't sure if they are needed or were files used during the development phase? There seems to be a lot of examples and GitHub files.
Apologies if this is a silly question but easier to ask before I upload.
Thank you for all your hard work on this module! Cake will be on its way once I'm done![]()
All the files in the "for_upload" directory need to be uploaded to your site. The "How to Install" says that. I don't consider the includes/modules/pages/checkout_one/jscript_square_WebPay,php to be "extra".
I look at it as something that should have been included in the original Square mod rather than instructions saying to add the file IF you used OPC. Having it part of the mod will keep a lot of folks from making the mistake of not including this file when they start using OPC.
Not mentioned is the need to change the redirect URL at Square.
I put a method that i use in the second post. This method will have your site down for the least amount of time and get the steps at Square AND your site taken care of safely.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
hey brent
i really did not look at exactly what’s used/not used in the SDK. in the original square mod, all of those files are in the standard ZC vendors directory. i don’t think they take up that much space. perhaps at some point i could look at thinning those out.
the docs directory on the zip are not needed and just part of my instruction page.
and i learned that my US venmo does not work in the uk. but i am working on developing a different platform for international. who knows. maybe it will turn into another ZC payment module.
let me know if u run into any other issues.
best.
@dbltoe I did read your helpful post and that is what I was following after reading the instructions that came with the download. I wasn't really referring to the OPC. I don't use it so had removed that.
@carlwhat these are examples of the files I'm referring to. In the jsonmapper folder you have an example folder. Assume all the GitHub references can go?
In the square folder you have already said the doc folder can go. Is example-autoload.php used?
I'm not being difficult and this isn't about space. I can't code so whatever I upload becomes another orphan that needs investigating when I do file comparisons on upgrading. The cleaner I keep my store and the less I change the easier my life is down the road.
Once you have sorted out a payment option for the UK just post here and I will oblige.
brent,
you are not being difficult. i do not recommend doing it the way you are doing it; but i would not call you being difficult.
on upgrading, i see wholesale replacement of this folder. as it is a plugin, i think the upgrade process is different than when upgrading the base zc scripts.
but it is not really for me to say what process works best for any individual. we all have our own way of doing things.
as i have no plans to support this way of doing things, i will PM you what files i think can be safely deleted.
best.
It's fine. If they should be there I will upload as is. I just wasn't sure if you'd left development files.
Thanks for the quick responses![]()
@simon1066
i have re-established a relationship with paypal. hopefully it will last.
thanks again for your support. hopefully it works in the UK:
https://paypal.me/mXworks
best.
Bookmarks