alexmorrisnz / moodle-paygw_stripe

https://moodle.org/plugins/paygw_stripe
10 stars 12 forks source link

feat: add automatic invoicing #30

Open DerTimonius opened 6 months ago

DerTimonius commented 6 months ago

Description

This PR adds the option of creating automated invoices when selling a course. I had to implement this at work, so I thought I might as well contribute to this plugin!

Regarding the invoice_creation.invoice_data field: There has to be some information saved for the creation to work, but if the invoice creation is not enabled, nothing happens.

Closes #21