Square payment received notifications on your phone.
Get a push notification with the amount, tip and card when a Square payment completes, from your online checkout, Point of Sale or Terminal.
Three steps to your first push
Install the recipe
One click in Studio gives you a personal webhook URL.
Paste your URL into Square
Add it as a webhook for payment.updated.
Get a push on your phone
With the text, sound and buttons from the recipe.
How to set up the Square payment.updated webhook
- Click Install in Studio and sign in. The recipe is added to your account and you get a personal webhook URL.
- In the Square Developer Console (developer.squareup.com/apps), open your application (create a free one if you have none) and switch to Production.
- Under Webhooks, choose Subscriptions and click Add subscription.
- Paste your webhook URL as the notification URL, tick the payment.updated event, and save.https://••••••••/•••••••• your personal URL, shown after install
- Subscribe to **payment.updated** only. Square fires it several times per payment (when it's authorised, completed, when processing fees are added, when it's refunded). The recipe pushes only for a completed payment and skips the follow-up updates that carry processing fees or a refund, so you normally get one push per sale.
- Square can still send an extra early update for the same payment (for example when it links a customer), which can occasionally give a second push. If you notice Point of Sale or Terminal sales that never push, also tick **payment.created**: the recipe then pushes for payments that are created already completed, at the risk of an extra push for some sales.
- Payments on invoices also push here. If you use the Invoice paid recipe as well, you'll get both.
- Sandbox and Production have separate webhook subscriptions, so add this one in Production for real sales. Sandbox deliveries are marked **(sandbox)**.
- Square signs every notification with an `x-square-hmacsha256-signature` header (an HMAC-SHA256 of your notification URL and the body, keyed with the subscription's signature key), but JustPush doesn't check that signature yet, so keep your endpoint URL private.
What runs when the webhook arrives
Studio calls handleRequest(request) with the incoming webhook and sends the message it returns. It's yours after install; change anything.
The Square payment.updated webhook
This is what Square sends to your URL for payment.updated. It is a sample, trimmed to the fields recipes use.
Square payment received notifications: questions
Does this work on iPhone and Android?
Yes. Install the JustPush app from the App Store or Google Play and sign in. Every phone signed in to your account gets the notification.
Do I need to write code?
No. Install the recipe in Studio, paste your webhook URL into Square and you are done. The code is there if you want to change the text, the sound or the buttons.
Can I change what the notification says?
Yes. After install the recipe's code is yours. Edit it in Studio and test it against the sample payload before you save.
What does it cost?
JustPush is free for 30 days. After that it's $19.99 a year, or $39.99 once. There is no extra charge for recipes.
Square on your phone in two minutes.
Install the recipe, paste one URL, done. Free for 30 days, no credit card required.