Pepguy commited on
Commit
9d9dc43
·
verified ·
1 Parent(s): 33fc8ff

Update app.js

Browse files
Files changed (1) hide show
  1. app.js +4 -1
app.js CHANGED
@@ -163,13 +163,16 @@ app.post('/create-payment-link', express.json(), async (req, res) => {
163
  metadata: {
164
  userId,
165
  },
166
- custom_fields: [
 
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,