承接 planetpay/planet-sylius-payment-plugin 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

planetpay/planet-sylius-payment-plugin

最新稳定版本:1.2.2

Composer 安装命令:

composer require planetpay/planet-sylius-payment-plugin

包简介

PlanetPay payment plugin for Sylius.

README 文档

README

Planet Pay logo

Installation

  1. Install the plugin ()
     composer require planetpay/planet-sylius-payment-plugin
    
  2. Enable this plugin :

     <?php
        
     # config/bundles.php
        
     return [
         // ...
         PlanetPay\SyliusPaymentPlugin\PlanetPaySyliusPaymentPlugin::class => ['all' => true],
         // ...
     ];
    
  3. Import packages configuration

     # config/packages/planetpay_sylius.yaml
    
     imports:
     - { resource: "@PlanetPaySyliusPaymentPlugin/config/config.yaml" }
    
  4. Import routes configuration

     # config/routes/sylius_planetpay.yaml
    
    sylius_planetpay:
        resource: "@PlanetPaySyliusPaymentPlugin/config/routes.yaml"
    
  5. Doctrine schema update
    php bin/console doctrine:migrations:diff
    php bin/console doctrine:migrations:migrate
    
  6. Copy assets
    php vendor/planetpay/planet-sylius-payment-plugin/etc/build/copy_assets.php
    
  7. Clear cache
    php bin/console cache:clear
    

Configuration

  • Go to the admin area.
  • Log in.
  • Click on the left menu item "CONFIGURATION > Payment methods".
  • Create a new payment method type "Planet Pay":
  • The next chapter will explain how to fill the payment method creation form.

Payment Method configuration

A form will be displayed, fill-in the required fields :

1. The "code" field (ex: "planet_pay").

💡 The code field defines the gateway name and is required for the plugin to function correctly. Each payment method must use one of the following codes exactly as listed below to ensure proper webhook handling and payment processing:

CodeMethod
planet_payAll payments
planet_pay_apayApple Pay
planet_pay_blikBlik
planet_pay_cardPayment Card
planet_pay_gpayGoogle Pay
planet_pay_pblTransfer Online

2. Choose which channels this payment method will be affected to.

3. The gateway configuration:

Fill in the following mandatory fields in the gateway configuration form:

  • MID your PlanetPay account MID
  • Secret the secret API key
  • Order description visible to the customer
  • Webhook key used to sign notifications

4. Give to this payment method a display name (and optional a description) for each language you need.

Finally, click on the "Create" button to save your new payment method.

API keys

Get your mid and your secret on your Planet Pay dashboard :

https://planetpay.pl/

Configuration address URL

TypeURL
Notification URL/planetpay/payments/notification
Return URL/planetpay/payments/successpage

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

License

Please see the License File for more information about licensing.

统计信息

  • 总下载量: 21
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: OSL-3.0
  • 更新时间: 2025-11-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固