lib/active_merchant/billing/gateways/payment_express.rb in activemerchant-1.83.0 vs lib/active_merchant/billing/gateways/payment_express.rb in activemerchant-1.84.0
- old
+ new
@@ -1,10 +1,9 @@
require 'rexml/document'
module ActiveMerchant #:nodoc:
module Billing #:nodoc:
-
# In NZ DPS supports ANZ, Westpac, National Bank, ASB and BNZ.
# In Australia DPS supports ANZ, NAB, Westpac, CBA, St George and Bank of South Australia.
# The Maybank in Malaysia is supported and the Citibank for Singapore.
class PaymentExpressGateway < Gateway
self.default_currency = 'NZD'
@@ -191,14 +190,9 @@
xml.add_element('DateExpiry').text = format_date(credit_card.month, credit_card.year)
if credit_card.verification_value?
xml.add_element('Cvc2').text = credit_card.verification_value
xml.add_element('Cvc2Presence').text = '1'
- end
-
- if requires_start_date_or_issue_number?(credit_card)
- xml.add_element('DateStart').text = format_date(credit_card.start_month, credit_card.start_year) unless credit_card.start_month.blank? || credit_card.start_year.blank?
- xml.add_element('IssueNumber').text = credit_card.issue_number unless credit_card.issue_number.blank?
end
end
def add_billing_token(xml, token)
if use_custom_payment_token?