Commit 56317f4
authored
Register payment methods via action hook (#254)
Replace the large, hardcoded payment method registration block in Plugin::register_payment_methods() with a do_action('pronamic_pay_register_payment_methods', $this->payment_methods) call. Remove the ImageService import and delegation of default method registrations so integrations and external packages can register payment methods in plugin space. Update CHANGELOG.md to document the new action, the changed registration flow, the move of Pronamic default methods to the pronamic-pay-default-payment-methods package, and a fix for Billink and Focum image assignment.1 parent e3e7cd2 commit 56317f4
2 files changed
Lines changed: 18 additions & 549 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
9 | 22 | | |
10 | 23 | | |
11 | 24 | | |
| |||
0 commit comments