• Stars
    star
    114
  • Rank 308,031 (Top 7 %)
  • Language
    PHP
  • License
    MIT License
  • Created over 10 years ago
  • Updated about 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Payment processing microservice. Written in Symfony4

Supporting Payum

Payum is an MIT-licensed open source project with its ongoing development made possible entirely by the support of community and our customers. If you'd like to join them, please consider:


PayumServer.

Join the chat at https://gitter.im/Payum/Payum Build Status Total Downloads Latest Stable Version

PHP 7.1+ Payment processing server. Setup once and rule them all. Here you can find a good introduction to what it does and what problems it solves.

Try it online:

Run local server

Create docker-compose.yml file:

version: '2'
services:
  payum-server:
    image: payum/server
    environment:
      - PAYUM_MONGO_URI=mongodb://mongo:27017/payum_server
      - PAYUM_DEBUG=1
    links:
      - mongo
    ports:
      - "8080:80"

  mongo:
    image: mongo

and run docker-compose up. You server will be at localhost:8080 port.

Test local server

  1. Copy .test.env.dist to .test.env
  2. Run bin/phpunit

Docker registry

The payum/server image and payum/server-ui are built automatically on success push to the master branch.

Setup & Run

$ php composer.phar create-project payum/payum-server --stability=dev
$ cd payum-server
$ php -S 127.0.0.1:8000 web/app.php

An example on javascript:

  // do new payment
  var payum = new Payum('http://localhost:8000');
    
  var payment = {totalAmount: 100, currencyCode: 'USD'};

  payum.payment.create(payment, function(payment) {
    var token = {
        type: 'capture',
        paymentId: payment.id,
        afterUrl: 'http://afterPaymentIsDoneUrl'
    };

    payum.token.create(token, function(token) {
      // do redirect to token.targetUrl or process at the same page like this:
      payum.execute(token.targetUrl, '#payum-container');
    });
  });

Note: You might need a web client to manage payments gateways or you can use REST API.

Site

Developed by Forma-Pro

Forma-Pro is a full stack development company which interests also spread to open source development. Being a team of strong professionals we have an aim an ability to help community by developing cutting edge solutions in the areas of e-commerce, docker & microservice oriented architecture where we have accumulated a huge many-years experience. Our main specialization is Symfony framework based solution, but we are always looking to the technologies that allow us to do our job the best way. We are committed to creating solutions that revolutionize the way how things are developed in aspects of architecture & scalability.

If you have any questions and inquires about our open source development, this product particularly or any other matter feel free to contact at [email protected]

License

Code MIT licensed.

More Repositories

1

Payum

PHP Payment processing library. It offers everything you need to work with payments: Credit card & offsite purchasing, subscriptions, payouts etc.
PHP
1,834
star
2

PayumBundle

Payum offers everything you need to work with payments. From simplest use cases to very advanced ones.
PHP
566
star
3

PayumLaravelPackage

Payum offers everything you need to work with payments. From simplest use cases to very advanced ones.
PHP
121
star
4

Core

[READ-ONLY] Subtree split of the Payum\Core Component -- clone into Payum/Core/ (master at payum/payum)
PHP
45
star
5

PaypalExpressCheckoutNvp

[READ-ONLY] Subtree split of the Payum PaypalExpressCheckoutNvp Component -- clone into Payum/Paypal/ExpressCheckout/Nvp/ (master at payum/payum)
PHP
45
star
6

Offline

[READ-ONLY] Subtree split of the Payum Offline Component -- clone into Payum/Offline/ (master at payum/payum)
PHP
28
star
7

OmnipayBridge

This bridge allows you to use Omnipay gateways but in Payum like way.
PHP
22
star
8

PayumModule

Rich payment solutions for zend framework2. Paypal, payex, authorize.net, be2bill, omnipay, recurring paymens, instant notifications and many more
PHP
20
star
9

Stripe

[READ-ONLY] Subtree split of the Payum Stripe Component -- clone into Payum/Stripe/ (master at payum/payum)
PHP
17
star
10

PayumYiiExtension

Rich payment solutions for Yii framework. Paypal, payex, authorize.net, be2bill, omnipay, recurring paymens, instant notifications and many more
PHP
12
star
11

Skeleton

This extension Easier new extension development. Use it as base for your new gateway extension.
PHP
9
star
12

PaypalIpn

[READ-ONLY] Subtree split of the Payum PaypalIpn Component -- clone into Payum/Paypal/Inp/ (master at payum/payum)
PHP
8
star
13

OmnipayV3Bridge

The bridge for omnipay v3 library
PHP
7
star
14

PayumSilexProvider

Rich payment solutions for Silex framework: Paypal, Stripe, Payex, Authorize.NET, Be2bill, Klarna, recurring paymens, instant notifications and many more
PHP
6
star
15

PaypalRest

[READ-ONLY] Subtree split of the Payum PaypalRest Component -- clone into Payum/Paypal/Rest/ (master at payum/payum)
PHP
4
star
16

PayumServerUI

The client for PayumServer.
JavaScript
4
star
17

PayumClientNodeJS

The Node.js client for PayumServer
JavaScript
3
star
18

PaypalProCheckoutNvp

[READ-ONLY] Subtree split of the Payum PaypalProCheckoutNvp Component -- clone into Payum/Paypal/ProCheckout/Nvp/ (master at payum/payum)
PHP
2
star
19

JMSPaymentBridge

This bridge allows you to use jms payment plugins but in payum like way
PHP
1
star
20

Payex

[READ-ONLY] Subtree split of the Payum Payex Component -- clone into Payum/Payex/ (master at payum/payum)
PHP
1
star
21

PaypalMasspayNvp

[READ-ONLY] Subtree split of the src/Payum/Paypal/Masspay.Nvp from payum/payum
PHP
1
star
22

Sofort

[READ-ONLY] Subtree split of the Payum Sofort Component -- clone into Payum/Sofort/ (master at payum/payum)
PHP
1
star
23

Be2Bill

[READ-ONLY] Subtree split of the Payum Be2Bill Component -- clone into Payum/Be2Bill/ (master at payum/payum)
PHP
1
star
24

AuthorizeNetAim

[READ-ONLY] Subtree split of the Payum AuthorizeNetAim Component -- clone into Payum/AuthorizeNet/Aim/ (master at payum/payum)
PHP
1
star
25

KlarnaCheckout

[READ-ONLY] Subtree split of the Payum KlarnaCheckout Component -- clone into Payum/Klarna/Checkout/ (master at payum/payum)
PHP
1
star
26

PaypalProHostedNvp

[READ-ONLY] Subtree split of the Payum PaypalProHostedNvp Component -- clone into Payum/Paypal/ProHosted/Nvp/ (master at payum/payum)
PHP
1
star