TEST_URL |
= |
'https://c3-test.wirecard.com/secure/ssl-gateway' |
|
Test server location
|
LIVE_URL |
= |
'https://c3.wirecard.com/secure/ssl-gateway' |
|
Live server location
|
ENVELOPE_NAMESPACES |
= |
{ 'xmlns:xsi' => 'http://www.w3.org/1999/XMLSchema-instance', 'xsi:noNamespaceSchemaLocation' => 'wirecard.xsd' |
|
The Namespaces are not really needed, because it just tells the System,
that there‘s actually no namespace used. It‘s just specified
here for completeness.
|
PERMITTED_TRANSACTIONS |
= |
%w[ AUTHORIZATION CAPTURE_AUTHORIZATION PURCHASE ] |
VALID_PHONE_FORMAT |
= |
/\+\d{1,3}(\(?\d{3}\)?)?\d{3}-\d{4}-\d{3}/ |
|
Wirecard only allows phone numbers with a format like this:
+xxx(yyy)zzz-zzzz-ppp, where:
xxx = Country code
yyy = Area or city code
zzz-zzzz = Local number
ppp = PBX extension
For example, a typical U.S. or Canadian number would be
"+1(202)555-1234-739" indicating PBX extension 739 at phone
number 5551234 within area code 202 (country code 1).
|