@payloadcms/plugin-stripe 3.0.0-alpha.67 → 3.0.0-alpha.68

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payloadcms/plugin-stripe",
3
- "version": "3.0.0-alpha.67",
3
+ "version": "3.0.0-alpha.68",
4
4
  "description": "Stripe plugin for Payload",
5
5
  "keywords": [
6
6
  "payload",
@@ -39,23 +39,23 @@
39
39
  "lodash.get": "^4.4.2",
40
40
  "stripe": "^10.2.0",
41
41
  "uuid": "^9.0.0",
42
- "@payloadcms/ui": "3.0.0-alpha.67"
42
+ "@payloadcms/ui": "3.0.0-alpha.68"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@types/express": "^4.17.9",
46
46
  "@types/lodash.get": "^4.4.7",
47
47
  "@types/react": "18.2.74",
48
48
  "@types/uuid": "^9.0.0",
49
- "@payloadcms/next": "3.0.0-alpha.67",
50
- "@payloadcms/translations": "3.0.0-alpha.67",
51
- "payload": "3.0.0-alpha.67",
52
49
  "@payloadcms/eslint-config": "1.1.1",
53
- "@payloadcms/ui": "3.0.0-alpha.67"
50
+ "@payloadcms/next": "3.0.0-alpha.68",
51
+ "@payloadcms/translations": "3.0.0-alpha.68",
52
+ "@payloadcms/ui": "3.0.0-alpha.68",
53
+ "payload": "3.0.0-alpha.68"
54
54
  },
55
55
  "peerDependencies": {
56
- "@payloadcms/translations": "3.0.0-alpha.67",
57
- "@payloadcms/ui": "3.0.0-alpha.67",
58
- "payload": "3.0.0-alpha.67"
56
+ "@payloadcms/translations": "3.0.0-alpha.68",
57
+ "payload": "3.0.0-alpha.68",
58
+ "@payloadcms/ui": "3.0.0-alpha.68"
59
59
  },
60
60
  "publishConfig": {
61
61
  "registry": "https://registry.npmjs.org/"
@@ -1,301 +0,0 @@
1
- {
2
- "info": {
3
- "name": "Payload Stripe Plugin",
4
- "_exporter_id": "4309346",
5
- "_postman_id": "130686e1-ddd9-40f1-b031-68ec1a6413ee",
6
- "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
7
- },
8
- "item": [
9
- {
10
- "name": "Get All Subscriptions",
11
- "request": {
12
- "body": {
13
- "mode": "raw",
14
- "raw": "{\n \"stripeMethod\": \"subscriptions.list\",\n \"stripeArgs\": {\n \"customer\": \"cus_MGgt3Tuj3D66f2\"\n }\n}"
15
- },
16
- "header": [
17
- {
18
- "key": "Content-Type",
19
- "type": "text",
20
- "value": "application/json"
21
- },
22
- {
23
- "key": "Authorization",
24
- "type": "text",
25
- "value": "JWT {{PAYLOAD_API_TOKEN}}"
26
- }
27
- ],
28
- "method": "POST",
29
- "url": {
30
- "host": ["localhost"],
31
- "path": ["api", "stripe", "rest"],
32
- "port": "3000",
33
- "raw": "localhost:3000/api/stripe/rest"
34
- }
35
- },
36
- "response": []
37
- },
38
- {
39
- "name": "Get All Products",
40
- "request": {
41
- "body": {
42
- "mode": "raw",
43
- "raw": "{\n \"stripeMethod\": \"products.list\",\n \"stripeArgs\": [{\n \"limit\": 100\n }]\n}"
44
- },
45
- "header": [
46
- {
47
- "key": "Content-Type",
48
- "type": "text",
49
- "value": "application/json"
50
- },
51
- {
52
- "key": "Authorization",
53
- "type": "text",
54
- "value": "JWT {{PAYLOAD_API_TOKEN}}"
55
- }
56
- ],
57
- "method": "POST",
58
- "url": {
59
- "host": ["localhost"],
60
- "path": ["api", "stripe", "rest"],
61
- "port": "3000",
62
- "raw": "localhost:3000/api/stripe/rest"
63
- }
64
- },
65
- "response": []
66
- },
67
- {
68
- "name": "Get Product",
69
- "protocolProfileBehavior": {
70
- "disableBodyPruning": true
71
- },
72
- "request": {
73
- "body": {
74
- "mode": "raw",
75
- "raw": "{\n \"stripeMethod\": \"subscriptions.list\",\n \"stripeArgs\": {\n \"customer\": \"cus_MGgt3Tuj3D66f2\"\n }\n}"
76
- },
77
- "header": [
78
- {
79
- "key": "Content-Type",
80
- "type": "text",
81
- "value": "application/json"
82
- },
83
- {
84
- "key": "Authorization",
85
- "type": "text",
86
- "value": "JWT {{PAYLOAD_API_TOKEN}}"
87
- }
88
- ],
89
- "method": "GET",
90
- "url": {
91
- "host": ["localhost"],
92
- "path": ["api", "products", "6344664c003348299a226249"],
93
- "port": "3000",
94
- "raw": "localhost:3000/api/products/6344664c003348299a226249"
95
- }
96
- },
97
- "response": []
98
- },
99
- {
100
- "name": "Update Product",
101
- "request": {
102
- "body": {
103
- "mode": "raw",
104
- "raw": "{\n \"name\": \"Reactions\",\n \"price\": {\n \"stripePriceID\": \"price_1LXXU9H77M76aDnomGU5iIZu\"\n },\n \"stripeID\": \"prod_MG3bPl2yQGQK4x\",\n \"skipSync\": true\n}"
105
- },
106
- "header": [
107
- {
108
- "key": "Content-Type",
109
- "type": "text",
110
- "value": "application/json"
111
- },
112
- {
113
- "key": "Authorization",
114
- "type": "text",
115
- "value": "JWT {{PAYLOAD_API_TOKEN}}"
116
- }
117
- ],
118
- "method": "PATCH",
119
- "url": {
120
- "host": ["localhost"],
121
- "path": ["api", "products", "6344664c003348299a226249"],
122
- "port": "3000",
123
- "raw": "localhost:3000/api/products/6344664c003348299a226249"
124
- }
125
- },
126
- "response": []
127
- },
128
- {
129
- "name": "Create Product",
130
- "request": {
131
- "body": {
132
- "mode": "raw",
133
- "raw": "{\n \"name\": \"Test\",\n \"price\": {\n \"stripePriceID\": \"price_1LXXU9H77M76aDnomGU5iIZu\"\n },\n \"stripeID\": \"prod_MG3bPl2yQGQK4x\",\n \"skipSync\": true\n}"
134
- },
135
- "header": [
136
- {
137
- "key": "Content-Type",
138
- "type": "text",
139
- "value": "application/json"
140
- },
141
- {
142
- "key": "Authorization",
143
- "type": "text",
144
- "value": "JWT {{PAYLOAD_API_TOKEN}}"
145
- }
146
- ],
147
- "method": "POST",
148
- "url": {
149
- "host": ["localhost"],
150
- "path": ["api", "products"],
151
- "port": "3000",
152
- "raw": "localhost:3000/api/products"
153
- }
154
- },
155
- "response": []
156
- },
157
- {
158
- "name": "Create Stripe Customer",
159
- "request": {
160
- "body": {
161
- "mode": "raw",
162
- "raw": "{\n \"stripeMethod\": \"customers.create\",\n \"stripeArgs\": {\n \"email\": \"cta@hulu.com\",\n \"name\": \"Hulu\"\n }\n}"
163
- },
164
- "header": [
165
- {
166
- "key": "Content-Type",
167
- "type": "text",
168
- "value": "application/json"
169
- },
170
- {
171
- "key": "Authorization",
172
- "type": "text",
173
- "value": "JWT {{PAYLOAD_API_TOKEN}}"
174
- }
175
- ],
176
- "method": "POST",
177
- "url": {
178
- "host": ["localhost"],
179
- "path": ["api", "stripe", "rest"],
180
- "port": "3000",
181
- "raw": "localhost:3000/api/stripe/rest"
182
- }
183
- },
184
- "response": []
185
- },
186
- {
187
- "name": "Login",
188
- "event": [
189
- {
190
- "listen": "test",
191
- "script": {
192
- "exec": [
193
- "let jsonData = pm.response.json();",
194
- "pm.environment.set(\"PAYLOAD_API_TOKEN\", jsonData.token);"
195
- ],
196
- "type": "text/javascript"
197
- }
198
- }
199
- ],
200
- "request": {
201
- "body": {
202
- "mode": "raw",
203
- "options": {
204
- "raw": {
205
- "language": "json"
206
- }
207
- },
208
- "raw": "{\n\t\"email\": \"jacob@trbl.design\",\n\t\"password\": \"test\"\n}"
209
- },
210
- "description": "\t",
211
- "header": [
212
- {
213
- "disabled": true,
214
- "key": "Authorization",
215
- "value": ""
216
- }
217
- ],
218
- "method": "POST",
219
- "url": {
220
- "host": ["localhost"],
221
- "path": ["api", "users", "login"],
222
- "port": "3000",
223
- "raw": "localhost:3000/api/users/login"
224
- }
225
- },
226
- "response": []
227
- },
228
- {
229
- "name": "Refresh Token",
230
- "protocolProfileBehavior": {
231
- "disabledSystemHeaders": {}
232
- },
233
- "request": {
234
- "body": {
235
- "mode": "raw",
236
- "options": {
237
- "raw": {
238
- "language": "json"
239
- }
240
- },
241
- "raw": "{\n \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6ImphY29ic2ZsZXRjaEBnbWFpbC5jb20iLCJpZCI6IjYwODJlZjUxMzg5ZmM2MmYzNWI2MmM2ZiIsImNvbGxlY3Rpb24iOiJ1c2VycyIsImZpcnN0TmFtZSI6IkphY29iIiwibGFzdE5hbWUiOiJGbGV0Y2hlciIsIm9yZ2FuaXphdGlvbiI6IjYwN2RiNGNmYjYzMGIyNWI5YzkzNmMzNSIsImlhdCI6MTYzMTExMDk3NSwiZXhwIjoxNjMyOTI1Mzc1fQ.OL9l8jFNaCZCU-ZDQpH-EJauaRM-5JT4_Y3J_-aC-aY\"\n}"
242
- },
243
- "header": [],
244
- "method": "POST",
245
- "url": {
246
- "host": ["localhost"],
247
- "path": ["api", "users", "refresh-token"],
248
- "port": "3000",
249
- "raw": "localhost:3000/api/users/refresh-token"
250
- }
251
- },
252
- "response": []
253
- },
254
- {
255
- "name": "Me",
256
- "event": [
257
- {
258
- "listen": "test",
259
- "script": {
260
- "exec": [
261
- "let jsonData = pm.response.json();",
262
- "pm.environment.set(\"PAYLOAD_API_TOKEN\", jsonData.token);"
263
- ],
264
- "type": "text/javascript"
265
- }
266
- }
267
- ],
268
- "protocolProfileBehavior": {
269
- "disableBodyPruning": true
270
- },
271
- "request": {
272
- "body": {
273
- "mode": "raw",
274
- "raw": ""
275
- },
276
- "description": "\t",
277
- "header": [
278
- {
279
- "disabled": true,
280
- "key": "Authorization",
281
- "value": ""
282
- }
283
- ],
284
- "method": "GET",
285
- "url": {
286
- "host": ["localhost"],
287
- "path": ["api", "users", "me"],
288
- "port": "3000",
289
- "query": [
290
- {
291
- "key": "depth",
292
- "value": "1"
293
- }
294
- ],
295
- "raw": "localhost:3000/api/users/me?depth=1"
296
- }
297
- },
298
- "response": []
299
- }
300
- ]
301
- }