Skip to content

Commit 9f203ba

Browse files
committed
adding scheme support
1 parent 53feb90 commit 9f203ba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"dotenv": "^8.2.0",
1717
"ejs": "^3.0.1",
1818
"express": "^4.17.1",
19-
"fintecture-client": "^2.0.1",
19+
"fintecture-client": "^2.0.2",
2020
"path": "^0.12.7",
2121
"qrcode": "^1.4.4"
2222
}

pis-connect.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ app.post("/connect", async (req, res) => {
6868
//origin_uri: you can use any origin_uri (in case payeur abandons payment) ; default origin_uri is the last page he was on before redirecting to Connect
6969
psu_type: req.body.psu_type || 'retail',
7070
country: req.body.country || 'fr',
71-
scheme: (req.body.scheme == "auto")?'':req.body.scheme,
71+
scheme: req.body.scheme,
7272
expiry: req.body.expiry,
7373
scheduled_expiration_policy: req.body.scheduled_expiration_policy
7474
};

views/pis-connect/index.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<div class="form-group">
3939
<label for="Scheme">* Scheme</label>
4040
<select name="scheme">
41-
<option value="auto">Auto</option>
41+
<option value="AUTO">Auto</option>
4242
<option value="SEPA">SEPA</option>
4343
<option value="INSTANT_SEPA">INST</option>
4444
</select>

0 commit comments

Comments
 (0)