Skip to content

The bundle integrates Przelewy24 payments with Symfony based applications. After the installation you should be able to create a payment method for przelewy24 gateway and enable its payments in your web application. Bundle also supports online refunds.

License

Notifications You must be signed in to change notification settings

SoftifyDev/PayumPrzelewy24Bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Payum Przelewy24 bundle

Payum Bundle for Przelewy24 online payment.

Overview

The bundle integrates Przelewy24 payments with Symfony based applications. After the installation you should be able to create a payment method for przelewy24 gateway and enable its payments in your web application. Bundle also supports online refunds and marketplace.

Installation

  1. Run composer require softify/payum-przelewy24-bundle.

  2. Add bundle dependencies to your config/bundles.php file:

   return [
       Softify\PayumPrzelewy24Bundle\PayumPrzelewy24Bundle::class => ['all' => true],
   ]
  1. Add PayumBundle routing to main configuration
payum_all:
    resource: "@PayumBundle/Resources/config/routing/all.xml"

Configuration

Create entities based on models from bundle

namespace App\Entity;

use Softify\PayumPrzelewy24Bundle\Entity\Payment as BasePayment;

class Payment extends BasePayment
{
}
namespace App\Entity;

use Softify\PayumPrzelewy24Bundle\Entity\PaymentToken as BasePaymentToken;

class PaymentToken extends BasePaymentToken
{
}

Add payum przelewy24 gateway configuration

payum:
    storages:
        App\Entity\Payment: { doctrine: orm }

    security:
        token_storage:
            App\Entity\PaymentToken: { doctrine: orm }

    gateways:
        przelewy24:
            factory: 'przelewy24'
            sandbox: boolean
            clientId: string
            clientSecret: string
            apiKey: string
            marketplace: boolean
            marketplaceApiKey: string
            marketplaceClientId: string
            marketplaceApiUri: string
            actions:
                invalidateCaptureToken: boolean

For marketplace Przelewy24 doesn't have sandbox.

About

The bundle integrates Przelewy24 payments with Symfony based applications. After the installation you should be able to create a payment method for przelewy24 gateway and enable its payments in your web application. Bundle also supports online refunds.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages