For anyone interested in using -X POST bash code like shown in Square Explorer, but you don’t have shell_exec() enabled, see post 9 just here: HTTPS via curl_init() versus HTTPS via -X POST - Questions - Square Developer Forums
Gary1
5
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Posting to online-checkout/payment-links results in Invalid location id error, but I have confirmed the id | 8 | 725 | October 3, 2023 | |
| Checkout Quick Pay AUTHENTICATION_ERROR | UNAUTHORIZED | 1 | 635 | January 29, 2024 | |
| Sandbox Checkout API now returning 401 | 17 | 113 | July 17, 2026 | |
| Getting "The `Authorization` http header of your request was incorrect or expired." on Production, but not Sandbox | 3 | 2449 | February 17, 2022 | |
| Testing Square Sandbox access token and location ID to create a payment using the API Explorer, but receiving an UNAUTHORIZED error | 6 | 218 | July 23, 2025 |