OpenProvider: Invalid Period on Domain Renwal

Discussion in 'Troubleshooting' started by AaronMcH, Sep 19, 2014.

  1. AaronMcH

    AaronMcH Mega Poster

    Messages:
    130
    Hi

    This is the first domain renewal we have processed through OpenProvider, however the API returned the error "Invalid Period", yet PBAS is submitting the period of "1" which should be correct according to the OpenProvider API.

    Code:
    [2014/09/19 11:12:03] [INFO] [11171] [HSPC::MT::Plugin::DM::OpenProvider::_send_request] Try to send request to remote host: https://www2.openprovider.nl/incoming_custxml.php
    [2014/09/19 11:12:03] [INFO] [11171] [HSPC::MT::Plugin::DM::OpenProvider::_send_request] next XML without "\n" symbols after "<" symbols will be sent to registrar:
    <?xml version="1.0" encoding="UTF-8"?>
    
    <openXML username="<<USERNAME>>_pbas" password=XXXXXX xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.openprovider.nl/xsd/renewDomain.xsd">
    
    <domainRegistration>
    
    <renewDomain version="1.0">
    
    <domain>
    
    <domainname><<DOMAIN>></domainname>
    
    <extension>me.uk</extension>
    
    <period>1</period>
    
    </domain>
    
    <handle usedomicile="0">
    
    <owner>AM905129-GB</owner>
    
    </handle>
    
    </renewDomain>
    
    </domainRegistration>
    
    </openXML>
    
    [2014/09/19 11:12:04] [INFO] [11171] [HSPC::MT::Plugin::DM::OpenProvider::_send_request] OpenProvider gateway has returned the output: <?xml version="1.0"?>
    <openXML>
    
    <result>
    
    <code>316</code>
    
    <description>Invalid period!</description>
    
    </result>
    
    <details>
    
    <errormsg>Invalid period!</errormsg>
    
    </details>
    
    </openXML>
    
    [2014/09/19 11:12:04] [INFO] [11171] [HSPC::MT::Plugin::DM::OpenProvider::_send_request] Data sent successfully.
    [2014/09/19 11:12:04] [INFO] [11171] [HSPC::MT::Plugin::DM::OpenProvider::_send_request] XML Recieve:<?xml version="1.0"?> <openXML> <result> <code>316</code> <description>Invalid period!</description> </result> <details> <errormsg>Invalid period!</errormsg> </details> </openXML>
    [2014/09/19 11:12:04] [INFO] [11171] [HSPC::MT::Plugin::DM::OpenProvider::_parse_xml] PARSE:$VAR1 = {
    'details' => {
    
    'errormsg' => 'Invalid period!'
    
    },
    
    'result' => {
    
    'description' => 'Invalid period!',
    
    'code' => '316'
    
    }
    
    };
    
    
    
    [2014/09/19 11:12:04] [INFO] [11171] [HSPC::MT::Plugin::DM::OpenProvider::_parse_xml] PARSE result:$VAR1 = [
    {
    
    'desc' => 'Invalid period!',
    
    'details' => {
    
    'errormsg' => 'Invalid period!'
    
    },
    
    'code' => 316
    
    }
    
    ];
    
    
    
    [2014/09/19 11:12:04] [DEBUG] [11171] [HSPC::MT::DM::RegDomain::process_renew_domain] renew_domain result: $VAR1 = {
    'domain_status' => 'error',
    
    'message' => undef,
    
    'is_success' => 0
    
    };
    
    
    I'm just wondering if because it's our first renewal we haven't configured something correctly, and because it's Friday evening and OP won't be open until Monday haha.

    Thanks
    Aaron
     
  2. Vadim Ivanov

    Vadim Ivanov Kilo Poster

    Messages:
    36
    Hi Aaron,

    I quess that mininal period is set by registrar. Try to use renewal period of two years.
     
  3. AaronMcH

    AaronMcH Mega Poster

    Messages:
    130
    Hi Vadim

    Thanks for the reply, yeah the issue was that OpenProvider doesn't offer a period of 1 year for .uk domains.

    Thanks for the help
    Best regards
    Aaron
     

Share This Page