forked from uncloud/uncloud
Move STRIPE_PUBLIC_KEY to secrets (i.e. local configuration)
This commit is contained in:
parent
7bbc729b87
commit
545727afe7
3 changed files with 3 additions and 6 deletions
|
|
@ -64,7 +64,7 @@ def handle_stripe_error(f):
|
|||
# Actual Stripe logic.
|
||||
|
||||
def public_api_key():
|
||||
return uncloud.settings.STRIPE_PUBLIC_KEY
|
||||
return uncloud.secrets.STRIPE_PUBLIC_KEY
|
||||
|
||||
def get_customer_id_for(user):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue