docs: editing and general fixes of medusa's learning resources (#7261)

* docs: editing and general fixes of medusa's learning resources

* fix build script

* update ui dependency

* fix build

* adjust next.js steps
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-05-13 18:55:11 +03:00
1 parent 803e4aad02
commit 7cb90f8e82
79 files changed
+488 -1707

No files matched your search

@@ -1,4 +1,4 @@
If you're using the [S3 Plugin](../../../plugins/storage/s3/page.mdx) and, when you upload an image, you receive the following error on your Medusa backend:
If you're using the S3 Plugin and, when you upload an image, you receive the following error on your Medusa backend:
```bash noReport
AccessControlListNotSupported: The bucket does not allow ACLs
@@ -6,4 +6,10 @@ export const metadata = {
# {metadata.title}
<Note type="soon">
The following troubleshooting guides were created for Medusa v1 and might not be useful for Medusa v2.
</Note>
<ChildDocs />
@@ -1,30 +0,0 @@
export const metadata = {
title: `Payment Provider not showing in checkout`,
}
# {metadata.title}
You add payment providers to your Medusa instance by adding them as plugins in `medusa-config.js`:
```js title="medusa-config.js"
const plugins = [
// ...
{
resolve: `medusa-payment-stripe`,
options: {
api_key: STRIPE_API_KEY,
webhook_secret: STRIPE_WEBHOOK_SECRET,
},
},
]
```
And installing them with your favourite package manager:
```bash npm2yarn
npm install medusa-payment-stripe
```
However, to also show them as part of your checkout flow you need to add them to your regions.
Then, refer to this user guide to learn how to enable the [payment provider in a region](!user-guide!/settings/regions/providers).