f-klubben / stregsystemet

The very public stregsystem repo
Other
38 stars 50 forks source link

Automatic refilling of stregkonto #374

Open JakobTopholt opened 1 year ago

JakobTopholt commented 1 year ago

A young fember suggested, and implied that he would make it (as so many have done with their ideas over time), a feature by which you automatically transfer fund to your stregkonto as the balanced goes below 20.

This would be a checkmark under user info.

krestenlaust commented 1 year ago

I'm not sure I understand, aren't the funds transferred from mobilepay? How would the stregsystem authorize a mobilepay transaction on behalf of a fember?

falkecarlsen commented 1 year ago

Mobilepay subscriptions does not allow to increase the timewise recurring payment, only decrease it. https://www.mobilepay.dk/hjaelp/mobilepay-til-erhverv/mobilepay-subscriptions/brug/kan-jeg-aendre-abonnementsbeloebet#scroll

A simple-to-implement fix is dropping the fember a mail with a MobilePay QR-code embedded. The amount can be suggested to be the historical monthly usage of the given fember, that way we do not need to implement yet another straight bonkers MobilePay API, and obtain a similar effect; the fember will typically always have a positive balance, and will most often top-up only once a month.