@easypayment/medusa-paypal 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<a href="https://developer.paypal.com"><img src="https://img.shields.io/badge/PayPal-PPCP-003087" alt="PayPal PPCP" /></a>
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
|
-
<p>Smart Buttons · Advanced Card Fields · Webhooks
|
|
14
|
+
<p>Smart Buttons · Advanced Card Fields · Webhooks</p>
|
|
15
15
|
|
|
16
16
|
</div>
|
|
17
17
|
|
|
@@ -96,15 +96,8 @@ Add these to your Medusa server `.env`:
|
|
|
96
96
|
```env
|
|
97
97
|
# Required
|
|
98
98
|
MEDUSA_BACKEND_URL=https://your-medusa-server.com
|
|
99
|
-
STOREFRONT_URL=https://your-storefront.com
|
|
100
|
-
|
|
101
|
-
# Recommended for production
|
|
102
|
-
PAYPAL_CREDENTIALS_ENCRYPTION_KEY=your-64-char-hex-key
|
|
103
|
-
PAYPAL_CURRENCY=EUR
|
|
104
99
|
```
|
|
105
100
|
|
|
106
|
-
> Generate an encryption key with: `openssl rand -hex 32`
|
|
107
|
-
|
|
108
101
|
---
|
|
109
102
|
|
|
110
103
|
## Step 4 — Run database migrations
|
|
@@ -130,8 +123,8 @@ Credentials are saved automatically. To connect manually instead, click **Insert
|
|
|
130
123
|
|
|
131
124
|
1. Medusa Admin → **Settings → Regions → [your region]**
|
|
132
125
|
2. Under **Payment Providers**, enable:
|
|
133
|
-
- `pp_paypal_paypal` —
|
|
134
|
-
- `pp_paypal_card_paypal_card` —
|
|
126
|
+
- `pp_paypal_paypal` — Paypal (CARD)
|
|
127
|
+
- `pp_paypal_card_paypal_card` — Paypal (PAYPAL)
|
|
135
128
|
|
|
136
129
|
---
|
|
137
130
|
|