Skip to content

Commit 3debfab

Browse files
committed
testing only credit bank account and chnaged routing number to 122000661
1 parent b858db1 commit 3debfab

2 files changed

Lines changed: 25 additions & 25 deletions

File tree

PaymentTransactions/credit-bank-account.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def credit_bank_account()
1515
request.transactionRequest = TransactionRequestType.new()
1616
request.transactionRequest.amount = ((SecureRandom.random_number + 1 ) * 15 ).round(2)
1717
request.transactionRequest.payment = PaymentType.new
18-
request.transactionRequest.payment.bankAccount = BankAccountType.new('checking','125000105','1234567890', 'John Doe','PPD','Wells Fargo Bank NA','101')
18+
request.transactionRequest.payment.bankAccount = BankAccountType.new('checking','122000661','1234567890', 'John Doe','PPD','Wells Fargo Bank NA','101')
1919
request.transactionRequest.transactionType = TransactionTypeEnum::RefundTransaction
2020

2121
response = transaction.create_transaction(request)

spec/sample_code_spec.rb

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -157,39 +157,39 @@ def validate_response(response= nil)
157157
it "should be able to run all Payment Transaction sample code" do
158158
puts "START - Payment Transactions"
159159

160-
response = authorize_credit_card()
161-
validate_response(response)
160+
#response = authorize_credit_card()
161+
#validate_response(response)
162162

163-
response = capture_funds_authorized_through_another_channel()
164-
validate_response(response)
163+
#response = capture_funds_authorized_through_another_channel()
164+
#validate_response(response)
165165

166166
# response = capture_only()
167167
# validate_response(response)
168168

169-
response = capture_funds_authorized_through_another_channel()
170-
validate_response(response)
169+
#response = capture_funds_authorized_through_another_channel()
170+
#validate_response(response)
171171

172-
response = capture_previously_authorized_amount()
173-
validate_response(response)
172+
#response = capture_previously_authorized_amount()
173+
#validate_response(response)
174174

175-
response = charge_credit_card()
176-
validate_response(response)
175+
#response = charge_credit_card()
176+
#validate_response(response)
177177

178178
#create customer profile
179-
response = create_customer_profile()
180-
validate_response(response)
181-
customerProfileId = response.customerProfileId
179+
#response = create_customer_profile()
180+
#validate_response(response)
181+
#customerProfileId = response.customerProfileId
182182

183183
#create customer payment profile
184-
response = create_customer_payment_profile(customerProfileId)
185-
validate_response(response)
186-
customerPaymentProfileId = response.customerPaymentProfileId
184+
#response = create_customer_payment_profile(customerProfileId)
185+
#validate_response(response)
186+
#customerPaymentProfileId = response.customerPaymentProfileId
187187

188-
response = charge_customer_profile(customerProfileId, customerPaymentProfileId)
189-
validate_response(response)
188+
#response = charge_customer_profile(customerProfileId, customerPaymentProfileId)
189+
#validate_response(response)
190190

191-
response = charge_tokenized_credit_card()
192-
validate_response(response)
191+
#response = charge_tokenized_credit_card()
192+
#validate_response(response)
193193

194194
response = credit_bank_account()
195195
validate_response(response)
@@ -200,11 +200,11 @@ def validate_response(response= nil)
200200
# response = refund_transaction()
201201
# validate_response(response)
202202

203-
response = update_split_tender_group()
204-
validate_response(response)
203+
#response = update_split_tender_group()
204+
#validate_response(response)
205205

206-
response = void_transaction()
207-
validate_response(response)
206+
#response = void_transaction()
207+
#validate_response(response)
208208
end
209209

210210

0 commit comments

Comments
 (0)