Skip to content

03 Configuration

Igor Timoshenkov edited this page Mar 5, 2018 · 4 revisions
Name Type Sample values or constants Additional info
logging {Boolean} true or false If the script should log actions, requests, responses, etc.
language {String} VXPayLanguage.DE, VXPayLanguage.EN, VXPayLanguage.NL Localization of the UI.
env {String} VXPayEnvironment.VXONE, VXPayEnvironment.VXONE_LP, etc. Current script environment.
abgUrl {String} <valid URL string> Terms and conditions URL
privacyUrl {String} <valid URL string> Privacy policy URL
pfm {Number} <Integer> Target platform, ask your sales contact
host {Number} <Integer> VX hostId, which is used to find a proper teaser
wmId {Number} <Integer> Affiliate id, ask your sales contact
token {String} TT_e42fb06d-dab4-4866-891c-cfea6b3c84fe Access Token - token from VXPay Api to be injected to PayTour
promoCode {String} vip18superdeal Promocode with bonus to be granted after payment
enableTab {Boolean} true or false States if the Paytour should be opened in a new tab/window. Will be enabled automatically for mobile devices.
wmId {String} ??? Webmaster ID
wmSubRef {String} ??? Webmaster sub-reference
wmToken {String} ??? Webmaster token
adtv {String} ??? @todo
ruri {String} ?<valid URL string>? @todo

All modal config values can only access VXPayModalConfig.YES or VXPayModalConfig.NO as values. Those values are marked as VXPayModalConfigValue type in the table below.

Name Type Additional info
login {VXPayModalConfigValue} Specifies if login link should be visible
showHeader {VXPayModalConfigValue} Specifies if header should be visible
showTeaser {VXPayModalConfigValue} Specifies if teaser should be visible
showFooter {VXPayModalConfigValue} Specifies if footer should be visible
support {VXPayModalConfigValue} Specifies if support chat button should be visible
showOAuth {VXPayModalConfigValue} Specifies if OAuth buttons should be visible on login screen
showNL {VXPayModalConfigValue} ???
neutralHeader {VXPayModalConfigValue} Specifies if the header should be FSK-neutral
teaserBonus {VXPayModalConfigValue} Specifies if the signup screen should have a signup bonus description
showThank {VXPayModalConfigValue} ???
showLogo {VXPayModalConfigValue} Specifies if the VX loo should be shown
showTeaserBar {VXPayModalConfigValue} Specifies if teaser bar should be shown

Clone this wiki locally