
Security News
Oxlint Introduces Type-Aware Linting Preview
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Ruby gem for interfacing with the iPay XML API
v0.2.0
v0.1.1
v0.1.0
v0.0.1
Create a configuration file 'ipay.yml' and place it in your apps config/ folder. The configuration file is automatically loaded for you and values are accessible via iPay::config struct.
Example configuration:
:url: "https://uap.txngw.com/"
:company_key: 6990
:terminal_id: 6177
:pin: 1234
You can also configure IPay via a block:
IPay::config do |c|
c.url = 'https://uap.txngw.com/'
c.company_key = 6990
c.terminal_id = 6177
c.pin = 1234
end
require 'ipay'
resp = IPay::CC::Debit.sale(
:amount => '4.99',
:account_number => '4000009999999991',
:cvv => 123,
:expiration => '0614',
:first_name => 'nick',
:last_name => 'wilson',
:address => '123 fake st',
:city => 'sometown',
:state => 'NY',
:postal_code => '90210',
:country => IPay::Countries.country_code(:us)
)
if resp.success?
puts resp.data[:transaction_id]
end
IPay requires that test accounts submit an xml file of compiled responses before allowing an account to be used in production mode. The IPay gem has a certification mode that will compile all responses into the appropriate file/format for you automatically:
IPay::Certification.capture do
# ... all responses for api requests are now logged and saved when the block ends
end
FAQs
Unknown package
We found that ipay demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.