config/payment – Kohana API 2.3 Documentation

system/config/payment.php

default

Settings related to the Payment library. This file has settings for each driver. You should copy the 'default' and the specific driver you are working with to your application/config/payment.php file.

Options:

driver
default driver to use
test_mode
Turn TEST MODE on or off
curl_settings
Set any custom cURL settings here. These defaults usualy work well.
see http://us.php.net/manual/en/function.curl-setopt.php for details

Default value: array

Authorize

Authorize.net Options:

auth_net_login_id
the transaction login ID; provided by gateway provider
auth_net_tran_key
the transaction key; provided by gateway provider

Default value: array

Yourpay

YourPay.net Options:

merchant_id
the merchant ID number
certificate
the location on your server of the certificate file.

Default value: array

Trustcommerce

TrustCommerce Options:

custid
the customer ID assigned to you by TrustCommerce
password
the password assigned to you by TrustCommerce
media
"cc" for credit card or "ach" for ACH.
tclink_library
the location of the tclink library (relative to your index file) you need to compile to get this driver to work.

Default value: array

Trident

TridentGateway Options:

profile_id
the profile ID assigned to you by Merchant e-Services
profile_key
the profile password assigned to you by Merchant e-Services
transaction_type
D=Sale, C=Credit, P=Pre-Auth, O=Offline, V-Void, S=Settle Pre-Auth, U=Refund, T= Store card data., X=Delete Card Store Data

Default value: array

Paypal

PayPal Options:

API_UserName
the username to use
API_Password
the password to use
API_Signature
the api signature to use
ReturnUrl
the URL to send the user to after they login with paypal
CANCELURL
the URL to send the user to if they cancel the paypal transaction
CURRENCYCODE
the Currency Code to to the transactions in (What do you want to get paid in?)

Default value: array

Paypalpro

PayPalpro Options:

USER
API user name to use
PWD
API password to use
SIGNATURE
API signature to use

ENDPOINT
API url used by live transaction

SANDBOX_USER
User name used in test mode
SANDBOX_PWD
Pass word used in test mode
SANDBOX_SIGNATURE
Security signiature used in test mode
SANDBOX_ENDPOINT
API url used for test mode transaction

VERSION
API version to use
CURRENCYCODE
can only currently be USD

Default value: array