Skip to content

Commit

Permalink
minor #109 README improvements (Zales0123)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.0-dev branch.

Discussion
----------



Commits
-------

9d1e1db README improvements
  • Loading branch information
Zales0123 authored Sep 22, 2020
2 parents 7c77e21 + 9d1e1db commit b85703a
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,16 @@
requirements:
_locale: ^[A-Za-z]{2,4}(_([A-Za-z]{4}|[0-9]{3}))?(_([A-Za-z]{2}|[0-9]{3}))?$
#config/routes/sylius_admin.yaml
# config/routes/sylius_admin.yaml
sylius_paypal_admin:
resource: "@SyliusPayPalPlugin/Resources/config/admin_routing.yml"
prefix: /admin
# config/routes.yaml
sylius_paypal_webhook:
resource: "@SyliusPayPalPlugin/Resources/config/webhook_routing.yaml"
```

3. Import configuration
Expand All @@ -50,12 +55,26 @@
4. Add env variables
### Sandbox
```
#.env
PAYPAL_API_BASE_URL='https://api.sandbox.paypal.com/'
# just for now, it will be eventually hardcoded (as we always want to use Sylius PayPal facilitator)
# just for now, it will be eventually hardcoded (as we always want to use Sylius PayPal facilitator)
PAYPAL_FACILITATOR_URL='https://paypal.sylius.com'
PAYPAL_TRACKING_ID='sylius-ppcp4p-bn-code'
```
### Live
```
#.env
PAYPAL_API_BASE_URL='https://api.paypal.com/'
# just for now, it will be eventually hardcoded (as we always want to use Sylius PayPal facilitator)
PAYPAL_FACILITATOR_URL='https://prod.paypal.sylius.com'
PAYPAL_TRACKING_ID='sylius-ppcp4p-bn-code'
```
5. Copy and apply migrations
Expand Down

0 comments on commit b85703a

Please sign in to comment.