RubyGems Navigation menu

ruby-saferpay 0.0.9

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:

Versions:

  1. 0.0.9 - September 5, 2007 (18.5 KB)
  2. 0.0.8 - August 20, 2007 (18 KB)
  3. 0.0.7 - August 20, 2007 (18 KB)
  4. 0.0.5 - August 16, 2007 (15 KB)
  5. 0.0.4 - August 16, 2007 (14.5 KB)
Show all versions (7 total)

Authors:

  • David Palm (ELC Tecnologies)

Owners:

80f787cc625e7eb97114a463efa63b52

Total downloads 9,089

For this version 1,421

Show all versions (7 total)

Required Ruby Version: None

Licenses:

N/A

Gemfile:
gem 'ruby-saferpay', '~> 0.0.9' = Copy to clipboard Copied!

install:
gem install ruby-saferpay = Copy to clipboard Copied!

Links: