private function handleRequestForWpieFy( $url, $pc, $wc, $ns, $meta )
{
$this->response = $this->doRequest( true, $url, $pc, $wc, $ns, $meta );
if( WpieRemoteHelper::responseHasErrors( $this->response ) ) {
// indicate the response has errors and set error params
$this->formHasErrors = true;
$this->formErrorMsg[] = WpieRemoteHelper::responseGetErrorMsg( $this->response );
} else {
$this->formSuc6Msg[] = __( 'Your purchase code has been validated succesfully.', 'weepie' );
$data = $this->getOption();
if( false !== $data ) {
if( $this->setOption( 8 ) ) {
$this->wpiefied = true;
$this->justWpiefied = true;
} else {
$this->formHasErrors = true;
$this->formErrorMsg[] = sprintf( __( 'Unknown error during updating your settings. Please <a href="%s">contact</a> our plugin support.', 'weepie' ), 'mailto:[email protected]') ;
}
}
}
}