mirror of
https://github.com/ae-utbm/sith3.git
synced 2024-06-13 10:11:57 +00:00
Fixed wrong HMAC signature generation
This commit is contained in:
parent
7079761ffe
commit
b4d8d1a186
|
@ -181,7 +181,7 @@ class BillingInfo(models.Model):
|
|||
if self.address_2:
|
||||
data["Address"]["Address2"] = self.address_2
|
||||
xml = dict2xml(data, wrap="Billing", newlines=False)
|
||||
return '<?xml version="1.0" encoding="UTF-8" ?>\n' + xml
|
||||
return '<?xml version="1.0" encoding="UTF-8" ?>' + xml
|
||||
|
||||
def __str__(self):
|
||||
return f"{self.first_name} {self.last_name}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user