Skip to content

Commit

Permalink
Merge pull request #1247 from saleor/update-payments
Browse files Browse the repository at this point in the history
Mark as legacy
  • Loading branch information
timuric authored Jul 23, 2024
2 parents 952159b + ee4caa8 commit d4983a0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
title: Payment events
title: Payment events (legacy)
---

:::danger
This is legacy API documentation for reference only for those that built python payment plugins.

See [transaction events instead](developer/extending/webhooks/synchronous-events/transaction.mdx).
:::

## Introduction

Payment webhooks are synchronously sent webhooks that allow delegating payment handling to Saleor Apps. Synchronous means that these webhooks expect a response of a particular shape to be returned from the App to continue processing in Saleor. Payment webhooks only support the HTTP(S) protocol, they are sent as POST requests with the `application/json` body and expect a response of the same content type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ title: Transaction events

# Introduction

:::caution
This feature is in the **Feature Preview** stage, which means that it is available for experimentation and
feedback. However, it is still undergoing development and is subject to modifications.
:::

Transaction webhooks are synchronous webhooks that allow delegating the transaction's action to the Saleor App.
Synchronous means that these webhooks expect a response of a particular shape to be returned from the App to continue processing in Saleor.
Transaction webhooks only support the HTTP(S) protocol; they are sent as POST requests with the `application/json` body and expect the
Expand Down
4 changes: 3 additions & 1 deletion sidebars/extending.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ export const extending = [

title("Synchronous Events"),
"developer/extending/webhooks/synchronous-events/overview",
"developer/extending/webhooks/synchronous-events/payment",
"developer/extending/webhooks/synchronous-events/shipping",
"developer/extending/webhooks/synchronous-events/tax",
"developer/extending/webhooks/synchronous-events/transaction",
"developer/extending/webhooks/synchronous-events/stored-payment-method",

title("Security"),
"developer/extending/webhooks/ip-addresses",

title("Legacy Webhooks"),
"developer/extending/webhooks/synchronous-events/payment",
];

0 comments on commit d4983a0

Please sign in to comment.