Skip to content

Commit

Permalink
Ideal Payment Update (CS2). Sessions Authentication Type Update (#142)
Browse files Browse the repository at this point in the history
* Update auth type sessions

* Update Ideal payment request
  • Loading branch information
armando-rodriguez-cko authored May 9, 2024
1 parent 66e5935 commit 62a82a3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 1 addition & 4 deletions lib/checkout_sdk/payments/source/apm/ideal_source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@

module CheckoutSdk
module Payments
# @!attribute bic
# @return [String]
# @!attribute description
# @return [String]
# @!attribute language
# @return [String]
class IdealSource < PaymentSource
attr_accessor :bic,
:description,
attr_accessor :description,
:language

def initialize
Expand Down
3 changes: 3 additions & 0 deletions lib/checkout_sdk/sessions/authentication_type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ module Sessions
module AuthenticationType
REGULAR = 'regular'
RECURRING = 'recurring'
INSTALLMENT = 'installment'
MAINTAIN_CARD = 'maintain_card'
ADD_CARD = 'add_card'
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,9 @@
end
end

context 'when requesting Ideal source payment' do
context 'when requesting Ideal source payment', skip: 'unavailable' do
it 'should request payment correctly' do
source = CheckoutSdk::Payments::IdealSource.new
source.bic = 'INGBNL2A'
source.description = 'ORD50234E89'
source.language = 'nl'

Expand Down

0 comments on commit 62a82a3

Please sign in to comment.