Carbonless:
Thanks for the updated release... got an issue I can't resolve: I've installed and after I enter the Application Secret(OAuth) and save. When I click edit to go in and set the location. The drop down is blank
Any suggestions on what might be causing this? I do have 2 locations set in square. The one I need to use is the MAIN location set in square.
For domain needtoorder.com
i think something is wrong with your configuration; and specifically you do not have a proper merchant access token.
here is a new trick for you. go to your admin, and to the end of your URL, add sandbox=anything, ie:
https://zcdev.com/zcdev/admin/index.php?cmd=modules&set=payment&module=square_webPay&action=edit&sandbox=anything
you can now see your Live Merchant Token. if that is blank, then that is your problem.
if that is not your problem, you can try the following:
create a test.php file in your root directory with the following code:
<?php
require('includes/application_top.php');
include_once DIR_FS_CATALOG . DIR_WS_MODULES . 'payment/square_webPay.php';
include_once DIR_FS_CATALOG . DIR_WS_LANGUAGES . 'english/modules/payment/square_webPay.php';
$test = new square_webPay();
$pulldown = $test->getLocationsPulldownArray();
print_r($pulldown);
die(__FILE__ . ':' . __LINE__);
when you go to:
yoursite.com/test.php
you should see your locations in an array format.
currently that is coming back as blank.
if your Live Merchant Token is not blank, and the test is coming back with your locations array, and you are still seeing the image you have referenced, let me know and we can further troubleshoot. but i do not think that is the case.
best.