Paul Posted September 1, 2017 Report Posted September 1, 2017 (edited) A new Square gateway (alpha) is available for testing. To install, download the attached , square.zip unzip and upload the "square" directory to ~/components/gateways/nonmerchant/ and visit Settings > Company > Payment Gateways to install and configure. Edited November 21, 2017 by Paul updated stripe.zip Abdy, bdacus01, activa and 1 other 4 Quote
Michael Posted September 18, 2017 Report Posted September 18, 2017 If people want help to configure it I've done a tutorial as I was a bit confused lolhttps://blesta.store/plugin/support_manager/knowledgebase/view/2/how-to-connect-blesta-to-square/8/ Paul and Abdy 1 1 Quote
Nelsa Posted September 19, 2017 Report Posted September 19, 2017 Is this gateway based on Square checkout or e-commerce API? Quote
Abdy Posted September 19, 2017 Report Posted September 19, 2017 12 minutes ago, Nelsa said: Is this gateway based on Square checkout or e-commerce API? Is a non-merchant gateway, is based on Square Checkout. Quote
Nelsa Posted September 19, 2017 Report Posted September 19, 2017 Well I tryed on 2 different blesta installation and payment button is missing on both installation 33 minutes ago, cyandark said: Is a non-merchant gateway, is based on Square Checkout. It doesn't metter it is non merchant...both 2checkout and Square have embeded and checkout payment solution and both work as non merchant..... Quote
Nelsa Posted September 20, 2017 Report Posted September 20, 2017 Here you can see how 2checkout non merchant gateway looks like with inline payment implemented...there is also one more way to do it...with payment API ,very similar just require 2co library and few lines of JS for token request....this is orginal blesta 2co gateway I had edited..have some where also one with payment API implemented..for payment API version there is more work to do since it is non 2co hosted and parameters are different but this inline method is 2co hosted and use same return processes....this real time currency converter I think can be removed and pass currency directly.Also if some param is missing or something goes wrong with inline method 2co will redirect user to old hosted checkout page,and it will happen if address,zip,city or state is missing..so these fields should be required.With payment API implemented form is not 2co hosted and it is even better since you are using your own form ...not this one 2co branded.Any way both API methods can be implemented as non merchant and form can be embeded at this same place and user must fill it every time before payment can be done,credit card is not stored anywhere and token is valid for 30 min. Blesta Addons 1 Quote
Michael Posted September 30, 2017 Report Posted September 30, 2017 On 20/09/2017 at 2:07 AM, Nelsa said: The reason square doesn't show up is because of the currency. If you are in the USA you can only accept USD payments, in the UK i'm on the Square UK account thing so I can only accept GBP payments. Quote
Nelsa Posted September 30, 2017 Report Posted September 30, 2017 1 hour ago, BlestaStore said: The reason square doesn't show up is because of the currency. If you are in the USA you can only accept USD payments, in the UK i'm on the Square UK account thing so I can only accept GBP payments. That is screen shot of 2 checkout gateway with inline payment implemented,as you see in left corner there is checkout button and when you click on it credit card form will pop up(shown on 1st and 2nd image),and when it comes to square..yes I figure out that payment button is missing if something is not configured as it shoud be...in my case country is not supported...and it is kind their fault why user have to spent hours to find reason...I signed up and I verify my account..they even show my local currency,and also put my local currency on invoice and auto currency converter....accepted bank account...account status is ready...and than I find out country is not supported...for god sake why not than put account status as non supported..or something..or put any kind of flag...why allow user to sign up ,set country and configure account..and they even auto-apply currency when you sign up....than I visited documentation page and look in to list of supported countries...bang.After that I set test API and it worked...:) Michael 1 Quote
Michael Posted September 30, 2017 Report Posted September 30, 2017 14 minutes ago, Nelsa said: That is screen shot of 2 checkout gateway with inline payment implemented,as you see in left corner there is checkout button and when you click on it credit card form will pop up(shown on 1st and 2nd image),and when it comes to square..yes I figure out that payment button is missing if something is not configured as it shoud be...in my case country is not supported...and it is kind their fault why user have to spent hours to find reason...I signed up and I verify my account..they even show my local currency,and also put my local currency on invoice and auto currency converter....accepted bank account...account status is ready...and than I find out country is not supported...for god sake why not than put account status as non supported..or something..or put any kind of flag...why allow user to sign up ,set country and configure account..and they even auto-apply currency when you sign up....than I visited documentation page and look in to list of supported countries...bang.After that I set test API and it worked...:) I agree, I thought I could accept all currencies just paid out in GBP not the case. Have you looked at a remote office? Abdy 1 Quote
skillednerd Posted October 15, 2017 Report Posted October 15, 2017 Yes when I try it works and like charges but like never updates to blesta it never shows the invoice as paid is there something I am doing wrong? thanks Quote
MistaGrk Posted November 18, 2017 Report Posted November 18, 2017 On 9/18/2017 at 6:46 AM, BlestaStore said: If people want help to configure it I've done a tutorial as I was a bit confused lolhttps://blesta.store/plugin/support_manager/knowledgebase/view/2/how-to-connect-blesta-to-square/8/ Hey! I've been following your work for a while now and I have to say, you're great. Having followed your tutorial, I've set it all up - BUT I am getting an error after I submit payment (see screenshots below) - any help is appreciated: I place an order: It then kicks me to pay with Square... SIDE-NOTE QUESTION: How can I remove the shipping section? I don't ship anything to customers - our services are all digital... I don't need this page, just CC info and Pay, would be nice. Any help on this is appreciated. Upon submission of the info, I get this error: Any help is appreciated Quote
Michael Posted November 19, 2017 Report Posted November 19, 2017 Hi mate is your currency USD and your package price in USD? Also did you import from another software if not then it's the module so we can narrow the issue down? Quote
MistaGrk Posted November 19, 2017 Report Posted November 19, 2017 7 hours ago, BlestaStore said: Hi mate is your currency USD and your package price in USD? Also did you import from another software if not then it's the module so we can narrow the issue down? Howdie. Thanks for the reply. Package set in CAD. Square Gateway set in CAD only, as well. My URL used to be different where Blesta was originally installed. The domain has remained the same but instead of www.domainname.com/blesta, it's now blesta.domainname.com... BUT, I recently installed Square gateway. I never had this module in the original URL. Hope that helps. Let me know what else you'd like to know, I would like this resolved ASAP as my company is live and taking payments. Quote
Michael Posted November 19, 2017 Report Posted November 19, 2017 1 minute ago, MistaGrk said: Howdie. Thanks for the reply. Package set in CAD. Square Gateway set in CAD only, as well. My URL used to be different where Blesta was originally installed. The domain has remained the same but instead of www.domainname.com/blesta, it's now blesta.domainname.com... BUT, I recently installed Square gateway. I never had this module in the original URL. Hope that helps. Let me know what else you'd like to know, I would like this resolved ASAP as my company is live and taking payments. hopefully I can get Mike to look into this for you but Paul and the team will be back on Monday it looks like you've got it to call home and it's not sending the currency back to Blesta. Quote
MistaGrk Posted November 19, 2017 Report Posted November 19, 2017 2 minutes ago, BlestaStore said: hopefully I can get Mike to look into this for you but Paul and the team will be back on Monday it looks like you've got it to call home and it's not sending the currency back to Blesta. Okay, sounds good. As a side note mate, Do I need to setup a webhook on Square? I must add that I am using Version 3.6.1, we are very comfortable with this version and it works flawlessly - with that said, we wish to stay on this version as we've had issues upgrading and losing data in the past. Our blesta configuration is complex, so we're happy with the version used (until it's actually time to upgrade). Quote
Michael Posted November 19, 2017 Report Posted November 19, 2017 13 minutes ago, MistaGrk said: Okay, sounds good. As a side note mate, Do I need to setup a webhook on Square? I must add that I am using Version 3.6.1, we are very comfortable with this version and it works flawlessly - with that said, we wish to stay on this version as we've had issues upgrading and losing data in the past. Our blesta configuration is complex, so we're happy with the version used (until it's actually time to upgrade). I don't think so, I haven't had a client order with square yet as only new customers / non usa customers have GBP and they all use PayPal. Quote
MistaGrk Posted November 19, 2017 Report Posted November 19, 2017 2 minutes ago, BlestaStore said: I don't think so, I haven't had a client order with square yet as only new customers / non usa customers have GBP and they all use PayPal. Ok, keep me posted on any help for today. Cheers mate. Quote
Blesta Addons Posted November 19, 2017 Report Posted November 19, 2017 the error come from empty currency data, i don't think the gateway is not returning the currency used . but what i think the Blesta gateway is not able or it has a wrong currency post field . so i think is Blesta gateway error , this is not a big issue so is easily resolved . Quote
MistaGrk Posted November 19, 2017 Report Posted November 19, 2017 1 minute ago, Blesta Addons said: the error come from empty currency data, i don't think the gateway is not returning the currency used . but what i think the Blesta gateway is not able or it has a wrong currency post field . so i think is Blesta gateway error , this is not a big issue so is easily resolved . I am happy to read that, but how can I fix it? Or where do I begin to look? Quote
Abdy Posted November 20, 2017 Report Posted November 20, 2017 8 hours ago, MistaGrk said: I am happy to read that, but how can I fix it? Or where do I begin to look? Send me a PM with the Logs of the gateway, I will check if I can help you. Quote
MistaGrk Posted November 20, 2017 Report Posted November 20, 2017 1 hour ago, cyandark said: Send me a PM with the Logs of the gateway, I will check if I can help you. How do I gather the logs? Where are they located? Quote
Abdy Posted November 20, 2017 Report Posted November 20, 2017 11 minutes ago, MistaGrk said: How do I gather the logs? Where are they located? Under the admin panel, Tools > Logs > Gateway Quote
MistaGrk Posted November 20, 2017 Report Posted November 20, 2017 1 minute ago, cyandark said: Under the admin panel, Tools > Logs > Gateway lol sorry man, i keep forgetting blesta offers this.. PMing you now mate. Quote
MistaGrk Posted November 20, 2017 Report Posted November 20, 2017 18 hours ago, cyandark said: Send me a PM with the Logs of the gateway, I will check if I can help you. Hey Mate. By no means pushy but was wondering if you can take a look at those logs I PMed you. Or if anyone else can put in their input? @Blesta Addons ... I am live and not accepting payments and have past dues. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.