Suggesting to Save Credit Card Data
By default, the payment page doesn't suggest saving a credit card for use later.
You can change this by setting the keepCCDetails property to true. As a result, the payment page will contain the Save Credit Card Detail checkbox that the customer can select to allow storing their card for future use:
<paymentPageData>
<ppsJSONConfig>
{
"uiCustomData": {
"keepCCDetails": true
}
}
</ppsJSONConfig>
</paymentPageData>Here's the resulting payment page:

When redirecting to your success or error page, Hyp CreditGuard passes a query string with several parameters. One of them is keepCCDetails. If it's set to true, it means the customer has opted to save their card, and you can now save the token and the expiration date, both of which are also returned in the query string, to your database.
For details, see Tokenization.
Last updated
Was this helpful?