lib/active_merchant/billing/gateways/payment_express.rb in activemerchant-1.3.2 vs lib/active_merchant/billing/gateways/payment_express.rb in activemerchant-1.4.0

- old
+ new

@@ -19,11 +19,11 @@ self.supported_countries = [ 'AU', 'MY', 'NZ', 'SG', 'ZA', 'GB', 'US' ] self.homepage_url = 'http://www.paymentexpress.com/' self.display_name = 'PaymentExpress' - PAYMENT_URL = 'https://www.paymentexpress.com/pxpost.aspx' + URL = 'https://www.paymentexpress.com/pxpost.aspx' APPROVED = '1' TRANSACTIONS = { :purchase => 'Purchase', @@ -194,10 +194,10 @@ def commit(action, request) add_credentials(request) add_transaction_type(request, action) # Parse the XML response - response = parse( ssl_post(PAYMENT_URL, request.to_s) ) + response = parse( ssl_post(URL, request.to_s) ) # Return a response PaymentExpressResponse.new(response[:success] == APPROVED, response[:response_text], response, :test => response[:test_mode] == '1', :authorization => response[:dps_txn_ref] \ No newline at end of file