Overview
Interactive playground
What is ppsJSONConfig
ppsJSONConfig<ashrait>
<request>
<version>2000</version>
<language>ENG</language>
<command>doDeal</command>
<doDeal>
<terminalNumber>{terminalNumber}</terminalNumber>
...
<paymentPageData>
<ppsJSONConfig>
{
"frameAncestorURLs": "https://your-merchant-website.com",
"uiCustomData": {
"businessLogoUrl": "logo.png",
"uiLang": "eng",
"keepCCDetails": true,
"skipPaymentMethodsScreen": true,
"paymentMethods": [
{
"type": "token",
"token": "1066083457795999",
"cardExpiration": "0130"
}
],
"disableRetryOnFailure": true,
"disableTxnRedirectPopup": true,
"inputPlaceholder": true,
"inputLabelType": "DYNAMIC",
"userData": [
{
"id": 1,
"label": "Email Address",
"required": true,
"readonly": false,
"size": 100,
"minLength": 5,
"maxLength": 100
}
],
"customStyle": "#logo-icon{display:none}#cg-submit-btn{height:40px;color:#28a745;border-radius:0.25rem;box-shadow:none}",
"customText": {
"cg-pd-title": "Tx detail title",
"cg-form-title": "Transaction form title",
"label-card-number": "Custom card number label",
"label-expYear": "Custom expiration year label",
"label-expMonth": "Custom expiration month label",
"label-cvv": "Custom CVV label",
"cg-submit-btn": "Custom submit button text"
}
}
}
</ppsJSONConfig>
</paymentPageData>
</doDeal>
</request>
</ashrait>Last updated
Was this helpful?