承接 paymob/symfony-bundle 相关项目开发

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

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

paymob/symfony-bundle

最新稳定版本:1.0.0

Composer 安装命令:

composer require paymob/symfony-bundle

包简介

Paymob Payment for Symfony.

README 文档

README

Installation

  1. Install the Paymob Payment bundle for Symfony via paymob/symfony-bundle composer.

    composer require paymob/symfony-bundle
    
  2. Add the below route in the config/routes.yaml file of your project:

paymob_symfony:
    resource: '@PaymobSymfonyBundle/Resources/config/routing.yaml'
  1. In case your Application doesn't use Symfony Flex, you should enable the bundle manually by adding below line in config/bundles.php file:
return [
    // ...
    Paymob\SymfonyBundle\PaymobSymfonyBundle::class => ['all' => true]
];
  1. Customize the process and callback actions that exist in vendor/paymob/symfony-bundle/src/Controller/ProcessController.php file as per your needs.

Configuration

Paymob Account

  1. Login to the Paymob account → Setting in the left menu.
  2. Get the Secret, public, API keys, HMAC and Payment Methods IDs (integration IDs).

Merchant Configurations

  1. Edit the vendor/paymob/symfony-bundle/src/Resources/config/services.yaml file and paste each key in its place.
  2. Please ensure adding the integration IDs separated by comma ,. These IDs will be shown in the Paymob payment page.
  3. Copy integration callback URL that exists in services.yaml file,replace only the {YourWebsiteURL} with your site domain. Then, paste it into each payment integration/method in Paymob account.

https://{YourWebsiteURL}/paymob/callback

  1. Below URL is considered as your website payment process for Paymob Payment. Just replace the {YourWebsiteURL} with the actual domain.

https://{YourWebsiteURL}/paymob/process

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2024-05-14