Project
ruby-saferpay
The SCAI interface is used when the merchant wishes to keep the acquirer on her/his own website for the whole duration of the transaction (client payment details transits through *both* the merchant site and the saferpay database ) whereas VT implies a redirect to the saferpay site. == FEATURES/PROBLEMS: * supports both common credit cards and direct debit cards ("Lastschrift") * support for VT style payments is incomplete == SYNOPSIS: Init (info from saferpay test account; they're the same for all test accounts): @pan = "9451123100000004" # Saferpay test PAN @accountid = "99867-94913159" # Saferpay test ACCOUNTID @exp = "1107" # This will change for other test accounts I guess... Might just be three months ahead of Time.now @sfp = Saferpay.new( @accountid, @pan, @exp ) Reserve: <tt>@sfp.reserve(30000, "USD")</tt> Amounts are divided by 100. We're talking cents here, not dollars... Capture last transaction: <tt>@sfp.capture</tt> Capture with a transacaton ID "4hj34hj4hh34h4j3hj4h334": <tt>@sfp.capture("4hj34hj4hh34h4j3hj4h334")</tt> == REQUIREMENTS:
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
Development