Skip to content

Commit 61834a7

Browse files
committed
Added info about PayableUIExtension in readme.
1 parent 3d43ef4 commit 61834a7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,18 @@ This module contains the "Payments" ModelAdmin that was originally part of the o
2626
composer require bummzack/silverstripe-omnipay-ui
2727
```
2828

29+
### Adding the PayableUIExtension (optional)
30+
31+
If you have a `Payable` DataObject, eg. you added the `Payable` extension from the Omnipay module to some of your classes, you might also want to add the `PayableUIExtension`, which adds a GridField component to manipulate Payments.
32+
33+
So if you're running [SilverShop](https://packagist.org/packages/silvershop/core), you should also add the following to your `config.yml`
34+
35+
```yaml
36+
Order:
37+
extensions:
38+
- PayableUIExtension
39+
```
40+
2941
## Payment administration
3042
3143
Read the [Payment administration guide](docs/en/userdoc.md)

0 commit comments

Comments
 (0)