Skip to content

Commit

Permalink
AI-64 fix charge test
Browse files Browse the repository at this point in the history
  • Loading branch information
jalozanot-conekta committed Oct 11, 2024
1 parent 253e59a commit 27a4de4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions spec/api/customers_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -265,11 +265,12 @@ def full_customer
})

payment_sources = Array.new(1)
payment_method_data = {
type: 'card',
token_id: 'ttest5214'
}
payment_sources[0] =
Conekta::PaymentMethodCardRequest.new({
type: 'card',
token_id: 'tok_2tXyExrU6U7yiaTto'
})
Conekta::PaymentMethodCardRequest.new(payment_method_data)
shipping_contacts = Array.new(1)
shipping_contacts[0] = Conekta::CustomerShippingContacts.new({
address: Conekta::CustomerShippingContactsAddress.new({
Expand Down

0 comments on commit 27a4de4

Please sign in to comment.