This example is showing you how to call Register function having Recurring Parameters (withdraw client money by using Panhash)

Call Center

Input parameters:

merchantId= 12002310
token= zY!9k(8
amount= 100
currencyCode= NOK
orderNumber= 200565a6ddd60abc12d5c53d96e2a165
serviceType= C
Type= S
PanHash= G29oMw8CT+kh1Nc9EwdcrHwR0IA=

Test Webshops

EXCEPTION IN REGISTER CALL:

SoapFault Object
(
    [message:protected] => Creating signed order failed: One or more errors occurred. (Response code: FAIL Response Source: Netterminal Response Text: Internal error)
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /storage/content/83/4000983/dev.wpwm.se/public_html/nets/callingRegister_08.php
    [line:protected] => 165
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /storage/content/83/4000983/dev.wpwm.se/public_html/nets/callingRegister_08.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] => 200565a6ddd60abc12d5c53d96e2a165
                                                            [UpdateStoredPaymentInfo] => 
                                                        )

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

                                                    [ServiceType] => C
                                                    [Terminal] => Terminal Object
                                                        (
                                                            [AutoAuth] => 
                                                            [PaymentMethodList] => 
                                                            [Language] => 
                                                            [OrderDescription] => 
                                                            [RedirectOnError] => 
                                                            [RedirectUrl] => 
                                                        )

                                                    [TransactionId] => 
                                                    [TransactionReconRef] => 
                                                )

                                        )

                                )

                        )

                )

        )

    [previous:Exception:private] => 
    [faultstring] => Creating signed order failed: One or more errors occurred. (Response code: FAIL Response Source: Netterminal Response Text: Internal error)
    [faultcode] => s:Client
    [detail] => stdClass Object
        (
            [BBSException] => stdClass Object
                (
                    [Message] => Creating signed order failed: One or more errors occurred.
                    [Result] => stdClass Object
                        (
                            [AuthenticatedStatus] => 
                            [AuthenticatedWith] => 
                            [AuthorizationCode] => 
                            [AuthorizationId] => 
                            [CardExpiryDate] => 
                            [CustomerIP] => 
                            [ExecutionTime] => 2019-08-21T08:23:37.4277219+02:00
                            [IssuerCountry] => 
                            [IssuerCountryCode] => 
                            [IssuerId] => 
                            [MerchantId] => 
                            [PanHash] => 
                            [RecurringType] => 
                            [ResponseCode] => FAIL
                            [ResponseSource] => Netterminal
                            [ResponseText] => Internal error
                            [SessionId] => 
                            [SessionNumber] => 
                            [TransactionId] => 
                        )

                )

        )

)