1 Sign up for a Square account. Visit the
Developer Portal and create an app by clicking the + icon.
2 Once you have created an app, click to access it. Here you will see your application ID and access point.
3 From the left menu select 'Webhooks', then click 'Add Endpoint'.
Enter the callback/endpoint 'https://www.example.com/control/callback/square.php' and specify all event types. If there is an option to
select an API version, you should choose '2021-10-20'. Make sure the callback url is the correct url to your setup.
Once created, click the link on the 'Webhooks' page to view your endpoint details and secure signature key.
4 From the left menu click 'Locations' to view your location ID:
5 Enter all the required details in your Maian Music admin area:
Payment Gateways > Manage Gateways > Square
Setup is Completed!