This example is showing you how to call Register function having Recurring Parameters (withdraw client money by using Panhash): required Card Security Code on the Terminal

BBS hosted

Input parameters:

merchantId= 12002310
token= zY!9k(8
amount= 100
currencyCode= NOK
orderNumber= 5388dc693a9eb95fa35c85065e1e43dd
serviceType= B
redirect_url= http://dev.wpwm.se/nets/result.php
Type= S
PanHash= G29oMw8CT+kh1Nc9EwdcrHwR0IA=

Test Webshops

EXCEPTION IN REGISTER CALL:

SoapFault Object
(
    [message:protected] => Pan Hash not in file
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /storage/content/83/4000983/dev.wpwm.se/public_html/nets/callingRegister_11.php
    [line:protected] => 165
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /storage/content/83/4000983/dev.wpwm.se/public_html/nets/callingRegister_11.php
                    [line] => 165
                    [function] => __call
                    [class] => SoapClient
                    [type] => ->
                    [args] => Array
                        (
                            [0] => Register
                            [1] => Array
                                (
                                    [parameters] => Array
                                        (
                                            [token] => zY!9k(8
                                            [merchantId] => 12002310
                                            [request] => RegisterRequest Object
                                                (
                                                    [AvtaleGiro] => 
                                                    [CardInfo] => CardInfo Object
                                                        (
                                                            [ExpiryDate] => 
                                                            [Issuer] => 
                                                            [Pan] => 
                                                            [SecurityCode] => 
                                                        )

                                                    [Customer] => 
                                                    [Description] => 
                                                    [DnBNorDirectPayment] => 
                                                    [Environment] => Environment Object
                                                        (
                                                            [Language] => 
                                                            [OS] => 
                                                            [WebServicePlatform] => PHP5
                                                        )

                                                    [MicroPayment] => 
                                                    [Order] => Order Object
                                                        (
                                                            [Amount] => 100
                                                            [CurrencyCode] => NOK
                                                            [Force3DSecure] => 
                                                            [Goods] => 
                                                            [OrderNumber] => 5388dc693a9eb95fa35c85065e1e43dd
                                                            [UpdateStoredPaymentInfo] => 
                                                        )

                                                    [Recurring] => Recurring Object
                                                        (
                                                            [ExpiryDate] => 
                                                            [Frequency] => 
                                                            [Type] => S
                                                            [PanHash] => G29oMw8CT+kh1Nc9EwdcrHwR0IA=
                                                        )

                                                    [ServiceType] => B
                                                    [Terminal] => Terminal Object
                                                        (
                                                            [AutoAuth] => 
                                                            [PaymentMethodList] => 
                                                            [Language] => 
                                                            [OrderDescription] => 
                                                            [RedirectOnError] => 
                                                            [RedirectUrl] => http://dev.wpwm.se/nets/result.php
                                                        )

                                                    [TransactionId] => 
                                                    [TransactionReconRef] => 
                                                )

                                        )

                                )

                        )

                )

        )

    [previous:Exception:private] => 
    [faultstring] => Pan Hash not in file
    [faultcode] => s:Client
    [detail] => stdClass Object
        (
            [GenericError] => stdClass Object
                (
                    [Message] => Pan Hash not in file
                )

        )

)