summaryrefslogtreecommitdiffstats
path: root/eopayment/tipi.py
diff options
context:
space:
mode:
Diffstat (limited to 'eopayment/tipi.py')
-rw-r--r--eopayment/tipi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/eopayment/tipi.py b/eopayment/tipi.py
index 07fa089..78857a3 100644
--- a/eopayment/tipi.py
+++ b/eopayment/tipi.py
@@ -70,7 +70,7 @@ class Payment(PaymentCommon):
REFDET_RE = re.compile('^[a-zA-Z0-9]{6,30}$')
def _generate_refdet(self):
- return '%s%10d' % (isonow(), random.randint(1, 1000000000))
+ return '%s%010d' % (isonow(), random.randint(1, 1000000000))
def request(self, amount, next_url=None, exer=None, orderid=None,
refdet=None, objet=None, email=None, saisie=None, **kwargs):