payment/saferpay-bundle

Saferpay payment service library for symfony

Installs: 1 109

Dependents: 1

Stars: 2

Watchers: 4

Forks: 3

Open Issues: 4

Language: PHP

2.0.6 2013-11-06 10:36 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