|
1 | 1 | {
|
2 | 2 | "fixtures": [
|
3 | 3 | {
|
4 |
| - "name": "customer_daniel", |
5 |
| - "path": "/v1/customers", |
6 |
| - "method": "post", |
7 |
| - "params": { |
8 |
| - "test_clock": "${.env:STRIPE_TEST_CLOCK}", |
9 |
| - "name": "Daniel Smith", |
10 |
| - |
11 |
| - } |
12 |
| - }, |
13 |
| - { |
14 |
| - "name": "payment_method_daniel", |
15 |
| - "path": "/v1/payment_methods/pm_card_visa/attach", |
16 |
| - "method": "post", |
17 |
| - "params": { |
18 |
| - "customer": "${customer_daniel:id}" |
19 |
| - } |
20 |
| - }, |
21 |
| - { |
22 |
| - "name": "customer_mayra", |
| 4 | + "name": "customer_diego", |
23 | 5 | "path": "/v1/customers",
|
24 | 6 | "method": "post",
|
25 | 7 | "params": {
|
26 | 8 | "test_clock": "${.env:STRIPE_TEST_CLOCK}",
|
27 | 9 | "name": "Mayra Rodriguez",
|
28 |
| - |
| 10 | + |
29 | 11 | }
|
30 | 12 | },
|
31 | 13 | {
|
32 |
| - "name": "payment_method_mayra", |
| 14 | + "name": "payment_method_diego", |
33 | 15 | "path": "/v1/payment_methods/pm_card_visa_debit/attach",
|
34 | 16 | "method": "post",
|
35 | 17 | "params": {
|
36 |
| - "customer": "${customer_mayra:id}" |
| 18 | + "customer": "${customer_diego:id}" |
37 | 19 | }
|
38 | 20 | },
|
39 | 21 | {
|
|
118 | 100 | }
|
119 | 101 | },
|
120 | 102 | {
|
121 |
| - "name": "price_monthly_crossclip", |
| 103 | + "name": "price_monthly_crossclip_basic", |
122 | 104 | "path": "/v1/prices",
|
123 | 105 | "method": "post",
|
124 | 106 | "params": {
|
| 107 | + "lookup_key": "monthly_crossclip_basic", |
| 108 | + "transfer_lookup_key": true, |
125 | 109 | "unit_amount": 2000,
|
126 | 110 | "currency": "usd",
|
127 | 111 | "recurring": {
|
|
138 | 122 | }
|
139 | 123 | }
|
140 | 124 | },
|
| 125 | + { |
| 126 | + "name": "price_monthly_crossclip_premium", |
| 127 | + "path": "/v1/prices", |
| 128 | + "method": "post", |
| 129 | + "params": { |
| 130 | + "lookup_key": "monthly_crossclip_premium", |
| 131 | + "transfer_lookup_key": true, |
| 132 | + "unit_amount": 4500, |
| 133 | + "currency": "usd", |
| 134 | + "recurring": { |
| 135 | + "interval": "month" |
| 136 | + }, |
| 137 | + "product": "${crossclip:id}", |
| 138 | + "currency_options": { |
| 139 | + "gbp": { |
| 140 | + "unit_amount": 3450 |
| 141 | + }, |
| 142 | + "eur": { |
| 143 | + "unit_amount": 4150 |
| 144 | + } |
| 145 | + } |
| 146 | + } |
| 147 | + }, |
141 | 148 | {
|
142 | 149 | "name": "price_6months_talkstudio",
|
143 | 150 | "path": "/v1/prices",
|
|
183 | 190 | }
|
184 | 191 | },
|
185 | 192 | {
|
186 |
| - "name": "subscription_daniel_crossclip", |
187 |
| - "path": "/v1/subscriptions", |
188 |
| - "method": "post", |
189 |
| - "params": { |
190 |
| - "customer": "${customer_daniel:id}", |
191 |
| - "items": [ |
192 |
| - { |
193 |
| - "price": "${price_monthly_crossclip:id}" |
194 |
| - } |
195 |
| - ], |
196 |
| - "default_payment_method": "${payment_method_daniel:id}", |
197 |
| - "trial_period_days": 30, |
198 |
| - "coupon": "${coupon_10_off:id}" |
199 |
| - } |
200 |
| - }, |
201 |
| - { |
202 |
| - "name": "subscription_daniel_talkstudio", |
203 |
| - "path": "/v1/subscriptions", |
204 |
| - "method": "post", |
205 |
| - "params": { |
206 |
| - "customer": "${customer_daniel:id}", |
207 |
| - "items": [ |
208 |
| - { |
209 |
| - "price": "${price_6months_talkstudio:id}" |
210 |
| - } |
211 |
| - ], |
212 |
| - "default_payment_method": "${payment_method_daniel:id}", |
213 |
| - "cancel_at_period_end": true |
214 |
| - } |
215 |
| - }, |
216 |
| - { |
217 |
| - "name": "subscription_daniel_videoeditor", |
218 |
| - "path": "/v1/subscriptions", |
219 |
| - "method": "post", |
220 |
| - "params": { |
221 |
| - "customer": "${customer_daniel:id}", |
222 |
| - "items": [ |
223 |
| - { |
224 |
| - "price": "${price_3months_videoeditor:id}" |
225 |
| - } |
226 |
| - ], |
227 |
| - "default_payment_method": "${payment_method_daniel:id}", |
228 |
| - "trial_period_days": 60 |
229 |
| - } |
230 |
| - }, |
231 |
| - { |
232 |
| - "name": "subscription_mayra_crossclip", |
| 193 | + "name": "subscription_diego_crossclip", |
233 | 194 | "path": "/v1/subscriptions",
|
234 | 195 | "method": "post",
|
235 | 196 | "params": {
|
236 |
| - "customer": "${customer_mayra:id}", |
| 197 | + "customer": "${customer_diego:id}", |
237 | 198 | "items": [
|
238 | 199 | {
|
239 |
| - "price": "${price_monthly_crossclip:id}" |
| 200 | + "price": "${price_monthly_crossclip_basic:id}" |
240 | 201 | }
|
241 | 202 | ],
|
242 |
| - "default_payment_method": "${payment_method_mayra:id}", |
| 203 | + "default_payment_method": "${payment_method_diego:id}", |
243 | 204 | "coupon": "${coupon_5_off_3_months:id}",
|
244 | 205 | "currency": "eur"
|
245 | 206 | }
|
246 | 207 | },
|
247 | 208 | {
|
248 |
| - "name": "subscription_mayra_talkstudio", |
| 209 | + "name": "subscription_diego_talkstudio", |
249 | 210 | "path": "/v1/subscriptions",
|
250 | 211 | "method": "post",
|
251 | 212 | "params": {
|
252 |
| - "customer": "${customer_mayra:id}", |
| 213 | + "customer": "${customer_diego:id}", |
253 | 214 | "items": [
|
254 | 215 | {
|
255 | 216 | "price": "${price_6months_talkstudio:id}"
|
256 | 217 | }
|
257 | 218 | ],
|
258 |
| - "default_payment_method": "${payment_method_mayra:id}", |
| 219 | + "default_payment_method": "${payment_method_diego:id}", |
259 | 220 | "trial_period_days": 90,
|
260 | 221 | "currency": "eur"
|
261 | 222 | }
|
262 | 223 | },
|
263 | 224 | {
|
264 |
| - "name": "subscription_mayra_videoeditor", |
| 225 | + "name": "subscription_diego_videoeditor", |
265 | 226 | "path": "/v1/subscriptions",
|
266 | 227 | "method": "post",
|
267 | 228 | "params": {
|
268 |
| - "customer": "${customer_mayra:id}", |
| 229 | + "customer": "${customer_diego:id}", |
269 | 230 | "items": [
|
270 | 231 | {
|
271 | 232 | "price": "${price_3months_videoeditor:id}"
|
272 | 233 | }
|
273 | 234 | ],
|
274 |
| - "default_payment_method": "${payment_method_mayra:id}", |
| 235 | + "default_payment_method": "${payment_method_diego:id}", |
275 | 236 | "cancel_at_period_end": true,
|
276 | 237 | "currency": "eur"
|
277 | 238 | }
|
|
284 | 245 | "customer": "${customer_santiago:id}",
|
285 | 246 | "items": [
|
286 | 247 | {
|
287 |
| - "price": "${price_monthly_crossclip:id}" |
| 248 | + "price": "${price_monthly_crossclip_basic:id}" |
288 | 249 | }
|
289 | 250 | ],
|
290 | 251 | "default_payment_method": "${payment_method_santiago:id}",
|
|
0 commit comments