Spaces:
Sleeping
Sleeping
Update app.js
Browse files
app.js
CHANGED
|
@@ -163,13 +163,16 @@ app.post('/create-payment-link', express.json(), async (req, res) => {
|
|
| 163 |
metadata: {
|
| 164 |
userId,
|
| 165 |
},
|
| 166 |
-
|
|
|
|
| 167 |
{
|
| 168 |
display_name: 'User ID',
|
| 169 |
variable_name: 'user_id',
|
| 170 |
value: userId,
|
| 171 |
},
|
| 172 |
],
|
|
|
|
|
|
|
| 173 |
// optional properties
|
| 174 |
collect_phone,
|
| 175 |
fixed_amount,
|
|
|
|
| 163 |
metadata: {
|
| 164 |
userId,
|
| 165 |
},
|
| 166 |
+
|
| 167 |
+
/* custom_fields: [
|
| 168 |
{
|
| 169 |
display_name: 'User ID',
|
| 170 |
variable_name: 'user_id',
|
| 171 |
value: userId,
|
| 172 |
},
|
| 173 |
],
|
| 174 |
+
*/
|
| 175 |
+
|
| 176 |
// optional properties
|
| 177 |
collect_phone,
|
| 178 |
fixed_amount,
|