0.0
Low commit activity in last 3 years
No release in over a year
Generates Google Pay test dummy tokens
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

~> 3

Runtime

~> 2.0.0
~> 0.3
 Project Readme

Aliquot-Pay

Gem Version

Generate Google Pay tokens to use for testing. Used for testing Aliquot.

Generate a token and associated values.

require 'aliquot-pay'

ap = AliquotPay.new(:ECv2)

token = ap.token

# Extract root signing keys in same form as Google supplies them.
signing_keys = ap.extract_root_signing_keys

# Extract shared secret as Base64
shared_secret = ap.shared_secret

# Extract (default) recipient id
recipient_id = ap.recipient_id