docs: improved plugin documentation (#1686)

* added plugin documentation

* replace incorrect plugin links

* small fixes
This commit is contained in:
Shahed Nasser
2022-06-17 14:13:05 +03:00
committed by GitHub
parent 8a4a7125b8
commit a4e0c074f0
13 changed files with 450 additions and 163 deletions
@@ -24,7 +24,7 @@ Payment Providers can also be related to a custom way of handling payment operat
### How Payment Provider is Created
A Payment Provider is essentially a Medusa [service](../services/create-service.md) with a unique identifier, and it extends the `PaymentService` provided by the `medusa-interfaces` package. It can be created as part of a [plugin](../../../guides/plugins.md), or it can be created just as a service file in your Medusa server.
A Payment Provider is essentially a Medusa [service](../services/create-service.md) with a unique identifier, and it extends the `PaymentService` provided by the `medusa-interfaces` package. It can be created as part of a [plugin](../plugins/overview.md), or it can be created just as a service file in your Medusa server.
As a developer, you will mainly work with the Payment Provider when integrating a payment method in Medusa.