---
title: "Webhook, authorize-only payments and logs"
description: "Register the PayPal webhook, take authorize-only payments, set an invoice prefix and read the logs in SutraPay for PayPal for WooCommerce."
url: "https://sutraplugins.com/docs/sutrapay-for-paypal/paypal-webhook-authorize-logs/"
updated: "2026-11-17"
category: Guides
---

# Webhook, authorize-only payments and logs

## Register the webhook

The webhook keeps orders in sync with events that happen outside checkout (captures, refunds, reversals, saved methods). Open **WooCommerce → SutraPay for PayPal → Advanced** and click **Register webhook with PayPal**. Do it again after updating from an older version if the Saved Payment Methods screen asks for it.

## Authorize now, capture later

On **General → Payment action** choose "Authorize only (capture manually later)". Orders then wait On hold with the note "PayPal payment authorized, awaiting capture." Capture the payment in your PayPal account; with the webhook registered, the order is marked paid when PayPal reports the capture (after checking the amount and currency).

## Invoice ID prefix

On **Advanced**, set an **Invoice ID prefix** when several shops use the same PayPal account, so their order numbers never clash at PayPal.

## Logs

Errors and warnings are always recorded under **Logs**. Turn on **Log API requests** on the Advanced screen to also record the full PayPal requests and responses while you debug, then turn it off again.
