Add randomness to the reference when setting up gocardless
authorMagnus Hagander <magnus@hagander.net>
Sun, 22 Dec 2024 10:34:09 +0000 (11:34 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sun, 22 Dec 2024 10:34:09 +0000 (11:34 +0100)
commit8fa33817e65cb1d32dbb931804abf8645a54d82c
tree287ff503ac52869a4d5bd4813bd3f7498049e621
parent4c22c96752ea7e1bc2fbd1ac9e7858b966734fb5
Add randomness to the reference when setting up gocardless

We must pass a unique reference to gocardless and if our existing one
expired we cannot re-use the one. So add a random uuid to the reference
string and hope that solves it.
postgresqleu/util/payment/gocardless.py