Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Customizing Payment Page Design

When you create a payment page request, you can customize how the page looks in a few different ways.

Setting the UI language

First off, you can choose whether the payment page shows up in Hebrew or English.

By default, the page is displayed in Hebrew:

Payment page in Hebrew

To switch it to English, include the PageLang parameter with the value ENG in your request:

Payment page in English

Changing the language also affects a couple of other things:

  1. The page layout. If you're showing cart items, they'll be displayed right-to-left for Hebrew and left-to-right for English.

  2. The Israeli ID field. In Hebrew, the Israeli ID field is hidden once the customer enters a foreign card number. In English, it's not shown at all unless they enter an Israeli card.

You can add your company's logo to the payment page through your Hyp Pay account. Go to הגדרות (Settings) and click דף תשלום ו-API (Payment Page and API). In the פרטי העסק (Business details) section, click the + icon to upload a JPEG or PNG file. Once it's uploaded, scroll down and click שמירתהגדרות (Save changes).

Your logo will now appear on all your payment pages automatically — no need to change anything in your API requests:

A payment page with a logo

Showing cart items on the payment page

Normally, the payment page only shows fields for payment and customer info. If you want to show a list of what the customer is actually buying, you can add a cart items block using these two parameters:

  1. Pritim: Set this to True.

  2. heshDesc: This is a compact list of items, where each item is wrapped in square brackets ([]). Inside the brackets, separate the item details with a tilde (~) in this order: item code (use 0 if you don't have one), description, quantity, and price per unit. For example, a list with two items would look like this: [0~Item one~1~49.90][0~Item two~2~29.90]. Make sure not to use ~, [, or ] in your descriptions, and double-check that the sum of all items matches the total payment amount.

Here's an example API request that includes a list of cart items:

This request adds a block to the payment page showing exactly what the customer is paying for:

A payment page with a list of items

Choosing a payment page template

Hyp Pay comes with a dozen premade templates, so you can pick the look that fits your brand best.

To use a specific template, send the tmp parameter with the template number. Here's an example API request to use template number 2:

If you don't send the tmp parameter (or if you set it to 1), your payment page will use the first template by default:

Template 1 (default)

Note that some templates don't include fields for the customer's first and last name. If you're using one of these templates, make sure to include the ClientName and/or ClientLName parameter in your payment page request to avoid errors.

Here's what the other templates look like when you set tmp to a value between 2 and 15:

Template 2
Template 3
Template 4
Template 5
Template 6
Template 7
Template 8
Template 9
Template 10
Template 11
Template 12
Template 13
Template 14
Template 15

Hiding payment methods

If you've enabled digital wallets like Apple Pay or Google Pay but want to temporarily hide them, you can do that by sending the hideBtns parameter with the value True. This will leave only the standard credit card payment option visible.

Here's an example API request to hide digital wallets:

Last updated

Was this helpful?