Skip to content

Add Thalia Pay payment methods to admin and user frontend

Job Doesburg requested to merge add-thalia-pay-to-payment-model into master

Closes #930 (closed) #933 (closed) #934 (closed)

Short description

TPAY payments are added to the model, options are added to the admin to select Thalia Pay as payment type (only if user has it enabled) and buttons are added to the frontend for pizzas and event registrations.

NOTE: THALIA_PAY_ENABLED_PAYMENT_METHOD in /concrexit/website/thaliawebsite/settings/settings.py should be set to True for the payment method to appear for users.

NOTE: The API still needs changes to make this work on the ThaliApp!

Steps to use this feature

  1. Add a bank account with direct debit mandate to a user
  2. Try to register for events. A 'Pay with Thalia Pay' button should appear; On cancellation, the payment will be removed; In the admin view, Thalia Pay can only be selected if people have it available. Otherwise the option will be disabled
  3. Try to order pizzas. A 'Pay with Thalia Pay' button should appear; On cancellation, the payment will be removed; In the admin view, Thalia Pay can only be selected if people have it available. Otherwise the option will be disabled
Edited by Job Doesburg

Merge request reports

Loading