lib/active_merchant/billing/gateways/plugnpay.rb in activemerchant-1.83.0 vs lib/active_merchant/billing/gateways/plugnpay.rb in activemerchant-1.84.0
- old
+ new
@@ -170,9 +170,10 @@
post[:orderID] = reference
commit(:refund, post)
end
private
+
def commit(action, post)
response = parse( ssl_post(self.live_url, post_data(action, post)) )
success = SUCCESS_CODES.include?(response[:finalstatus])
message = success ? 'Success' : message_from(response)