Skip to content

Commit

Permalink
Merge pull request #58 from GSadee/display-available-payment-methods-…
Browse files Browse the repository at this point in the history
…in-checkout

Display available payment methods in checkout
  • Loading branch information
Zales0123 authored Jun 7, 2023
2 parents ec17fd1 + dd26b00 commit 2d58bff
Show file tree
Hide file tree
Showing 31 changed files with 723 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
!/etc/build/.gitignore

/tests/Application/yarn.lock
/tests/Application/templates/bundles/*
!/tests/Application/templates/bundles/.gitignore

/.phpunit.result.cache
/behat.yml
Expand Down
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@
"@phpstan",
"@psalm"
],
"link-templates": [
"ln -s $(pwd)/templates/bundles/* $(pwd)/tests/Application/templates/bundles"
],
"githooks:install": "cp -f etc/git-hooks/pre-commit .git/hooks/pre-commit",
"post-install-cmd": [
"php bin/create_node_symlink.php"
Expand Down
1 change: 1 addition & 0 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ git clone [email protected]:Sylius/PayPalPlugin.git
(cd tests/Application && bin/console assets:install)
(cd tests/Application && bin/console doctrine:database:create)
(cd tests/Application && bin/console doctrine:migrations:migrate -n)
composer link-templates
```

### Opening Sylius with your plugin
Expand Down
8 changes: 7 additions & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,13 @@ commerce_weavers_sylius_saferpay_admin:
bin/console doctrine:migrations:migrate -n
```

### 6. Rebuild the cache
### 6. Copy templates that are overridden by the plugin

```
cp -fr vendor/commerce-weavers/sylius-saferpay-plugin/templates/bundles/* templates/bundles
```

### 7. Rebuild the cache

```bash
bin/console cache:clear
Expand Down
22 changes: 22 additions & 0 deletions public/assets/images/payment_method_logos/ALIPAY.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions public/assets/images/payment_method_logos/AMEX.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions public/assets/images/payment_method_logos/APPLEPAY.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 2d58bff

Please sign in to comment.