lib/active_merchant/billing/gateways/webpay.rb in activemerchant-1.31.1 vs lib/active_merchant/billing/gateways/webpay.rb in activemerchant-1.32.0

- old
+ new

@@ -11,9 +11,17 @@ self.supported_cardtypes = [:visa, :master, :american_express, :jcb, :diners_club] self.homepage_url = 'https://webpay.jp/' self.display_name = 'WebPay' + def authorize(money, credit_card, options = {}) + raise NotImplementedError.new + end + + def capture(money, credit_card, options = {}) + raise NotImplementedError.new + end + def json_error(raw_response) msg = 'Invalid response received from the WebPay API. Please contact support@webpay.jp if you continue to receive this message.' msg += " (The raw response returned by the API was #{raw_response.inspect})" { "error" => {