docs: added dividers + see also section (#2899)
This commit is contained in:
@@ -10,6 +10,8 @@ As a developer, you can use PayPal’s SDKs and APIs to integrate PayPal as a pa
|
||||
|
||||
Using the `medusa-payment-paypal` plugin, this guide shows you how to set up your Medusa server with PayPal as a payment provider.
|
||||
|
||||
---
|
||||
|
||||
## Prerequisites
|
||||
|
||||
Before you proceed with this guide, make sure you create a [PayPal account](https://www.paypal.com). You also need a PayPal Developer account and retrieve the Client ID and Client Secret. You can learn more about how to do that in [PayPal’s documentation](https://developer.paypal.com/api/rest/).
|
||||
@@ -22,6 +24,8 @@ Additionally, you need a Medusa server installed and set up. If not, you can fol
|
||||
|
||||
You also need [Medusa Admin](../admin/quickstart.mdx) installed to enable PayPal as a payment provider. You can alternatively use the [REST APIs](https://docs.medusajs.com/api/admin).
|
||||
|
||||
---
|
||||
|
||||
## Medusa Server
|
||||
|
||||
### Install the PayPal Plugin
|
||||
@@ -68,6 +72,8 @@ const plugins = [
|
||||
|
||||
That’s all you need to install PayPal on your Medusa server!
|
||||
|
||||
---
|
||||
|
||||
## Admin Setup
|
||||
|
||||
This section will guide you through adding PayPal as a payment provider in a region using your Medusa admin dashboard.
|
||||
@@ -82,6 +88,8 @@ If you don’t have a Medusa admin installed, make sure to follow along with [th
|
||||
|
||||
You can refer to [this documentation in the user guide](../user-guide/regions/providers.mdx#manage-payment-providers) to learn how to add a payment provider like PayPal to a region.
|
||||
|
||||
---
|
||||
|
||||
## Storefront Setup
|
||||
|
||||
This section will take you through the steps to add PayPal as a payment method on the storefront. It includes the steps necessary when using one of Medusa’s official storefronts as well as your own custom React-based storefront.
|
||||
@@ -384,6 +392,8 @@ If you run the Medusa server and the storefront server, you should see the PayPa
|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Capture Payments
|
||||
|
||||
After the customer places an order, you can see the order on the admin panel. In the payment information under the “Payment” section, you should see a “Capture” button.
|
||||
@@ -394,6 +404,8 @@ Clicking this button lets you capture the payment for an order. You can also ref
|
||||
|
||||
Refunding or Capturing payments is reflected in your PayPal dashboard as well.
|
||||
|
||||
## What's Next
|
||||
---
|
||||
|
||||
## See Also
|
||||
|
||||
- Check out [more plugins](https://github.com/medusajs/medusa/tree/master/packages) you can add to your store.
|
||||
|
||||
Reference in New Issue
Block a user