15/09/22 - 15h00

master
ChérifBALDE 2022-10-08 19:23:42 +02:00 committed by cherif
parent a23d8e30ec
commit 93da5eff3b
2 changed files with 3 additions and 2 deletions

View File

@ -685,7 +685,7 @@ def update_partner_account(diction):
if tmp[0]['adr_city']:
my_stripe_data['city'] = str(tmp[0]['adr_city'])
my_stripe_data['name'] = "str(tmp[0]['adr_country'])"
my_stripe_data['country'] = ""
if ("adr_country" in tmp[0].keys()):
if tmp[0]['adr_country']:
my_stripe_data['country'] = str(tmp[0]['adr_country'])
@ -769,7 +769,7 @@ def valide_partnair_account(value):
my_stripe_data['city'] = str(tmp[0]['adr_city'])
my_stripe_data['name'] = "str(tmp[0]['adr_country'])"
my_stripe_data['adr_country'] = ""
if ("adr_country" in tmp[0].keys()):
if tmp[0]['adr_country']:
my_stripe_data['country'] = str(tmp[0]['adr_country'])

View File

@ -137,6 +137,7 @@ def get_customer_payement_cards(diction):
)
print(" ### customer_payments = "+str(customer_payments))
#print(" ### a retourern "+str(customer_payments['last4'])+" --- ") #+str(customer_payments.exp_year)+" --- "+str(customer_payments.exp_month)+" --- ")
return True
except Exception as e: