fix: [opensem] remove the need to care about leading zeroes in rank
This commit is contained in:
@@ -37,7 +37,7 @@ opensem:
|
||||
paybox-system:
|
||||
paybox:
|
||||
test: true
|
||||
rank: "001" ## keep the double-quotes !
|
||||
rank: 1 ## no need for zeroes before !
|
||||
site: 2XXXX9
|
||||
id: 2XXXXX4
|
||||
hmac-key: "FFAXXXXX...XXXXX"
|
||||
|
||||
@@ -22,6 +22,8 @@ hmac_key=$(relation-get hmac-key) || {
|
||||
exit 1
|
||||
}
|
||||
|
||||
rank=$(printf "%03d" "$rank")
|
||||
|
||||
[ -n "$test" ] && opensem:config-set PAYBOX_TEST "$test"
|
||||
opensem:config-set PAYBOX_SITE "$site"
|
||||
opensem:config-set PAYBOX_RANK "$rank"
|
||||
|
||||
Reference in New Issue
Block a user