lib/active_merchant/billing/gateways/payu_in.rb in activemerchant-1.58.0 vs lib/active_merchant/billing/gateways/payu_in.rb in activemerchant-1.59.0
- old
+ new
@@ -9,11 +9,11 @@
TEST_INFO_URL = "https://test.payu.in/merchant/postservice.php?form=2"
LIVE_INFO_URL = "https://info.payu.in/merchant/postservice.php?form=2"
self.supported_countries = ['IN']
self.default_currency = 'INR'
- self.supported_cardtypes = [:visa, :master, :american_express, :diners_club]
+ self.supported_cardtypes = [:visa, :master, :american_express, :diners_club, :maestro]
self.homepage_url = 'https://www.payu.in/'
self.display_name = 'PayU India'
def initialize(options={})
@@ -133,10 +133,11 @@
BRAND_MAP = {
visa: "VISA",
master: "MAST",
american_express: "AMEX",
- diners_club: "DINR"
+ diners_club: "DINR",
+ maestro: "MAES"
}
def add_payment(post, payment)
post[:pg] = "CC"
post[:firstname] = clean(payment.first_name, :name, 60)