\Heidelpay\Tests\PhpApi\Unit\PaymentMethodsEPSPaymentMerhodTest

EPS Test

Connection tests can fail due to network issues and scheduled downtimes. This does not have to mean that your integration is broken. Please verify the given debug information

Summary

Methods
Properties
Constants
__construct()
setUp()
getMethod()
testAuthorize()
No public properties found
No constants found
No protected methods found
$SecuritySender
$UserLogin
$UserPassword
$TransactionChannel
$SandboxRequest
$customerDetails
$currency
$secret
$paymentObject
N/A
No private methods found
No private properties found
N/A

Properties

$SecuritySender

$SecuritySender : string

SecuritySender

Type

string — SecuritySender

$UserLogin

$UserLogin : string

UserLogin

Type

string — UserLogin

$UserPassword

$UserPassword : string

UserPassword

Type

string — UserPassword

$TransactionChannel

$TransactionChannel : string

TransactionChannel

Type

string — TransactionChannel

$SandboxRequest

$SandboxRequest : string

SandboxRequest

Request will be send to Heidelpay sandbox payment system.

Type

string

$customerDetails

$customerDetails : 

Type

$currency

$currency : string

Transaction currency

Type

string — currency

$secret

$secret : string

Secret

The secret will be used to generate a hash using transaction id + secret. This hash can be used to verify the the payment response. Can be used for brute force protection.

Type

string — secret

Methods

__construct()

__construct() 

Constructor used to set timezone to utc

setUp()

setUp() 

Set up function will create a EPS object for each testcase

getMethod()

getMethod(string  $method) : string

Get current called method, without namespace

Parameters

string $method

Returns

string —

class and method

testAuthorize()

testAuthorize() : string

Test case for a single EPS authorize

Returns

string —

payment reference id for the EPS authorize transaction