Class ActiveMerchant::Billing::PayboxDirectGateway
In: lib/active_merchant/billing/gateways/paybox_direct.rb
Parent: Gateway

Methods

authorize   capture   credit   new   purchase   refund   test?   void  

Constants

TEST_URL = 'https://preprod-ppps.paybox.com/PPPS.php'
LIVE_URL = 'https://ppps.paybox.com/PPPS.php'
LIVE_URL_BACKUP = 'https://ppps1.paybox.com/PPPS.php'
API_VERSION = '00103'   Payment API Version
TRANSACTIONS = { :authorization => '00001', :capture => '00002', :purchase => '00003', :unreferenced_credit => '00004', :void => '00005', :refund => '00014'   Transactions hash
CURRENCY_CODES = { "AUD"=> '036', "CAD"=> '124', "CZK"=> '203', "DKK"=> '208', "HKD"=> '344', "ICK"=> '352', "JPY"=> '392', "NOK"=> '578', "SGD"=> '702', "SEK"=> '752', "CHF"=> '756', "GBP"=> '826', "USD"=> '840', "EUR"=> '978'
SUCCESS_CODES = ['00000']
UNAVAILABILITY_CODES = ['00001', '00097', '00098']
FRAUD_CODES = ['00102','00104','00105','00134','00138','00141','00143','00156','00157','00159']
SUCCESS_MESSAGE = 'The transaction was approved'
FAILURE_MESSAGE = 'The transaction failed'

Public Class methods

Public Instance methods

[Validate]