Categories: None [Edit]

ruby-saferpay

https://rubygems.org/gems/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:

Total

Ranking: 44,979 of 191,405
Downloads: 26,445

Daily

Ranking: 43,500 of 191,378
Downloads: 15

Depended by

RankDownloadsName

Depends on

RankDownloadsName
1,43429,050,542log4r
1,94415,166,304hpricot
2,3399,192,485hoe

Owners

#GravatarHandle
1icondvdplm