digital-link / saferpay-bundle
Saferpay支付服务库,用于symfony框架
2.0.7
2015-01-06 07:19 UTC
Requires
- php: >=5.3.3
- digital-link/saferpay: 2.*
- symfony/config: >=2.1.0,<3.0
- symfony/dependency-injection: >=2.1.0,<3.0
- symfony/http-kernel: >=2.1.0,<3.0
Requires (Dev)
- phpunit/phpunit: 3.7.*
README
作为symfony扩展包的saferpay支付服务的一个简单非官方实现。
安装
composer.json
{
"require": {
"payment/saferpay-bundle": "2.*"
}
}
app/AppKernel.php
new Payment\Bundle\SaferpayBundle\PaymentSaferpayBundle(),
app/config/config.yml (完整的配置输出 - 无需设置,默认值已设置)
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: ~