Skip to content
Permalink
Browse files

Fix girocode by strip spaces from BIC

  • Loading branch information...
ibot3 committed Apr 30, 2019
1 parent 5b02a1b commit 16a644bdd835d65cb74614bc27ace7066b3bcfc9
Showing with 1 addition and 1 deletion.
  1. +1 −1 sipa/blueprints/usersuite.py
@@ -155,7 +155,7 @@ def generate_epc_qr_code(details: PaymentDetails, months):
"BCD\n001\n1\nSCT\n{bic}\n{recipient}\n{iban}\nEUR{amount}\n\n\n{purpose}\n\n"

return EPC_FORMAT.format(
bic=details.bic,
bic=details.bic.replace(' ', ''),
recipient=details.recipient,
iban=details.iban.replace(' ', ''),
amount=months * MEMBERSHIP_CONTRIBUTION / 100,

0 comments on commit 16a644b

Please sign in to comment.
You can’t perform that action at this time.