Hiding Payment Methods
The Hyp CreditGuard payment page supports several payment methods in addition to standard credit card payments:
Apple Pay
Google Pay
bit
Payment link
Pinpad Cloud Pairing (PCP)
The exact set of payment methods available to you depends on your terminal settings.
All available payment methods are displayed on the payment page by default. If you want to hide one or more payment methods from the payment page, you can do this in one of two ways:
To hide one or more payment methods, use the
paymentMethodsarray. To represent a payment method, add an object with two properties:typeandhidden. Thetypeproperty is the payment method type (applepay,googlepay,bit,iprfor payment links, andpcpfor Pinpad Cloud Pairing), and thehiddenproperty indicates whether to hide the payment method or not. For example, to hide Apple Pay and payment links:<paymentPageData> <ppsJSONConfig> { "uiCustomData": { "paymentMethods": [ {"type": "applepay", "hidden": true}, {"type": "ipr", "hidden": true} ] } } </ppsJSONConfig> </paymentPageData>To hide all payment methods and only keep the standard credit card payment, use the
skipPaymentMethodsScreenproperty. Instead of explicitly setting every payment method type to"hidden": trueunderpaymentMethods, you can just setskipPaymentMethodsScreentotrue:<paymentPageData> <ppsJSONConfig> { "uiCustomData": { "skipPaymentMethodsScreen": true } } </ppsJSONConfig> </paymentPageData>
Last updated
Was this helpful?