Skip to content

Conversation

@ValtteriTuni
Copy link

closes #550

What is in this pr:

Add qr-code for bank payment for my account page

  • EPC QR code using segno
  • ref number, IBAN, BIC, amount, beneficiary are pre-filled when scanned
  • Uses svg format

Basic test for svg functionality for EPC QR code generation for bank payments

Copy link
Member

@tswfi tswfi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The call for generation from template can be simplified (and I would rename it to "generate_epc_qr_code_for_subscriotion" or something like that to make it clear that it only for subscriptions.

Otherwise this looks great 👍

<td>{% trans 'Payment QR Code' %}</td>
<td>
<p class="text-muted">{% trans 'Scan with your banking app to pay' %}</p>
{% payment_qr_code subscription bank_iban bank_bic bank_name %}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Subscription should be enough for this call. Iban, bic and others can be read from settings in the method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Generate bank payment QR code on my account page for services

2 participants