Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Payment Bundle Laravel Package

astina/payment-bundle

View on GitHub
Deep Wiki
Context7

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.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
craftcms/url-validator
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony