- Only package essential files in gem release.
- No code changes.
- Updated the
create_single_use_customer_token
method to account for more fields in the response object.
- No code changes - moved repository to Jackpocket organization and updated URLs
- Renamed client
timeouts
option totimeout
. - Requires Ruby 2.5 and up.
- Added Ruby 3.0 build to CI.
- Added customers and single use tokens support for Payments API:
client.payments.create_single_use_customer_token
client.payments.create_customer
client.payments.get_customer
- Removed deprecated methods on
Client
object. Please use API scoped methods defined onpayments
,customer_vault
, orcard_payments
.
- Added standalone credits support for Payments API:
client.payments.create_standalone_credit
client.payments.get_standalone_credit
- Removed client configuration using a block.
- Deprecated
Client
object API methods. - All API methods are now grouped by API objects, for example:
- Customer Vault API:
client.create_profile
is nowclient.customer_vault.create_profile
- Card Payments API:
client.create_verification
is nowclient.card_payments.create_verification
- Includes some methods for new Payments API through
client.payments
(aka Paysafe Unity Platform)
- Customer Vault API:
- Requires http gem v4.
- Requires Ruby 2.4 and up.
- Added Ruby 2.7 build to CI.
- Relax http gem dependency to allow v2 through v4.
- Relax http gem dependency to allow v2 or v3.
- Use additional args for
purchase
method.
- Added predicate methods for checking CVV and AVS status on a verification request, e.g.
cvv_match?
,avs_no_match?
, etc.
- Added
card.brand
method that convertscard_type
value (VI) to brand name (visa).
This is a major update with breaking changes so moving the version up quite a bit since I'd also like to move to a 1.0 release soon after.
- Requires Ruby 2.3 and up.
- All API methods now accept params in snake_case and are converted to camelCase.
- Responses are now typed with classes using snake_case properties (converted from camelCase) handling nested complex objects and lazily loaded. No more hashes.
- Field names match Paysafe API docs except when making requests and working with responses, its all in snake_case.
- Renamed config
timeout_options
renamed totimeouts
. - Removed default value for
timeouts
config. - Added new methods to work with single use tokens:
create_single_use_token
(requires different API key and secret)create_verification_from_token
create_profile_from_token
create_card_from_token
- Updated
bin/setup
script. - Updated API base domain to paysafe.com.
- Upgrade http gem to v2.0
- Add
update_profile
method to client