f-klubben / stregsystemet

The very public stregsystem repo
Other
37 stars 47 forks source link

Automatic refilling of stregkonto #374

Open JakobTopholt opened 10 months ago

JakobTopholt commented 10 months 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 10 months 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 10 months 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.