From 6f2816b4cf85aab6e79535c946b253df66d111cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Adamski?= Date: Tue, 15 Oct 2019 14:20:24 +0200 Subject: [PATCH] Add missing `3DSecure/auth` method --- paylane/paylane_rest_client.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/paylane/paylane_rest_client.rb b/paylane/paylane_rest_client.rb index 9bd1635..df5902b 100644 --- a/paylane/paylane_rest_client.rb +++ b/paylane/paylane_rest_client.rb @@ -253,6 +253,14 @@ def sale_by_3d_secure_authorization(params) request_method('post', params) end + # Authorize by 3-D Secure authorization + # + # @param params [Hash] 3-D Secure Card params Hash + # @return [Hash] Parsed JSON response + def authorize_by_3d_secure_authorization(params) + connection('3DSecure/auth') + request_method('post', params) + end # Cancels Paypal recurring profile # # @param params [Hash] Paypal params Hash