mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-29 18:52:22 +01:00
[bug] unable to set stripe public key in production
This commit is contained in:
parent
9ca64418e7
commit
956d865e4f
@ -1,5 +1,6 @@
|
||||
# Changelog Fab-manager
|
||||
|
||||
- Fix a bug: unable to set stripe public key in production
|
||||
- Fix a bug: health API is broken if ElasticSearch is not present
|
||||
- Fix a bug: unable to sync members with stripe
|
||||
- Fix a bug: version check is not working
|
||||
|
@ -1320,13 +1320,13 @@ Application.Controllers.controller('StripeKeysModalController', ['$scope', '$uib
|
||||
/* PUBLIC SCOPE */
|
||||
|
||||
// public key
|
||||
$scope.publicKey = stripeKeys.stripe_public_key;
|
||||
$scope.publicKey = stripeKeys.stripe_public_key || '';
|
||||
|
||||
// test status of the public key
|
||||
$scope.publicKeyStatus = undefined;
|
||||
|
||||
// secret key
|
||||
$scope.secretKey = stripeKeys.stripe_secret_key;
|
||||
$scope.secretKey = stripeKeys.stripe_secret_key || '';
|
||||
|
||||
// test status of the secret key
|
||||
$scope.secretKeyStatus = undefined;
|
||||
@ -1370,10 +1370,7 @@ Application.Controllers.controller('StripeKeysModalController', ['$scope', '$uib
|
||||
'Content-Type': 'application/x-www-form-urlencoded'
|
||||
},
|
||||
data: $httpParamSerializerJQLike({
|
||||
'card[number]': 4242424242424242,
|
||||
'card[cvc]': 123,
|
||||
'card[exp_month]': 12,
|
||||
'card[exp_year]': today.getFullYear().toString().substring(2),
|
||||
'pii[id_number]': 'test',
|
||||
})
|
||||
}).then(function () {
|
||||
$scope.publicKeyStatus = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user