spec/integration/gateway_spec.rb in stone_ecommerce-1.3.0 vs spec/integration/gateway_spec.rb in stone_ecommerce-1.4.0
- old
+ new
@@ -703,10 +703,10 @@
credit_card_transaction.CreditCard.CreditCardNumber = '4111111111111111'
credit_card_transaction.CreditCard.CreditCardBrand = 'Visa'
credit_card_transaction.CreditCard.ExpMonth = 10
credit_card_transaction.CreditCard.ExpYear = 2018
credit_card_transaction.CreditCard.SecurityCode = '123'
- credit_card_transaction.CreditCard.HolderName = 'Luke Skywalker'
+ credit_card_transaction.CreditCard.HolderName = 'Luke Skywalker' + DateTime.now().to_s
credit_card_transaction.AmountInCents = 100
credit_card_transaction.Options.PaymentMethodCode = 1
sale_request = Gateway::CreateSaleRequest.new
sale_request.CreditCardTransactionCollection << credit_card_transaction