Feature/Notable Change | Related Services | Links |
---|---|---|
Introduction of CreditAccountServices to support an alternative form of payment such as store credit. |
PaymentTransactionServices, Broadleaf’s StoreCredit Integration Library |
Path | Description |
---|---|
|
Read a customer’s store credit accounts |
|
Read a customer’s store credit account by account number |
|
Read a customer’s store credit account’s transactions |
|
Create a customer’s store credit account |
|
Deletes a customer’s store credit account |
|
Executes a credit transaction against a store credit account |
|
Executes a debit transaction against a store credit account |
This service needs to be registered with both the Commerce and Admin gateways, using the following configuration:
broadleaf:
gateway:
proxyurls:
creditaccount: https://localhost:8478
predicates:
creditaccount: /api/credit-account/**
filters:
creditaccount: /api/credit-account/?(?<segment>.*), /$\{segment}
spring:
cloud:
gateway:
routes:
- id: credit-account
uri: ${broadleaf.gateway.proxyurls.creditaccount}
predicates:
- Path=${broadleaf.gateway.predicates.creditaccount}
filters:
- RewritePath=${broadleaf.gateway.filters.creditaccount}
- ApplicationToken
broadleaf:
gateway:
proxyurls:
creditaccount: https://localhost:8478
predicates:
creditaccount: /api/credit-account/**
filters:
creditaccount: /api/credit-account/?(?<segment>.*), /$\{segment}
spring:
cloud:
gateway:
routes:
- id: credit-account
uri: ${broadleaf.gateway.proxyurls.creditaccount}
predicates:
- Path=${broadleaf.gateway.predicates.creditaccount}
filters:
- RewritePath=${broadleaf.gateway.filters.creditaccount}
There are new permissions and scopes for some service OAuth2 clients. Permissions and scopes can be added via admin or sql script.
See AuthServices release notes for more details.