mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-07 18:45:19 +00:00
Fixed wrong HMAC signature generation
This commit is contained in:
parent
14cd268d69
commit
3cf7be9aae
@ -181,7 +181,7 @@ class BillingInfo(models.Model):
|
|||||||
if self.address_2:
|
if self.address_2:
|
||||||
data["Address"]["Address2"] = self.address_2
|
data["Address"]["Address2"] = self.address_2
|
||||||
xml = dict2xml(data, wrap="Billing", newlines=False)
|
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):
|
def __str__(self):
|
||||||
return f"{self.first_name} {self.last_name}"
|
return f"{self.first_name} {self.last_name}"
|
||||||
|
@ -102,8 +102,8 @@
|
|||||||
</i>
|
</i>
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<form method="post" action="{{ settings.SITH_EBOUTIC_ET_URL }}" name="bank-pay-form">
|
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
<form method="post" action="{{ settings.SITH_EBOUTIC_ET_URL }}" name="bank-pay-form">
|
||||||
<template x-data x-for="input in $store.billing_inputs.data">
|
<template x-data x-for="input in $store.billing_inputs.data">
|
||||||
<input type="hidden" :name="input['key']" :value="input['value']">
|
<input type="hidden" :name="input['key']" :value="input['value']">
|
||||||
</template>
|
</template>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user