lib/active_merchant/billing/gateways/paystation.rb in activemerchant-1.105.0 vs lib/active_merchant/billing/gateways/paystation.rb in activemerchant-1.106.0
- old
+ new
@@ -176,11 +176,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]&.casecmp('t')&.zero?),
- :authorization => response[:paystation_transaction_id]
+ test: (response[:tm]&.casecmp('t')&.zero?),
+ authorization: response[:paystation_transaction_id]
)
end
def success?(response)
(response[:ec] == SUCCESSFUL_RESPONSE_CODE) || (response[:ec] == SUCCESSFUL_FUTURE_PAYMENT)