lib/active_merchant/billing/gateways/paystation.rb in activemerchant-1.83.0 vs lib/active_merchant/billing/gateways/paystation.rb in activemerchant-1.84.0
- old
+ new
@@ -177,11 +177,11 @@
data = ssl_post(self.live_url, "#{pstn_prefix_params}&paystation=_empty")
response = parse(data)
message = message_from(response)
PaystationResponse.new(success?(response), message, response,
- :test => (response[:tm] && response[:tm].downcase == 't'),
- :authorization => response[:paystation_transaction_id]
+ :test => (response[:tm] && response[:tm].downcase == 't'),
+ :authorization => response[:paystation_transaction_id]
)
end
def success?(response)
(response[:ec] == SUCCESSFUL_RESPONSE_CODE) || (response[:ec] == SUCCESSFUL_FUTURE_PAYMENT)