Code Monkey home page Code Monkey logo

astinapaymentbundle's Introduction

AstinaPaymentBundle

SensioLabsInsight

Datatrans Provider

Service configuration:

<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.

The following API methods are implemented:

Service configuration:

<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).

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

Service Configuration:

<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.

<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/'.

To adapt the testmode variable in your project, follow these steps:

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

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

      <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).

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

astinapaymentbundle's People

Contributors

pkraeutli avatar siegfriedgut avatar ajalovec avatar thilotanner avatar geekdevs avatar

Stargazers

Max avatar Nikolaus Schlemm avatar Milos Mladenovic avatar

Watchers

 avatar  avatar James Cloos avatar  avatar  avatar  avatar  avatar Dražen Perić avatar Marc Gasser avatar  avatar Ramun avatar  avatar Matej Velikonja avatar Raffaele Sandrini avatar AstinaBot Deploy avatar Sharon Funke avatar szitnik avatar  avatar Max avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.