Restrict Payment Providers to Sales Channels (#1481)

* Allow to restrict payment providers to specific sales channels

* Fix test

* Add `payment_restrictions_supported`-property to SalesChannels
This commit is contained in:
Martin Gross
2019-11-12 17:11:43 +01:00
committed by Raphael Michel
parent 384e7f8fc1
commit 6896682dd1
8 changed files with 51 additions and 9 deletions

View File

@@ -137,6 +137,10 @@ DEFAULTS = {
'default': 'True',
'type': bool
},
'payment_resellers__restrict_to_sales_channels': {
'default': ['resellers'],
'type': list
},
'payment_term_accept_late': {
'default': 'True',
'type': bool