2017 © Pedro Peláez
 

symfony-bundle payment-bundle

Symfony2 bundle integrating various e-payment providers

image

astina/payment-bundle

Symfony2 bundle integrating various e-payment providers

  • Monday, July 10, 2017
  • by pkraeutli
  • Repository
  • 18 Watchers
  • 3 Stars
  • 6,336 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 29 Versions
  • 1 % Grown

The README.md

AstinaPaymentBundle

SensioLabsInsight, (*1)

Datatrans Provider

Service configuration:, (*2)

<service id="astina_payment.provider" class="Astina\PaymentBundle\Provider\Datatrans\Provider">
    <argument>%astina_payment.datatrans.merchantid%</argument>
    <argument>%astina_payment.datatrans.serviceurl%</argument>
    <argument>%astina_payment.datatrans.authorizexmlurl%</argument>
    <argument>%astina_payment.datatrans.capturexmlurl%</argument>
    <argument>%astina_payment.datatrans.sign%</argument>
    <argument>%astina_payment.datatrans.sign2%</argument>
    <argument type="service" id="logger" />
</service>

Paypal Provider

The Paypal provider is using the NVP API. See the documentation for details., (*3)

The following API methods are implemented:, (*4)

Service configuration:, (*5)

<service id="astina_payment.provider" class="Astina\PaymentBundle\Provider\Paypal\Provider">
    <argument>%astina_payment.paypal.api_username%</argument>
    <argument>%astina_payment.paypal.api_password%</argument>
    <argument>%astina_payment.paypal.api_signature%</argument>
    <argument>%astina_payment.paypal.api_endpoint%</argument>
    <argument>%astina_payment.paypal.paypal_url%</argument>
    <argument>%astina_payment.paypal.subject%</argument>
    <argument type="service" id="logger" />
    <argument>%astina_payment.paypal.version%</argument> <!-- optional, defaults to 53.0 -->
</service>

Saferpay Provider

The Saferpay provider is using the HTTPS API (V4.1.6)., (*6)

Documenation: https://astina.atlassian.net/wiki/download/attachments/3932162/Saferpay+Payment+Page+V4.1.6+EN.pdf, (*7)

Service Configuration:, (*8)

<service id="astina_payment.provider" class="Astina\PaymentBundle\Provider\Saferpay\Provider">
    <argument>%astina_payment.saferpay.endpoint%</argument>
    <argument>%astina_payment.saferpay.accountId%</argument>
    <argument>%astina_payment.saferpay.vtconfig%</argument> <!-- optional -->
    <argument type="service" id="logger" />
</service>

Computop Provider

Only authorization is implemented for now., (*9)

<service id="astina_payment.provider" class="Astina\Bundle\PaymentBundle\Provider\Computop\Provider">
    <argument>[merchant id]</argument>
    <argument>[password]</argument>
    <argument>[hmac key]</argument>
    <argument>[testing mode true|false]</argument>
</service>

Updating to version 2.0

This release introduces a $testmode variable for HttpsSaferpayEndpoint.php. If the testmode is set to true, the payment information will be sent to the testing API 'https://test.saferpay.com/hosting/'., (*10)

To adapt the testmode variable in your project, follow these steps:, (*11)

  • In your composer.json, make sure that version 2.0.x is used: "astina/payment-bundle": "~2.0", (*12)

  • In your services.xml where you define the SaferpayEndpoint service, add the testmode as argument:, (*13)

    <service id="astina_payment.saferpay.endpoint" class="%astina_payment.saferpay.endpoint.class%">
        <argument type="service" id="logger" />
        <argument>%astina_payment.saferpay.accountId%</argument>
        <argument>%astina_payment.saferpay.password%</argument>
        <argument>%astina_payment.saferpay.testmode%</argument>
    </service>
  • In your parameters.yml, set the environment to either true (for testing) or false (production)., (*14)

  • In your parameters.yml.dist, don't forget to set the default value astina_payment.saferpay.testmode: true., (*15)

The Versions

10/07 2017

dev-master

9999999-dev http://astina.ch

Symfony2 bundle integrating various e-payment providers

  Sources   Download

MIT

The Requires

 

injection astina

10/07 2017

2.0.2

2.0.2.0 http://astina.ch

Symfony2 bundle integrating various e-payment providers

  Sources   Download

MIT

The Requires

 

injection astina

10/07 2017

dev-computop-fix-v1

dev-computop-fix-v1 http://astina.ch

Symfony2 bundle integrating various e-payment providers

  Sources   Download

MIT

The Requires

 

injection astina

10/07 2017

1.1.21

1.1.21.0 http://astina.ch

Symfony2 bundle integrating various e-payment providers

  Sources   Download

MIT

The Requires

 

injection astina

05/08 2016

2.0.1

2.0.1.0 http://astina.ch

Symfony2 bundle integrating various e-payment providers

  Sources   Download

MIT

The Requires

 

injection astina

05/08 2016

2.0.0

2.0.0.0 http://astina.ch

Symfony2 bundle integrating various e-payment providers

  Sources   Download

MIT

The Requires

 

injection astina

05/08 2016

1.1.20

1.1.20.0 http://astina.ch

Symfony2 bundle integrating various e-payment providers

  Sources   Download

MIT

The Requires

 

injection astina

14/07 2016

1.1.19

1.1.19.0 http://astina.ch

Symfony2 bundle integrating various e-payment providers

  Sources   Download

MIT

The Requires

 

injection astina

27/05 2016

1.1.18

1.1.18.0 http://astina.ch

Symfony2 bundle integrating various e-payment providers

  Sources   Download

MIT

The Requires

 

injection astina

27/05 2016

1.1.17

1.1.17.0 http://astina.ch

Symfony2 bundle integrating various e-payment providers

  Sources   Download

MIT

The Requires

 

injection astina

28/08 2014

dev-computop-paypal

dev-computop-paypal http://astina.ch

Symfony2 bundle integrating various e-payment providers

  Sources   Download

MIT

The Requires

 

injection astina

16/12 2013

1.1.16

1.1.16.0 http://astina.ch

Symfony2 bundle integrating various e-payment providers

  Sources   Download

MIT

The Requires

 

injection astina

12/11 2013

1.1.15

1.1.15.0 http://astina.ch

Symfony2 bundle integrating various e-payment providers

  Sources   Download

MIT

The Requires

 

injection astina

06/09 2013

1.1.14

1.1.14.0 http://astina.ch

Symfony2 bundle integrating various e-payment providers

  Sources   Download

MIT

injection astina

15/08 2013

1.1.12

1.1.12.0 http://astina.ch

Symfony2 bundle integrating various e-payment providers

  Sources   Download

MIT

injection astina

24/05 2013

1.1.11

1.1.11.0

  Sources   Download

17/05 2013

1.1.10

1.1.10.0

  Sources   Download

15/05 2013

1.1.9

1.1.9.0

  Sources   Download

15/05 2013

1.1.8

1.1.8.0

  Sources   Download

21/03 2013

1.1.7

1.1.7.0

  Sources   Download

20/03 2013

1.1.6

1.1.6.0

  Sources   Download

19/03 2013

1.1.5

1.1.5.0

  Sources   Download

19/03 2013

1.1.4

1.1.4.0

  Sources   Download

27/02 2013

1.1.3

1.1.3.0

  Sources   Download

26/02 2013

1.1.2

1.1.2.0

  Sources   Download

13/02 2013

1.1.1

1.1.1.0

  Sources   Download

28/01 2013

1.1.0

1.1.0.0

  Sources   Download

05/12 2012

1.0.1

1.0.1.0

  Sources   Download

22/11 2012

1.0.0

1.0.0.0

  Sources   Download