Sha256: 965575b08fd6954e6b6a353787426040b53210846b4e9147c5d138bb16b7d1cb

Contents?: true

Size: 418 Bytes

Versions: 21

Compression:

Stored size: 418 Bytes

Contents

require File.join(File.dirname(__FILE__), '.', 'lib/pagarme')
transaction = PagarMe::Transaction.new
transaction.card_number = "4901720080344448"
transaction.card_holder_name = "Jose da Silva"
transaction.card_expiration_month = "13" # o mês 13 é maior do que 12 (dezembro) -> parâmetro inválido!
transaction.card_expiration_year = "15"
transaction.card_cvv = "314"
transaction.amount = 1000

transaction.charge


Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
pagarme-1.1 pagarme.rb