nopCommerce configuration with Square payment plugin

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Il y a 4 ans
When configuring NopCommerce 4.20 to work with the Payment methods plugin for Square, there is a mandatory field for "Business location". On the plugin Configuration screen, there is a drop down menu that indicates "No locations" by default. There is not ability to add a location.

Question: How and where do you add the "business location"?
Il y a 4 ans
I dont know this system but it looks like it is data that is read from Square
https://developer.squareup.com/reference/square/objects/Location

        public IList<Location> GetActiveLocations()
        {
            try
            {
                //create location API
                var configuration = CreateApiConfiguration();
                var locationsApi = new LocationsApi(configuration);

                //get list of all locations
                var listLocationsResponse = locationsApi.ListLocations();
                if (listLocationsResponse == null)
                    throw new NopException("No service response");

Can you check the config in square website maybe you need to define a list of locations ?
Il y a 4 ans
Hi,

Same problem here. I have set up multiple locations in the Square Developer Portal under Locations.

There are no locations in the dropdown so it cannot proceed past this point as location is a required field.

I'm on v3.90. Have Square changed the fields/mapping?

Thanks
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.