Download the PHP package setono/sylius-quickpay-plugin without Composer
On this page you can find all versions of the php package setono/sylius-quickpay-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package sylius-quickpay-plugin
Quickpay Payment plugin for Sylius
This plugin adds Quickpay as a payment option to Sylius.
Installation
1. Install plugin
2. Make sure the plugin is added to bundles.php
:
3. Import the config file
4. (Optional) Import fixtures to play in your app
`
5: Add validator constraint (optional)
Add this constraint if you are planning on using Klarna.
Create config/validator/Address.xml
:
Like it configured at example application.
Configuration
Create a new Payment method of the type Quickpay and fill out the required form fields.
Testing
Automated tests
Run composer tests
Manual testing
- Use credit card numbers from https://learn.quickpay.net/tech-talk/appendixes/test/#test-data
Troubleshooting
-
Validation error: Transaction in wrong state for this operation
after upgrading to Sylius v1.6After this commit,
use_authorize
config option should be strictlyboolean
typed. Update yourpayment_method
fixtures like done at this commit.At live app - open each quickpay payment method at admin and click save so hidden
use_authorize
form field will be stored in database in new format. -
Not authorized: Not authorized to PUT /payments/:id/link
at/payment/authorize/...
url:You should check at
https://manage.quickpay.net/account/{QUICKPAY_MERCHANT_ID}/settings/users
thatSystem users
>API User
>User permissions
>Create or update payment link
havePUT
checkbox checked. Also checkQUICKPAY_API_KEY
andQUICKPAY_AGREEMENT_ID
is filled withAPI User
's api key and agreement id rather thanPayment Window
's. -
Validation error: order_id already exists on another payment
Make sure you changed your
QUICKPAY_ORDER_PREFIX
at.env.*
to some unique string likeqp_<projectname>_<date>_
(whendate
should be updated to actual every time you recreate dev database) whenever you:- Recreating your database on dev environment and your order IDs become same as they was before
- Use
SetonoSyliusQuickpayPlugin
at two different projects but with same QuickPay (developer) account credentials
-
Validation error: order_id must have length between 4 and 20
You should cut your
QUICKPAY_ORDER_PREFIX
to 11 chars or less.
All versions of sylius-quickpay-plugin with dependencies
ext-json Version *
ext-mbstring Version *
doctrine/collections Version ^1.6
doctrine/orm Version ^2.7
fakerphp/faker Version ^1.21
payum/payum Version ^1.6
setono/payum-quickpay Version ^1.3
symfony/config Version ^5.4 || ^6.0
symfony/dependency-injection Version ^5.4 || ^6.0
symfony/form Version ^5.4 || ^6.0
symfony/http-foundation Version ^5.4 || ^6.0
symfony/http-kernel Version ^5.4 || ^6.0
symfony/intl Version ^5.4 || ^6.0
symfony/validator Version ^5.4 || ^6.0
viison/address-splitter Version ^0.3.4
webmozart/assert Version ^1.11
winzou/state-machine Version ^0.3 || ^0.4