@reeboot/strapi-payment-plugin 0.0.0 → 0.0.2

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.
Files changed (81) hide show
  1. package/README.md +398 -66
  2. package/dist/_chunks/Analytics-C2GKvPDX.js +355 -0
  3. package/dist/_chunks/Analytics-Chydh3dg.mjs +355 -0
  4. package/dist/_chunks/App-BCbEuN6h.mjs +68 -0
  5. package/dist/_chunks/App-E2k2mo5p.js +70 -0
  6. package/dist/_chunks/Customers-B8BlQ1BO.mjs +273 -0
  7. package/dist/_chunks/Customers-D0O5ET5C.js +273 -0
  8. package/dist/_chunks/Dashboard-CuqclLak.js +180 -0
  9. package/dist/_chunks/Dashboard-D8-ifJqB.mjs +180 -0
  10. package/dist/_chunks/Orders-5WGSzPGo.js +308 -0
  11. package/dist/_chunks/Orders-ClJJaQrX.mjs +308 -0
  12. package/dist/_chunks/Payments-CIMyOC3n.js +489 -0
  13. package/dist/_chunks/Payments-CRnRBf48.mjs +489 -0
  14. package/dist/_chunks/Settings-BXMLePI_.js +357 -0
  15. package/dist/_chunks/Settings-TeAvV4RH.mjs +357 -0
  16. package/dist/_chunks/en-BJocyOVu.mjs +240 -0
  17. package/dist/_chunks/en-BkVAf_R4.js +240 -0
  18. package/dist/_chunks/index-BTk7a2T5.js +66 -0
  19. package/dist/_chunks/index-Bz8V_5zH.mjs +67 -0
  20. package/dist/admin/index.js +2 -63
  21. package/dist/admin/index.mjs +2 -63
  22. package/dist/admin/src/components/AnalyticsChart.d.ts +19 -0
  23. package/dist/admin/src/components/CustomerList.d.ts +21 -0
  24. package/dist/admin/src/components/OrderList.d.ts +27 -0
  25. package/dist/admin/src/components/PaymentCard.d.ts +39 -0
  26. package/dist/admin/src/components/PaymentList.d.ts +19 -0
  27. package/dist/admin/src/components/RefundModal.d.ts +15 -0
  28. package/dist/admin/src/pages/Analytics.d.ts +2 -0
  29. package/dist/admin/src/pages/Customers.d.ts +2 -0
  30. package/dist/admin/src/pages/Dashboard.d.ts +2 -0
  31. package/dist/admin/src/pages/HomePage.d.ts +1 -1
  32. package/dist/admin/src/pages/Orders.d.ts +2 -0
  33. package/dist/admin/src/pages/Payments.d.ts +2 -0
  34. package/dist/admin/src/pages/Settings.d.ts +2 -0
  35. package/dist/server/index.js +1827 -7101
  36. package/dist/server/index.mjs +1826 -7100
  37. package/dist/server/src/config/index.d.ts +2 -10
  38. package/dist/server/src/content-types/customer/index.d.ts +69 -0
  39. package/dist/server/src/content-types/index.d.ts +207 -1
  40. package/dist/server/src/content-types/order/index.d.ts +70 -0
  41. package/dist/server/src/content-types/payment/index.d.ts +69 -0
  42. package/dist/server/src/controllers/controller.d.ts +6 -9
  43. package/dist/server/src/controllers/index.d.ts +30 -35
  44. package/dist/server/src/controllers/stripe.d.ts +104 -0
  45. package/dist/server/src/index.d.ts +262 -110
  46. package/dist/server/src/middlewares/index.d.ts +19 -1
  47. package/dist/server/src/policies/index.d.ts +3 -1
  48. package/dist/server/src/routes/{admin-routes.d.ts → admin/index.d.ts} +4 -4
  49. package/dist/server/src/routes/content-api/index.d.ts +21 -0
  50. package/dist/server/src/routes/index.d.ts +10 -26
  51. package/dist/server/src/services/index.d.ts +2 -37
  52. package/dist/server/src/services/{stripeDriver.d.ts → stripe.d.ts} +52 -28
  53. package/dist/server/src/types/index.d.ts +179 -0
  54. package/package.json +20 -24
  55. package/dist/_chunks/App-BGle38NN.js +0 -1149
  56. package/dist/_chunks/App-DoUUpjp-.mjs +0 -1149
  57. package/dist/_chunks/en-B4KWt_jN.js +0 -4
  58. package/dist/_chunks/en-Byx4XI2L.mjs +0 -4
  59. package/dist/admin/src/components/Header.d.ts +0 -2
  60. package/dist/admin/src/components/NavigationMenu.d.ts +0 -2
  61. package/dist/admin/src/components/Sidebar.d.ts +0 -2
  62. package/dist/admin/src/components/TransactionDetailsModal.d.ts +0 -18
  63. package/dist/admin/src/components/TransactionList.d.ts +0 -18
  64. package/dist/admin/src/pages/ConfigurationPage.d.ts +0 -2
  65. package/dist/admin/src/pages/DashboardPage.d.ts +0 -2
  66. package/dist/admin/src/pages/ProductsPage.d.ts +0 -2
  67. package/dist/admin/src/pages/SubscriptionsPage.d.ts +0 -2
  68. package/dist/admin/src/pages/TransactionsPage.d.ts +0 -2
  69. package/dist/server/controllers/product.d.ts +0 -12
  70. package/dist/server/controllers/subscription.d.ts +0 -12
  71. package/dist/server/services/product.d.ts +0 -7
  72. package/dist/server/services/subscription.d.ts +0 -7
  73. package/dist/server/src/controllers/productController.d.ts +0 -9
  74. package/dist/server/src/controllers/subscriptionController.d.ts +0 -9
  75. package/dist/server/src/routes/content-api.d.ts +0 -12
  76. package/dist/server/src/routes/product-routes.d.ts +0 -13
  77. package/dist/server/src/routes/refund-routes.d.ts +0 -13
  78. package/dist/server/src/routes/subscription-routes.d.ts +0 -13
  79. package/dist/server/src/services/paypalDriver.d.ts +0 -7
  80. package/dist/server/src/services/service.d.ts +0 -33
  81. package/jest.config.js +0 -13
@@ -1,13 +1,5 @@
1
1
  declare const _default: {
2
- stripe: {
3
- secretKey: string;
4
- publishableKey: string;
5
- webhookSecret: string;
6
- };
7
- paypal: {
8
- clientId: string;
9
- clientSecret: string;
10
- webhookId: string;
11
- };
2
+ default: {};
3
+ validator(): void;
12
4
  };
13
5
  export default _default;
@@ -0,0 +1,69 @@
1
+ declare const _default: {
2
+ schema: {
3
+ kind: string;
4
+ collectionName: string;
5
+ info: {
6
+ singularName: string;
7
+ pluralName: string;
8
+ displayName: string;
9
+ description: string;
10
+ };
11
+ options: {
12
+ draftAndPublish: boolean;
13
+ };
14
+ pluginOptions: {
15
+ i18n: {
16
+ localized: boolean;
17
+ };
18
+ };
19
+ attributes: {
20
+ email: {
21
+ type: string;
22
+ unique: boolean;
23
+ required: boolean;
24
+ configurable: boolean;
25
+ };
26
+ stripe_customer_id: {
27
+ type: string;
28
+ unique: boolean;
29
+ required: boolean;
30
+ configurable: boolean;
31
+ };
32
+ first_name: {
33
+ type: string;
34
+ required: boolean;
35
+ configurable: boolean;
36
+ };
37
+ last_name: {
38
+ type: string;
39
+ required: boolean;
40
+ configurable: boolean;
41
+ };
42
+ phone: {
43
+ type: string;
44
+ configurable: boolean;
45
+ };
46
+ address: {
47
+ type: string;
48
+ configurable: boolean;
49
+ };
50
+ metadata: {
51
+ type: string;
52
+ configurable: boolean;
53
+ };
54
+ orders: {
55
+ type: string;
56
+ relation: string;
57
+ target: string;
58
+ mappedBy: string;
59
+ };
60
+ payments: {
61
+ type: string;
62
+ relation: string;
63
+ target: string;
64
+ mappedBy: string;
65
+ };
66
+ };
67
+ };
68
+ };
69
+ export default _default;
@@ -1,2 +1,208 @@
1
- declare const _default: {};
1
+ declare const _default: {
2
+ customer: {
3
+ schema: {
4
+ kind: string;
5
+ collectionName: string;
6
+ info: {
7
+ singularName: string;
8
+ pluralName: string;
9
+ displayName: string;
10
+ description: string;
11
+ };
12
+ options: {
13
+ draftAndPublish: boolean;
14
+ };
15
+ pluginOptions: {
16
+ i18n: {
17
+ localized: boolean;
18
+ };
19
+ };
20
+ attributes: {
21
+ email: {
22
+ type: string;
23
+ unique: boolean;
24
+ required: boolean;
25
+ configurable: boolean;
26
+ };
27
+ stripe_customer_id: {
28
+ type: string;
29
+ unique: boolean;
30
+ required: boolean;
31
+ configurable: boolean;
32
+ };
33
+ first_name: {
34
+ type: string;
35
+ required: boolean;
36
+ configurable: boolean;
37
+ };
38
+ last_name: {
39
+ type: string;
40
+ required: boolean;
41
+ configurable: boolean;
42
+ };
43
+ phone: {
44
+ type: string;
45
+ configurable: boolean;
46
+ };
47
+ address: {
48
+ type: string;
49
+ configurable: boolean;
50
+ };
51
+ metadata: {
52
+ type: string;
53
+ configurable: boolean;
54
+ };
55
+ orders: {
56
+ type: string;
57
+ relation: string;
58
+ target: string;
59
+ mappedBy: string;
60
+ };
61
+ payments: {
62
+ type: string;
63
+ relation: string;
64
+ target: string;
65
+ mappedBy: string;
66
+ };
67
+ };
68
+ };
69
+ };
70
+ order: {
71
+ schema: {
72
+ kind: string;
73
+ collectionName: string;
74
+ info: {
75
+ singularName: string;
76
+ pluralName: string;
77
+ displayName: string;
78
+ description: string;
79
+ };
80
+ options: {
81
+ draftAndPublish: boolean;
82
+ };
83
+ pluginOptions: {
84
+ i18n: {
85
+ localized: boolean;
86
+ };
87
+ };
88
+ attributes: {
89
+ order_number: {
90
+ type: string;
91
+ unique: boolean;
92
+ required: boolean;
93
+ configurable: boolean;
94
+ };
95
+ total_amount: {
96
+ type: string;
97
+ required: boolean;
98
+ min: number;
99
+ configurable: boolean;
100
+ default: number;
101
+ };
102
+ currency: {
103
+ type: string;
104
+ required: boolean;
105
+ default: string;
106
+ configurable: boolean;
107
+ };
108
+ status: {
109
+ type: string;
110
+ enum: string[];
111
+ required: boolean;
112
+ default: string;
113
+ configurable: boolean;
114
+ };
115
+ customer: {
116
+ type: string;
117
+ relation: string;
118
+ target: string;
119
+ inversedBy: string;
120
+ };
121
+ payments: {
122
+ type: string;
123
+ relation: string;
124
+ target: string;
125
+ mappedBy: string;
126
+ };
127
+ items: {
128
+ type: string;
129
+ required: boolean;
130
+ configurable: boolean;
131
+ };
132
+ metadata: {
133
+ type: string;
134
+ configurable: boolean;
135
+ };
136
+ };
137
+ };
138
+ };
139
+ payment: {
140
+ schema: {
141
+ kind: string;
142
+ collectionName: string;
143
+ info: {
144
+ singularName: string;
145
+ pluralName: string;
146
+ displayName: string;
147
+ description: string;
148
+ };
149
+ options: {
150
+ draftAndPublish: boolean;
151
+ };
152
+ pluginOptions: {
153
+ i18n: {
154
+ localized: boolean;
155
+ };
156
+ };
157
+ attributes: {
158
+ stripe_payment_intent_id: {
159
+ type: string;
160
+ unique: boolean;
161
+ required: boolean;
162
+ configurable: boolean;
163
+ };
164
+ amount: {
165
+ type: string;
166
+ required: boolean;
167
+ min: number;
168
+ configurable: boolean;
169
+ default: number;
170
+ };
171
+ currency: {
172
+ type: string;
173
+ required: boolean;
174
+ default: string;
175
+ configurable: boolean;
176
+ };
177
+ status: {
178
+ type: string;
179
+ enum: string[];
180
+ required: boolean;
181
+ default: string;
182
+ configurable: boolean;
183
+ };
184
+ payment_method: {
185
+ type: string;
186
+ configurable: boolean;
187
+ };
188
+ metadata: {
189
+ type: string;
190
+ configurable: boolean;
191
+ };
192
+ customer: {
193
+ type: string;
194
+ relation: string;
195
+ target: string;
196
+ inversedBy: string;
197
+ };
198
+ order: {
199
+ type: string;
200
+ relation: string;
201
+ target: string;
202
+ inversedBy: string;
203
+ };
204
+ };
205
+ };
206
+ };
207
+ };
2
208
  export default _default;
@@ -0,0 +1,70 @@
1
+ declare const _default: {
2
+ schema: {
3
+ kind: string;
4
+ collectionName: string;
5
+ info: {
6
+ singularName: string;
7
+ pluralName: string;
8
+ displayName: string;
9
+ description: string;
10
+ };
11
+ options: {
12
+ draftAndPublish: boolean;
13
+ };
14
+ pluginOptions: {
15
+ i18n: {
16
+ localized: boolean;
17
+ };
18
+ };
19
+ attributes: {
20
+ order_number: {
21
+ type: string;
22
+ unique: boolean;
23
+ required: boolean;
24
+ configurable: boolean;
25
+ };
26
+ total_amount: {
27
+ type: string;
28
+ required: boolean;
29
+ min: number;
30
+ configurable: boolean;
31
+ default: number;
32
+ };
33
+ currency: {
34
+ type: string;
35
+ required: boolean;
36
+ default: string;
37
+ configurable: boolean;
38
+ };
39
+ status: {
40
+ type: string;
41
+ enum: string[];
42
+ required: boolean;
43
+ default: string;
44
+ configurable: boolean;
45
+ };
46
+ customer: {
47
+ type: string;
48
+ relation: string;
49
+ target: string;
50
+ inversedBy: string;
51
+ };
52
+ payments: {
53
+ type: string;
54
+ relation: string;
55
+ target: string;
56
+ mappedBy: string;
57
+ };
58
+ items: {
59
+ type: string;
60
+ required: boolean;
61
+ configurable: boolean;
62
+ };
63
+ metadata: {
64
+ type: string;
65
+ configurable: boolean;
66
+ };
67
+ };
68
+ };
69
+ };
70
+ export default _default;
@@ -0,0 +1,69 @@
1
+ declare const _default: {
2
+ schema: {
3
+ kind: string;
4
+ collectionName: string;
5
+ info: {
6
+ singularName: string;
7
+ pluralName: string;
8
+ displayName: string;
9
+ description: string;
10
+ };
11
+ options: {
12
+ draftAndPublish: boolean;
13
+ };
14
+ pluginOptions: {
15
+ i18n: {
16
+ localized: boolean;
17
+ };
18
+ };
19
+ attributes: {
20
+ stripe_payment_intent_id: {
21
+ type: string;
22
+ unique: boolean;
23
+ required: boolean;
24
+ configurable: boolean;
25
+ };
26
+ amount: {
27
+ type: string;
28
+ required: boolean;
29
+ min: number;
30
+ configurable: boolean;
31
+ default: number;
32
+ };
33
+ currency: {
34
+ type: string;
35
+ required: boolean;
36
+ default: string;
37
+ configurable: boolean;
38
+ };
39
+ status: {
40
+ type: string;
41
+ enum: string[];
42
+ required: boolean;
43
+ default: string;
44
+ configurable: boolean;
45
+ };
46
+ payment_method: {
47
+ type: string;
48
+ configurable: boolean;
49
+ };
50
+ metadata: {
51
+ type: string;
52
+ configurable: boolean;
53
+ };
54
+ customer: {
55
+ type: string;
56
+ relation: string;
57
+ target: string;
58
+ inversedBy: string;
59
+ };
60
+ order: {
61
+ type: string;
62
+ relation: string;
63
+ target: string;
64
+ inversedBy: string;
65
+ };
66
+ };
67
+ };
68
+ };
69
+ export default _default;
@@ -1,10 +1,7 @@
1
- declare const _default: {
2
- initiatePayment(ctx: any): Promise<void>;
3
- processWebhook(ctx: any): Promise<void>;
4
- refundPayment(ctx: any): Promise<void>;
5
- getPaymentDetails(ctx: any): Promise<void>;
6
- getTransactions(ctx: any): Promise<void>;
7
- saveConfiguration(ctx: any): Promise<void>;
8
- getConfigStatus(ctx: any): Promise<void>;
1
+ import type { Core } from '@strapi/strapi';
2
+ declare const controller: ({ strapi }: {
3
+ strapi: Core.Strapi;
4
+ }) => {
5
+ index(ctx: any): void;
9
6
  };
10
- export default _default;
7
+ export default controller;
@@ -1,41 +1,36 @@
1
1
  /// <reference types="koa" />
2
2
  declare const _default: {
3
- controller: {
4
- initiatePayment(ctx: any): Promise<void>;
5
- processWebhook(ctx: any): Promise<void>;
6
- refundPayment(ctx: any): Promise<void>;
7
- getPaymentDetails(ctx: any): Promise<void>;
8
- getTransactions(ctx: any): Promise<void>;
9
- saveConfiguration(ctx: any): Promise<void>;
10
- getConfigStatus(ctx: any): Promise<void>;
3
+ controller: ({ strapi }: {
4
+ strapi: import("@strapi/types/dist/core").Strapi;
5
+ }) => {
6
+ index(ctx: any): void;
11
7
  };
12
- productController: {
13
- find(ctx: import("koa").Context): Promise<void>;
14
- findOne(ctx: import("koa").Context): Promise<import("koa").Context>;
15
- create(ctx: import("koa").Context): Promise<void>;
16
- update(ctx: import("koa").Context): Promise<void>;
17
- delete(ctx: import("koa").Context): Promise<void>;
18
- };
19
- subscriptionController: {
20
- find(ctx: import("koa").Context): Promise<void>;
21
- findOne(ctx: import("koa").Context): Promise<import("koa").Context>;
22
- create(ctx: import("koa").Context): Promise<void>;
23
- update(ctx: import("koa").Context): Promise<void>;
24
- delete(ctx: import("koa").Context): Promise<void>;
25
- };
26
- product: {
27
- find(ctx: import("koa").Context): Promise<void>;
28
- findOne(ctx: import("koa").Context): Promise<import("koa").Context>;
29
- create(ctx: import("koa").Context): Promise<void>;
30
- update(ctx: import("koa").Context): Promise<void>;
31
- delete(ctx: import("koa").Context): Promise<void>;
32
- };
33
- subscription: {
34
- find(ctx: import("koa").Context): Promise<void>;
35
- findOne(ctx: import("koa").Context): Promise<import("koa").Context>;
36
- create(ctx: import("koa").Context): Promise<void>;
37
- update(ctx: import("koa").Context): Promise<void>;
38
- delete(ctx: import("koa").Context): Promise<void>;
8
+ stripe: {
9
+ createPaymentIntent(ctx: import("koa").Context): Promise<import("koa").Context>;
10
+ confirmPayment(ctx: import("koa").Context): Promise<import("koa").Context>;
11
+ createCustomer(ctx: import("koa").Context): Promise<import("koa").Context>;
12
+ retrieveCustomer(ctx: import("koa").Context): Promise<import("koa").Context>;
13
+ createRefund(ctx: import("koa").Context): Promise<import("koa").Context>;
14
+ handleWebhook(ctx: import("koa").Context): Promise<import("koa").Context>;
15
+ getServiceStatus(ctx: import("koa").Context): Promise<void>;
16
+ getPaymentDetails(ctx: import("koa").Context): Promise<any>;
17
+ listPayments(ctx: import("koa").Context): Promise<void>;
18
+ listCustomers(ctx: import("koa").Context): Promise<void>;
19
+ createOrder(ctx: import("koa").Context): Promise<import("koa").Context>;
20
+ getOrderDetails(ctx: import("koa").Context): Promise<import("koa").Context>;
21
+ listOrders(ctx: import("koa").Context): Promise<void>;
22
+ getDashboardData(ctx: import("koa").Context): Promise<void>;
23
+ getPaymentReports(ctx: import("koa").Context): Promise<void>;
24
+ getPluginConfig(ctx: import("koa").Context): Promise<void>;
25
+ updatePluginConfig(ctx: import("koa").Context): Promise<void>;
26
+ getAnalytics(ctx: import("koa").Context): Promise<void>;
27
+ adminCreateRefund(ctx: import("koa").Context): Promise<import("koa").Context>;
28
+ adminListPayments(ctx: import("koa").Context): Promise<void>;
29
+ adminListCustomers(ctx: import("koa").Context): Promise<void>;
30
+ adminListOrders(ctx: import("koa").Context): Promise<void>;
31
+ testWebhook(ctx: import("koa").Context): Promise<void>;
32
+ initializePayment(ctx: import("koa").Context): Promise<void>;
33
+ createSamplePayment(ctx: import("koa").Context): Promise<void>;
39
34
  };
40
35
  };
41
36
  export default _default;
@@ -0,0 +1,104 @@
1
+ import type { Context } from 'koa';
2
+ declare const stripeController: {
3
+ /**
4
+ * Create a payment intent
5
+ */
6
+ createPaymentIntent(ctx: Context): Promise<Context>;
7
+ /**
8
+ * Confirm a payment intent
9
+ */
10
+ confirmPayment(ctx: Context): Promise<Context>;
11
+ /**
12
+ * Create a Stripe customer
13
+ */
14
+ createCustomer(ctx: Context): Promise<Context>;
15
+ /**
16
+ * Retrieve a Stripe customer
17
+ */
18
+ retrieveCustomer(ctx: Context): Promise<Context>;
19
+ /**
20
+ * Create a refund
21
+ */
22
+ createRefund(ctx: Context): Promise<Context>;
23
+ /**
24
+ * Handle Stripe webhooks
25
+ */
26
+ handleWebhook(ctx: Context): Promise<Context>;
27
+ /**
28
+ * Get Stripe service status/health check
29
+ */
30
+ getServiceStatus(ctx: Context): Promise<void>;
31
+ /**
32
+ * Get payment details by Stripe payment intent ID
33
+ */
34
+ getPaymentDetails(ctx: Context): Promise<any>;
35
+ /**
36
+ * List payments with filtering and pagination
37
+ */
38
+ listPayments(ctx: Context): Promise<void>;
39
+ /**
40
+ * List customers with filtering and pagination
41
+ */
42
+ listCustomers(ctx: Context): Promise<void>;
43
+ /**
44
+ * Create a new order
45
+ */
46
+ createOrder(ctx: Context): Promise<Context>;
47
+ /**
48
+ * Get order details by ID
49
+ */
50
+ getOrderDetails(ctx: Context): Promise<Context>;
51
+ /**
52
+ * List orders with filtering and pagination
53
+ */
54
+ listOrders(ctx: Context): Promise<void>;
55
+ /**
56
+ * Get dashboard data for admin panel
57
+ */
58
+ getDashboardData(ctx: Context): Promise<void>;
59
+ /**
60
+ * Get payment reports
61
+ */
62
+ getPaymentReports(ctx: Context): Promise<void>;
63
+ /**
64
+ * Get plugin configuration
65
+ */
66
+ getPluginConfig(ctx: Context): Promise<void>;
67
+ /**
68
+ * Update plugin configuration
69
+ */
70
+ updatePluginConfig(ctx: Context): Promise<void>;
71
+ /**
72
+ * Get analytics data
73
+ */
74
+ getAnalytics(ctx: Context): Promise<void>;
75
+ /**
76
+ * Admin create refund
77
+ */
78
+ adminCreateRefund(ctx: Context): Promise<Context>;
79
+ /**
80
+ * Admin list payments (no user restrictions)
81
+ */
82
+ adminListPayments(ctx: Context): Promise<void>;
83
+ /**
84
+ * Admin list customers (no user restrictions)
85
+ */
86
+ adminListCustomers(ctx: Context): Promise<void>;
87
+ /**
88
+ * Admin list orders (no user restrictions)
89
+ */
90
+ adminListOrders(ctx: Context): Promise<void>;
91
+ /**
92
+ * Test webhook endpoint
93
+ */
94
+ testWebhook(ctx: Context): Promise<void>;
95
+ /**
96
+ * Initialize a functional payment flow (Customer -> Order -> PI)
97
+ */
98
+ initializePayment(ctx: Context): Promise<void>;
99
+ /**
100
+ * Create and confirm a sample payment for dashboard demonstration
101
+ */
102
+ createSamplePayment(ctx: Context): Promise<void>;
103
+ };
104
+ export default stripeController;