digital-link/saferpay-bundle

Saferpay payment service library for symfony

Installs: 77

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 5

Forks: 6

Type:symfony-bundle

2.0.7 2015-01-06 07:19 UTC

This package is not auto-updated.

Last update: 2020-10-30 19:59:02 UTC


README

A simple inofficial implementation of the saferpay payment service as a symfony bundle.

Build Status Total Downloads Latest Stable Version Latest Unstable Version

installation

composer.json

{
    "require": {
        "payment/saferpay-bundle": "2.*"
    }
}

app/AppKernel.php

new Payment\Bundle\SaferpayBundle\PaymentSaferpayBundle(),

app/config/config.yml (Full config dump - no need to setup this, default values are set)

payment_saferpay:
    logger:
        serviceid:            logger
    httpclient:
        serviceid:            payment.saferpay.httpclient.buzz
    payinitparameter:
        serviceid:            payment.saferpay.payinitparameter.default
        data:
            accountid:            ~ # insert here your accountid (test-account: 99867-94913159)
            amount:               ~
            currency:             ~
            description:          ~
            orderid:              ~
            vtconfig:             ~
            successlink:          ~
            faillink:             ~
            backlink:             ~
            notifyurl:            ~
            autoclose:            ~
            ccname:               ~
            notifyaddress:        ~
            usernotify:           ~
            langid:               ~
            showlanguages:        ~
            paymentmethods:       ~
            duration:             ~
            cardrefid:            ~
            delivery:             ~
            appearance:           ~
            address:              ~
            company:              ~
            gender:               ~
            firstname:            ~
            lastname:             ~
            street:               ~
            zip:                  ~
            city:                 ~
            country:              ~
            email:                ~
            phone:                ~

usage

controller

See Test SaferpayController