2017 © Pedro Peláez
 

project collect

The Payum extension. 統一客樂得黑貓宅急便金流

image

payum-tw/collect

The Payum extension. 統一客樂得黑貓宅急便金流

  • Friday, June 16, 2017
  • by recca0120
  • Repository
  • 1 Watchers
  • 5 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 0 Open issues
  • 12 Versions
  • 0 % Grown

The README.md

Collect

StyleCI Build Status Total Downloads Latest Stable Version Latest Unstable Version License Monthly Downloads Daily Downloads Scrutinizer Code Quality Code Coverage, (*1)

The Payum extension to rapidly build new extensions., (*2)

  1. Create new project
$ composer create-project payum-tw/collect
  1. Replace all occurrences of payum with your vendor name. It may be your github name, for now let's say you choose: collect.
  2. Replace all occurrences of collect with a payment gateway name. For example Stripe, Paypal etc. For now let's say you choose: collect.
  3. Register a gateway factory to the payum's builder and create a gateway:
<?php

use Payum\Core\PayumBuilder;
use Payum\Core\GatewayFactoryInterface;

$defaultConfig = [];

$payum = (new PayumBuilder)
    ->addGatewayFactory('collect', function(array $config, GatewayFactoryInterface $coreGatewayFactory) {
        return new \PayumTW\Collect\CollectGatewayFactory($config, $coreGatewayFactory);
    })

    ->addGateway('collect', [
        'factory' => 'collect',
        'link_id' => null,
        'hash_base' => null,
    ])

    ->getPayum();
  1. While using the gateway implement all method where you get Not implemented exception:
<?php

use Payum\Core\Request\Capture;

$collect = $payum->getGateway('collect');

$model = new \ArrayObject([
  // ...
]);

$collect->execute(new Capture($model));

Resources

License

Skeleton is released under the MIT License., (*3)

The Versions

16/06 2017

dev-master

9999999-dev http://payum.org

The Payum extension. 統一客樂得黑貓宅急便金流

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim
by Recca Tsai

payum 金流程式 payumtw 統一客樂得 黑貓宅急便

16/06 2017

v1.0.8

1.0.8.0 http://payum.org

The Payum extension. 統一客樂得黑貓宅急便金流

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim
by Recca Tsai

payum 金流程式 payumtw 統一客樂得 黑貓宅急便

11/03 2017

v1.0.7

1.0.7.0 http://payum.org

The Payum extension. 統一客樂得黑貓宅急便金流

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim
by Recca Tsai

payum 金流程式 payumtw 統一客樂得 黑貓宅急便

02/03 2017

v1.0.6

1.0.6.0 http://payum.org

The Payum extension. 統一客樂得黑貓宅急便金流

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim
by Recca Tsai

payum 金流程式 payumtw 統一客樂得 黑貓宅急便

18/01 2017

v1.0.5

1.0.5.0 http://payum.org

The Payum extension. 統一客樂得黑貓宅急便金流

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim
by Recca Tsai

payum 金流程式 payumtw 統一客樂得 黑貓宅急便

17/01 2017

v1.0.4

1.0.4.0 http://payum.org

The Payum extension. 統一客樂得黑貓宅急便金流

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim
by Recca Tsai

payum 金流程式 payumtw 統一客樂得 黑貓宅急便

08/01 2017

v1.0.3

1.0.3.0 http://payum.org

The Payum extension. 統一客樂得黑貓宅急便金流

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim
by Recca Tsai

payum 金流程式 payumtw 統一客樂得 黑貓宅急便

20/12 2016

v1.0.2

1.0.2.0 http://payum.org

The Payum extension. 統一客樂得黑貓宅急便金流

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim
by Recca Tsai

payum 金流程式 payumtw 統一客樂得 黑貓宅急便

20/12 2016

v1.0.1

1.0.1.0 http://payum.org

The Payum extension. 統一客樂得黑貓宅急便金流

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim
by Recca Tsai

payum 金流程式 payumtw 統一客樂得 黑貓宅急便

08/12 2016

v1.0.0

1.0.0.0 http://payum.org

The Payum extension. 統一客樂得黑貓宅急便金流

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim
by Recca Tsai

payum 金流程式 payumtw 統一客樂得 黑貓宅急便

07/12 2016

v0.0.2

0.0.2.0 http://payum.org

The Payum extension. 統一客樂得黑貓宅急便金流

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim
by Recca Tsai

payum 金流程式 payumtw 統一客樂得 黑貓宅急便

07/12 2016

v0.0.1

0.0.1.0 http://payum.org

The Payum extension. 統一客樂得黑貓宅急便金流

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kotlyar Maksim
by Recca Tsai

payum 金流程式 payumtw 統一客樂得 黑貓宅急便