nps_sdk 1.1.4 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a8b98e9cdcfe5fae05a0f34885b61135933b336
4
- data.tar.gz: 0acda7de4df183b4c99606fc27691af656800202
3
+ metadata.gz: cbe233b467a5d54082ad7aab1175092daedcab6e
4
+ data.tar.gz: bb9f38b8b37eb4f39b4d03ceb6168aa49bbc23e8
5
5
  SHA512:
6
- metadata.gz: 50034db034f3126041406e2f4078a327f1c10dd33671aa922e11addf6528ea95ff34170c75d2001eeafec20ee56e63225e845ed84d5e5f0a24a51387ec00ab78
7
- data.tar.gz: 2cfe364d1770518389b01e33b65f8e83593ee066142ad69ebbf5dc080421a6f375f96b6fe4c4af503e95187dcdcd048b57e21b91761b806b18dd451420256c20
6
+ metadata.gz: edb2047856531569d1be619f805560ee6daafebf6f10eb6d99cd5d4881b9401bbf992befc7cff7624f6aeaa1b2ed88538e8d54bf9f8d308db47a7e493f869f92
7
+ data.tar.gz: be159a69e0dbee78939feb37bab6efb69819619217f01b6230fd6047977feaa4149ad9fbcfbd0bcae10c622f8110c2771674bc5b6e7f48eb0ac0a26482117875
@@ -21,10 +21,26 @@ module Nps
21
21
  msg.gsub(/>\d{4}<\/psp_CardExpDate>/) { |x| x.gsub(/\d{4}/) { |x| "*" * x.length} }
22
22
  end
23
23
 
24
+ def ofuscate_token_cvc(msg)
25
+ msg.gsub(/>\d{3,4}<\/SecurityCode>/) { |x| x.gsub(/\d{3,4}/) { |x| "*" * x.length}}
26
+ end
27
+
28
+ def ofuscate_token_card_number(msg)
29
+ msg.gsub(/>\d{13,19}<\/Number>/) { |x| x.gsub(/\d{13,19}/) { |x| x.slice(0,6) + "*" * (x.length - 10) + x.slice(x.length - 4, x.length)} }
30
+ end
31
+
32
+
33
+ def ofuscate_token_card_exp_date(msg)
34
+ msg.gsub(/>\d{4}<\/ExpirationDate>/) { |x| x.gsub(/\d{4}/) { |x| "*" * x.length} }
35
+ end
36
+
24
37
  def ofuscate(msg)
25
38
  msg = ofuscate_card_exp_date(msg)
26
39
  msg = ofuscate_card_number(msg)
27
40
  msg = ofuscate_cvc(msg)
41
+ msg = ofuscate_token_card_exp_date(msg)
42
+ msg = ofuscate_token_card_number(msg)
43
+ msg = ofuscate_token_cvc(msg)
28
44
  end
29
45
  end
30
46
  end
@@ -7,16 +7,16 @@ module Nps
7
7
  conf.logger = Logger.new(STDOUT)
8
8
  end
9
9
 
10
- if conf.log_level == Logger::DEBUG
10
+ if conf.log_level != :debug
11
11
  conf.logger.formatter = NpsFormatter.new
12
12
  end
13
- if conf.log_level == Logger::DEBUG and conf.environment == Nps::Environments::PRODUCTION_ENV
13
+ if conf.log_level == :debug and conf.environment == Nps::Environments::PRODUCTION_ENV
14
14
  raise LoggerException
15
15
  end
16
16
 
17
17
  @key = conf.key
18
- @log = conf.log
19
- @logger = conf.logger.nil? ? Logger.new(STDOUT) : conf.logger
18
+ @log = true
19
+ @logger = conf.logger
20
20
  @wsdl = conf.environment
21
21
  @open_timeout = conf.o_timeout.nil? ? 5 : conf.o_timeout
22
22
  @read_timeout = conf.r_timeout.nil? ? 60 : conf.r_timeout
@@ -37,12 +37,13 @@ module Nps
37
37
  logger: @logger,
38
38
  open_timeout: @open_timeout,
39
39
  read_timeout: @read_timeout,
40
- pretty_print_xml: true
40
+ pretty_print_xml: true,
41
+ log: @log
41
42
  }
42
43
 
43
44
  if @log_level
44
45
  lvl_config = {
45
- log_level: @log_level
46
+ log_level: :debug
46
47
  }
47
48
  client_config.merge!(lvl_config)
48
49
  end
@@ -64,7 +65,6 @@ module Nps
64
65
 
65
66
  if @proxy_username
66
67
  proxy_auth = {
67
- #pendiente esto para mañana
68
68
  headers: { "Proxy-Authorization" => "Basic #{secret}" }
69
69
  }
70
70
  client_config.merge!(proxy_auth)
@@ -104,11 +104,11 @@ module Nps
104
104
  params = add_secure_hash(params)
105
105
  end
106
106
  params = {"Requerimiento" => params}
107
- begin
107
+ #begin
108
108
  @client.call(service, message: params).body
109
- rescue TimeoutError
110
- raise ApiException
111
- end
109
+ #rescue TimeoutError
110
+ # raise ApiException
111
+ #end
112
112
  end
113
113
  end
114
114
  end
@@ -1,7 +1,7 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="https://dev.nps.com.ar/ws" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="https://dev.nps.com.ar/ws">
2
+ <definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="https://psp.nps.com.ar/ws" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="https://psp.nps.com.ar/ws">
3
3
  <types>
4
- <xsd:schema targetNamespace="https://dev.nps.com.ar/ws"
4
+ <xsd:schema targetNamespace="https://psp.nps.com.ar/ws"
5
5
  >
6
6
  <xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
7
7
  <xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
@@ -2454,184 +2454,184 @@
2454
2454
  <binding name="PaymentServicePlatformBinding" type="tns:PaymentServicePlatformPortType">
2455
2455
  <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
2456
2456
  <operation name="PayOnLine_2p">
2457
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/PayOnLine_2p" style="rpc"/>
2458
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2459
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2457
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/PayOnLine_2p" style="rpc"/>
2458
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2459
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2460
2460
  </operation>
2461
2461
  <operation name="Authorize_2p">
2462
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/Authorize_2p" style="rpc"/>
2463
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2464
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2462
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/Authorize_2p" style="rpc"/>
2463
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2464
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2465
2465
  </operation>
2466
2466
  <operation name="BankPayment_2p">
2467
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/BankPayment_2p" style="rpc"/>
2468
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2469
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2467
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/BankPayment_2p" style="rpc"/>
2468
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2469
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2470
2470
  </operation>
2471
2471
  <operation name="SplitPayOnLine_2p">
2472
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/SplitPayOnLine_2p" style="rpc"/>
2473
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2474
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2472
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/SplitPayOnLine_2p" style="rpc"/>
2473
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2474
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2475
2475
  </operation>
2476
2476
  <operation name="SplitAuthorize_2p">
2477
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/SplitAuthorize_2p" style="rpc"/>
2478
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2479
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2477
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/SplitAuthorize_2p" style="rpc"/>
2478
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2479
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2480
2480
  </operation>
2481
2481
  <operation name="PayOnLine_3p">
2482
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/PayOnLine_3p" style="rpc"/>
2483
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2484
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2482
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/PayOnLine_3p" style="rpc"/>
2483
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2484
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2485
2485
  </operation>
2486
2486
  <operation name="SplitPayOnLine_3p">
2487
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/SplitPayOnLine_3p" style="rpc"/>
2488
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2489
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2487
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/SplitPayOnLine_3p" style="rpc"/>
2488
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2489
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2490
2490
  </operation>
2491
2491
  <operation name="Authorize_3p">
2492
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/Authorize_3p" style="rpc"/>
2493
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2494
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2492
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/Authorize_3p" style="rpc"/>
2493
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2494
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2495
2495
  </operation>
2496
2496
  <operation name="SplitAuthorize_3p">
2497
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/SplitAuthorize_3p" style="rpc"/>
2498
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2499
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2497
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/SplitAuthorize_3p" style="rpc"/>
2498
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2499
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2500
2500
  </operation>
2501
2501
  <operation name="BankPayment_3p">
2502
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/BankPayment_3p" style="rpc"/>
2503
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2504
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2502
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/BankPayment_3p" style="rpc"/>
2503
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2504
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2505
2505
  </operation>
2506
2506
  <operation name="CashPayment_3p">
2507
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/CashPayment_3p" style="rpc"/>
2508
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2509
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2507
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/CashPayment_3p" style="rpc"/>
2508
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2509
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2510
2510
  </operation>
2511
2511
  <operation name="Capture">
2512
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/Capture" style="rpc"/>
2513
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2514
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2512
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/Capture" style="rpc"/>
2513
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2514
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2515
2515
  </operation>
2516
2516
  <operation name="Refund">
2517
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/Refund" style="rpc"/>
2518
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2519
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2517
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/Refund" style="rpc"/>
2518
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2519
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2520
2520
  </operation>
2521
2521
  <operation name="GetInstallmentsOptions">
2522
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/GetInstallmentsOptions" style="rpc"/>
2523
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2524
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2522
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/GetInstallmentsOptions" style="rpc"/>
2523
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2524
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2525
2525
  </operation>
2526
2526
  <operation name="CreatePaymentMethodToken">
2527
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/CreatePaymentMethodToken" style="rpc"/>
2528
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2529
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2527
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/CreatePaymentMethodToken" style="rpc"/>
2528
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2529
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2530
2530
  </operation>
2531
2531
  <operation name="RetrievePaymentMethodToken">
2532
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/RetrievePaymentMethodToken" style="rpc"/>
2533
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2534
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2532
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/RetrievePaymentMethodToken" style="rpc"/>
2533
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2534
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2535
2535
  </operation>
2536
2536
  <operation name="RecachePaymentMethodToken">
2537
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/RecachePaymentMethodToken" style="rpc"/>
2538
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2539
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2537
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/RecachePaymentMethodToken" style="rpc"/>
2538
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2539
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2540
2540
  </operation>
2541
2541
  <operation name="CreateClientSession">
2542
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/CreateClientSession" style="rpc"/>
2543
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2544
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2542
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/CreateClientSession" style="rpc"/>
2543
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2544
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2545
2545
  </operation>
2546
2546
  <operation name="CreatePaymentMethod">
2547
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/CreatePaymentMethod" style="rpc"/>
2548
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2549
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2547
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/CreatePaymentMethod" style="rpc"/>
2548
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2549
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2550
2550
  </operation>
2551
2551
  <operation name="CreatePaymentMethodFromPayment">
2552
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/CreatePaymentMethodFromPayment" style="rpc"/>
2553
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2554
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2552
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/CreatePaymentMethodFromPayment" style="rpc"/>
2553
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2554
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2555
2555
  </operation>
2556
2556
  <operation name="RetrievePaymentMethod">
2557
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/RetrievePaymentMethod" style="rpc"/>
2558
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2559
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2557
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/RetrievePaymentMethod" style="rpc"/>
2558
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2559
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2560
2560
  </operation>
2561
2561
  <operation name="UpdatePaymentMethod">
2562
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/UpdatePaymentMethod" style="rpc"/>
2563
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2564
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2562
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/UpdatePaymentMethod" style="rpc"/>
2563
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2564
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2565
2565
  </operation>
2566
2566
  <operation name="DeletePaymentMethod">
2567
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/DeletePaymentMethod" style="rpc"/>
2568
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2569
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2567
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/DeletePaymentMethod" style="rpc"/>
2568
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2569
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2570
2570
  </operation>
2571
2571
  <operation name="CreateCustomer">
2572
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/CreateCustomer" style="rpc"/>
2573
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2574
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2572
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/CreateCustomer" style="rpc"/>
2573
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2574
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2575
2575
  </operation>
2576
2576
  <operation name="RetrieveCustomer">
2577
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/RetrieveCustomer" style="rpc"/>
2578
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2579
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2577
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/RetrieveCustomer" style="rpc"/>
2578
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2579
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2580
2580
  </operation>
2581
2581
  <operation name="UpdateCustomer">
2582
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/UpdateCustomer" style="rpc"/>
2583
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2584
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2582
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/UpdateCustomer" style="rpc"/>
2583
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2584
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2585
2585
  </operation>
2586
2586
  <operation name="DeleteCustomer">
2587
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/DeleteCustomer" style="rpc"/>
2588
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2589
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2587
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/DeleteCustomer" style="rpc"/>
2588
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2589
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2590
2590
  </operation>
2591
2591
  <operation name="SimpleQueryTx">
2592
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/SimpleQueryTx" style="rpc"/>
2593
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2594
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2592
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/SimpleQueryTx" style="rpc"/>
2593
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2594
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2595
2595
  </operation>
2596
2596
  <operation name="QueryCardNumber">
2597
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/QueryCardNumber" style="rpc"/>
2598
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2599
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2597
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/QueryCardNumber" style="rpc"/>
2598
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2599
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2600
2600
  </operation>
2601
2601
  <operation name="QueryCardDetails">
2602
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/QueryCardDetails" style="rpc"/>
2603
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2604
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2602
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/QueryCardDetails" style="rpc"/>
2603
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2604
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2605
2605
  </operation>
2606
2606
  <operation name="QueryTxs">
2607
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/QueryTxs" style="rpc"/>
2608
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2609
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2607
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/QueryTxs" style="rpc"/>
2608
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2609
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2610
2610
  </operation>
2611
2611
  <operation name="GetIINDetails">
2612
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/GetIINDetails" style="rpc"/>
2613
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2614
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2612
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/GetIINDetails" style="rpc"/>
2613
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2614
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2615
2615
  </operation>
2616
2616
  <operation name="ChangeSecretKey">
2617
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/ChangeSecretKey" style="rpc"/>
2618
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2619
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2617
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/ChangeSecretKey" style="rpc"/>
2618
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2619
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2620
2620
  </operation>
2621
2621
  <operation name="FraudScreening">
2622
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/FraudScreening" style="rpc"/>
2623
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2624
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2622
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/FraudScreening" style="rpc"/>
2623
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2624
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2625
2625
  </operation>
2626
2626
  <operation name="NotifyFraudScreeningReview">
2627
- <soap:operation soapAction="https://dev.nps.com.ar/ws.php/NotifyFraudScreeningReview" style="rpc"/>
2628
- <input><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2629
- <output><soap:body use="encoded" namespace="https://dev.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2627
+ <soap:operation soapAction="https://psp.nps.com.ar/ws.php/NotifyFraudScreeningReview" style="rpc"/>
2628
+ <input><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input>
2629
+ <output><soap:body use="encoded" namespace="https://psp.nps.com.ar/ws" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output>
2630
2630
  </operation>
2631
2631
  </binding>
2632
2632
  <service name="PaymentServicePlatform">
2633
2633
  <port name="PaymentServicePlatformPort" binding="tns:PaymentServicePlatformBinding">
2634
- <soap:address location="https://dev.nps.com.ar:443/ws.php"/>
2634
+ <soap:address location="https://psp.nps.com.ar:443/ws.php"/>
2635
2635
  </port>
2636
2636
  </service>
2637
2637
  </definitions>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nps_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - soporte@nps.com.ar