ADYEN Payment - SOAP Error on test SoapFault Object ( [message:protected] => security 010 Not allowed
<p>This is my first post in this forum.
I'm trying to develop all the payments to Adyen using the WS, instead of the skin/post method that I was using until now.
So, I downloaded from their example, this code (I'm posting also the class method to connect by WS)</p>

<pre><code>function Adyen($login, $password, $host ="live", $debug=FALSE ) {
    $this-&gt;DEBUG = $debug;

    $this-&gt;client = new SoapClient( "https://pal-$host.adyen.com/pal/Payment.wsdl",
      array(
        "login" =&gt; $login,
        "password" =&gt; $password,
        'trace' =&gt; 1,
        'soap_version' =&gt; SOAP_1_1,
        'style' =&gt; SOAP_DOCUMENT,
        'encoding' =&gt; SOAP_LITERAL
      )
    );
}


function authorise( $amount,$currencyCode,$cardHolder,$cardNumber,$expm,$expy,$cvc,$reference) {
        global $merchantAccount;

    $response = $this-&gt;client-&gt;authorise( array(
      "paymentRequest" =&gt; array 
      (
        "amount" =&gt; array (
        "value" =&gt; $amount,
        "currency" =&gt; $currencyCode),
        "card" =&gt; array (
        "cvc" =&gt; $cvc,
        "expiryMonth" =&gt; $expm,
        "expiryYear" =&gt; $expy,
        "holderName" =&gt; $cardHolder,
        "number" =&gt; $cardNumber,
        ),
      "merchantAccount" =&gt; $merchantAccount,
      "reference" =&gt; $reference,
    )
      )
    );
</code></pre>

<p>When I'm executing this code, it returns this error</p>

<pre><code>#!/usr/bin/php SOAP Error on test SoapFault Object ( [message:protected] =&gt; security 010 Not allowed [string:Exception:private] =&gt; 
</code></pre>

<p>Do you have any suggestions to solve it?</p>

<p>Best Regards.</p>

<p>Edit:
It's too strange, cause with the same method, but with different parameters (In case of the recurring payment, I haven't this error. This the case runs</p>

<pre><code>$response = $this-&gt;client-&gt;authorise(
                array(
                    "paymentRequest" =&gt;
                    array(
                        "amount" =&gt; array("value" =&gt; $amount, 
                                          "currency" =&gt; $currencyCode),
                        "merchantAccount" =&gt; $merchantAccount,
                        "reference" =&gt; $reference,
                        "shopperReference" =&gt; $reference",
                        "shopperEmail" =&gt; $email,
                        "recurring" =&gt; array("contract" =&gt; "RECURRING"),
                        "selectedRecurringDetailReference" =&gt; "LATEST",
                        "shopperInteraction" =&gt; "ContAuth"
                    )
                )
        );
</code></pre>
