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 | 697 | October 3, 2023 | |
| Checkout Quick Pay AUTHENTICATION_ERROR | UNAUTHORIZED | 1 | 625 | January 29, 2024 | |
| Getting "The `Authorization` http header of your request was incorrect or expired." on Production, but not Sandbox | 3 | 2426 | 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 | 181 | July 23, 2025 | |
| API Explorer vs real-word jQuery AJAX implementation of checkout API? | 4 | 91 | September 13, 2024 |