< All Topics
Print

Mypay Checkout Hosted Pages

This option doesn’t require any development effort, and you don’t have to worry about PCI Compliance, because you avoid the sensitive card information passing through your server. Our hosted checkout pages are fully PCI compliant. Mypay hosted checkout pages are created automatically via the dashboard interface when you create a product. You are able to add your logo, company details and choose your preferable colors.

This is the simplest way to implement Mypay to your website and make online payments possible. The checkout URL will be:   YOUR_MYPAY_SUBDOMAIN.mypay.gr/checkout. Mypay checkout pages support multiple payment gateways such as paypal, Trust etc.

Hosted payment pages allow customers to choose and buy your product or service, while you are able to collect card details and personal information from each transaction without worrying about PCI-compliance.

Checkout process via hosted payment pages is simple enough. By creating a product on Mypay dashboard, Mypay automatically create public checkout pages. Mypay provides you with 4 different links to the Public Signup Page for the Products you would like to offer to your customers. Once you embed one of these links in your website, your customer can buy your product or subscribe to your plan by giving their personal and card information.

There are 2 different scenarios to embed hosted payment page in your website:

  • 1st scenario: Checkout link

In this case you add the checkout link to a button, text or page in your website and when customers click on “Subscribe”, “Pricing” or “Buy” button or text they’ll be redirected to the hosted payment page to compete the transaction. in this scenario the hosted checkout page appears as a separate page outside of your site.

  • 2nd scenario: Using an iframe

In this case you allow customers to stay on your site while they complete checkout. In order to embed the hosted payment page in an iframe, you have to add following code in your website where you want to embed the specific hosted page:

Example:

<iframe src="https://YOUR_MYPAY_SUBDOMAIN.mypay.gr/Checkout?publicCheckoutPageID=YOUR_CHECKOUT_PAGE_ID" allow="geolocation"></iframe>

You can find your checkout page ID by visiting your check out page on Mypay dashboard.

The following parameters can be used in javascript function Mypay. Checkout:

TypeParameter nameParameter description
longprojectIDWhen provided, checkout will use your first checkout page or create one if none found
longinvoiceIDWhen provided, checkout will prefill products, customer
longpublicCheckoutPageIDThe id of your checkout page
longproductIDSpecify a product by id
intproductQuantitySpecify the product’s quantity
stringcurrencySpecify a 3-letter currency code to display checkout amounts (e.g USD)
decimal?amountWhen provided, a specific amount to charge the customer (a dummy product will be created)
stringfirstNameWhen provided, prefill customer info
stringlastNameWhen provided, prefill customer info
stringemailWhen provided, prefill customer info
stringcompanyWhen provided, prefill customer info
stringphoneWhen provided, prefill customer info
stringbillingAddress1When provided, prefill customer info
stringbillingAddress2When provided, prefill customer info
stringbillingCountryWhen provided, prefill customer info
stringbillingStateWhen provided, prefill customer info
stringbillingCityWhen provided, prefill customer info
stringbillingZipWhen provided, prefill customer info
boolshippingSameAsBillingWhen provided, prefill customer info
stringshippingAddress1When provided, prefill customer info
stringshippingAddress2When provided, prefill customer info
stringshippingCountryWhen provided, prefill customer info
stringshippingStateWhen provided, prefill customer info
stringshippingCityWhen provided, prefill customer info
stringshippingZipWhen provided, prefill customer info
boolissueInvoiceWhen provided, we create and send an invoice to customer
boolcaptureWhen provided, if false we just authorize the transaction, if true we both authorize-capture the transaction
long[]vendorIDWhen provided, we show products associated with these vendor IDs
boolhideHeaderFooterWhen provided, we show/hide the checkout header/footer
stringmerchantUniqueIDWhen provided, we set this unique id to the transaction metadata
stringcollectCustomerInfoWhen provided, customer details are required to be collected
stringcustomerTokenWhen provided, a specific customer is used*
boolhideCookieNoticeWhen provided we hide the accept cookies notice
longbusinessIDWhen provided we assign a specific customer business to the transaction
boolhideCustomerInfoWhen provided we hide customer info from checkout right side panel
boolsplitDiscountWithVendorThis should be set to true if you want to split the discount amount with your vendor. If the discount should be taken from the marketplace share, set it to false
  • 3rd scenario: Sending extended parameters to checkout

In this case you have the same result with 1st scenario, while additionally you have the option to send some of the parameters listed below:

TypeRequiredParameter nameParameter description
longyesPublicCheckoutPage.IDThe id of your public checkout page
stringCurrency.ISO4217Override checkout page’s currency setting
stringCartProducts[0].ProductTypeProduct type (Service, Subscription, Goods)
stringCartProducts[0].TitleProduct title
stringCartProducts[0].DescriptionProduct description
decimalCartProducts[0].PriceProduct price
decimalCartProducts[0].ShippingProduct shipping price
decimalCartProducts[0].TaxProduct vat rate
intCartProducts[0].QuantityProduct quantity
decimalCartProducts[0].SetupFeeSubscription setup fee amount
decimalCartProducts[0].SecurityDepositSubscription security deposit amount
stringCartProducts[0].PeriodSubscription charge period (Day, Month, Term, Semester, Year)
intCartProducts[0].PeriodIntervalSubscription charge period interval
stringCartProducts[0].CalendarBillingSubscription calendar billing in case of Month period (SignupDate, Day01, Day02, … Day28, DayLast)
longCartProducts[0].Vendors[0].IDProduct vendor ID
decimalCartProducts[0].Vendors[0].CommisionAmountOverrideVendor commision amount
stringCustomer.EmailYour customer’s email
stringCustomer.FirstNameYour customer’s first name
stringCustomer.LastNameYour customer’s last name
stringCustomer.BillingAddress1Your customer’s billing address line 1
stringCustomer.BillingAddress2Your customer’s billing address line 2
stringCustomer.BillingCityYour customer’s billing city
stringCustomer.BillingZipYour customer’s billing zip
stringCustomer.BillingCountry.CountryCode2LetterYour customer’s 2-letter billing country code
stringCustomer.BillingState.NameYour customer’s billing state
boolCustomer.UseSameAsBillingTrue: uses the same data as billing for shipping details
stringCustomer.ShippingAddress1Your customer’s shipping address line 1
stringCustomer.ShippingAddress2Your customer’s shipping address line 2
stringCustomer.ShippingCityYour customer’s shipping city
stringCustomer.ShippingZipYour customer’s shipping zip
stringCustomer.ShippingCountry.CountryCode2LetterYour customer’s 2-letter shipping country code
stringCustomer.ShippingState.NameYour customer’s shipping state
stringCustomer.CompanyYour customer’s company
stringCustomer.VatCountryYour customer’s 2-letter vat country code
stringCustomer.VatNumberYour customer’s vat number
stringCustomer.PhoneYour customer’s phone number
stringCustomer.EmailYour customer’s email
boolHideHeaderFooterHides checkout page header & footer
boolFixCaptureOverride payment method’s default setting, true: auth & capture, false: only auth
stringCouponCodeCoupon code
longBusinessIDCustomer’s business ID
boolIssueInvoiceOverride checkout page’s issue invoice setting
decimalFixPriceCreates a dummy product with specific amout (Currency.ISO4217 is also required).
decimalFixTaxFixed vat percentage (for example: 19 for 19%)
boolHideCustomerInfoHides checkout customer info from right side panel
stringMetadata[0].NameMetadata array item name (for example: merchantUniqueID)
stringMetadata[0].ValueMetadata array item value (for example: YOUR_UNIQUE_MERCHANT_ID)
boolSplitDiscountWithVendorThis should be set to true if you want to split the discount amount with your vendor. If the discount should be taken from the marketplace share, set it to false

Examples:

– Product selection

<form action="https://YOUR_MYPAY_SUBDOMAIN.mypay.gr/Checkout" method="post">
    <input type="hidden" name="PublicCheckoutPage.ID" value="YOUR_CHECKOUT_PAGE_ID" />

    <button type="submit">CHECKOUT</button>
</form>

– Customer info (with selected product)

<form action="https://YOUR_MYPAY_SUBDOMAIN.mypay.gr/Checkout" method="post">
    <input type="hidden" name="PublicCheckoutPage.ID" value="YOUR_CHECKOUT_PAGE_ID" />

    <input type="hidden" name="CartProducts[0].ID" value="YOUR_PRODUCT_ID" />
    <input type="hidden" name="CartProducts[0].Quantity" value="YOUR_PRODUCT_QUANTITY" />

    <button type="submit">CHECKOUT</button>
</form>

– Payment method selection (with selected product and customer)

<form action="https://YOUR_MYPAY_SUBDOMAIN.mypay.gr/Checkout" method="post">
    <input type="hidden" name="PublicCheckoutPage.ID" value="YOUR_CHECKOUT_PAGE_ID" />

    <input type="hidden" name="CartProducts[0].ID" value="YOUR_PRODUCT_ID" />
    <input type="hidden" name="CartProducts[0].Quantity" value="YOUR_PRODUCT_QUANTITY" />
    
    <input type="hidden" name="Customer.Token" value="YOUR_CUSTOMER_TOKEN" />

    <button type="submit">CHECKOUT</button>
</form>

– Payment method selection (with selected new products, customer and vendor with custom amount/percent)

<form action="https://YOUR_MYPAY_SUBDOMAIN.mypay.gr/Checkout" method="post">
	<input type="hidden" name="PublicCheckoutPage.ID" value="YOUR_CHECKOUT_PAGE_ID" />

	<input type="hidden" name="Currency.ISO4217" value="YOUR_CURRENCY" />

	<input type="hidden" name="CartProducts[0].ProductType" value="YOUR_PRODUCT_TYPE" />
	<input type="hidden" name="CartProducts[0].Title" value="YOUR_PRODUCT_TITLE" />
	<input type="hidden" name="CartProducts[0].Description" value="YOUR_PRODUCT_DESCRIPTION" />
	<input type="hidden" name="CartProducts[0].Price" value="YOUR_PRODUCT_PRICE" />
	<input type="hidden" name="CartProducts[0].Quantity" value="YOUR_PRODUCT_QUANTITY" />
	<input type="hidden" name="CartProducts[0].Vendors[0].ID" value="YOUR_VENDOR_ID" />
	<input type="hidden" name="CartProducts[0].Vendors[0].CommisionAmountOverride" value="YOUR_VENDOR'S_AMOUNT" />

	<input type="hidden" name="CartProducts[1].ProductType" value="YOUR_PRODUCT_TYPE" />
	<input type="hidden" name="CartProducts[1].Title" value="YOUR_PRODUCT_TITLE" />
	<input type="hidden" name="CartProducts[1].Description" value="YOUR_PRODUCT_DESCRIPTION" />
	<input type="hidden" name="CartProducts[1].Price" value="YOUR_PRODUCT_PRICE" />
	<input type="hidden" name="CartProducts[1].Quantity" value="YOUR_PRODUCT_QUANTITY" />
	<input type="hidden" name="CartProducts[1].Vendors[0].ID" value="YOUR_VENDOR_ID" />
	<input type="hidden" name="CartProducts[1].Vendors[0].CommisionPercentOverride" value="YOUR_VENDOR'S_PERCENT" />

	<input type="hidden" name="Customer.Token" value="YOUR_CUSTOMER_TOKEN" />

	<button type="submit">CHECKOUT</button>
</form>

– Payment method selection (with selected new subscription, customer and using custom metadata)

<form action="https://YOUR_MYPAY_SUBDOMAIN.mypay.gr/Checkout" method="post">
	<input type="hidden" name="PublicCheckoutPage.ID" value="YOUR_CHECKOUT_PAGE_ID" />

	<input type="hidden" name="Currency.ISO4217" value="YOUR_CURRENCY" />

	<input type="hidden" name="CartProducts[0].ProductType" value="Subscription" />
	<input type="hidden" name="CartProducts[0].Title" value="YOUR_SUBSCRIPTION_TITLE" />
	<input type="hidden" name="CartProducts[0].Description" value="YOUR_SUBSCRIPTION_DESCRIPTION" />
	<input type="hidden" name="CartProducts[0].Price" value="YOUR_SUBSCRIPTION_PRICE" />
	<input type="hidden" name="CartProducts[0].Tax" value="YOUR_SUBSCRIPTION_PRICE_TAX_PERCENTAGE" />
	<input type="hidden" name="CartProducts[0].SetupFee" value="YOUR_SUBSCRIPTION_SETUP_FEE_AMOUNT" />
	<input type="hidden" name="CartProducts[0].SecurityDeposit" value="YOUR_SUBSCRIPTION_SECURITY_DEPOSIT_AMOUNT" />
	<input type="hidden" name="CartProducts[0].Period" value="YOUR_SUBSCRIPTION_CHARGE_PERIOD" />
	<input type="hidden" name="CartProducts[0].PeriodInterval" value="YOUR_SUBSCRIPTION_CHARGE_PERIOD_INTERVAL" />
	<input type="hidden" name="CartProducts[0].CalendarBilling" value="YOUR_SUBSCRIPTION_CALENDAR_BILLING" />	
	
	<input type="hidden" name="Metadata[0].Name" value="customField1" />
	<input type="hidden" name="Metadata[0].Value" value="custom field 1 value" />
	<input type="hidden" name="Metadata[1].Name" value="customField2" />
	<input type="hidden" name="Metadata[1].Value" value="custom field 2 value" />

	<input type="hidden" name="Customer.Token" value="YOUR_CUSTOMER_TOKEN" />

	<button type="submit">CHECKOUT</button>
</form>

If you want to receive real-time notifications whenever a pre-defined event occurs in your billing site, you have to set up webhooks. Here you can find all available webhooks

Learn more regarding  checkout pages

Table of Contents
< All Topics
Print

Mypay Checkout Hosted Pages

This option doesn’t require any development effort, and you don’t have to worry about PCI Compliance, because you avoid the sensitive card information passing through your server. Our hosted checkout pages are fully PCI compliant. Mypay hosted checkout pages are created automatically via the dashboard interface when you create a product. You are able to add your logo, company details and choose your preferable colors.

This is the simplest way to implement Mypay to your website and make online payments possible. The checkout URL will be:   YOUR_MYPAY_SUBDOMAIN.mypay.gr/checkout. Mypay checkout pages support multiple payment gateways such as paypal, Trust etc.

Hosted payment pages allow customers to choose and buy your product or service, while you are able to collect card details and personal information from each transaction without worrying about PCI-compliance.

Checkout process via hosted payment pages is simple enough. By creating a product on Mypay dashboard, Mypay automatically create public checkout pages. Mypay provides you with 4 different links to the Public Signup Page for the Products you would like to offer to your customers. Once you embed one of these links in your website, your customer can buy your product or subscribe to your plan by giving their personal and card information.

There are 2 different scenarios to embed hosted payment page in your website:

  • 1st scenario: Checkout link

In this case you add the checkout link to a button, text or page in your website and when customers click on “Subscribe”, “Pricing” or “Buy” button or text they’ll be redirected to the hosted payment page to compete the transaction. in this scenario the hosted checkout page appears as a separate page outside of your site.

  • 2nd scenario: Using an iframe

In this case you allow customers to stay on your site while they complete checkout. In order to embed the hosted payment page in an iframe, you have to add following code in your website where you want to embed the specific hosted page:

Example:

<iframe src="https://YOUR_MYPAY_SUBDOMAIN.mypay.gr/Checkout?publicCheckoutPageID=YOUR_CHECKOUT_PAGE_ID" allow="geolocation"></iframe>

You can find your checkout page ID by visiting your check out page on Mypay dashboard.

The following parameters can be used in javascript function Mypay. Checkout:

TypeParameter nameParameter description
longprojectIDWhen provided, checkout will use your first checkout page or create one if none found
longinvoiceIDWhen provided, checkout will prefill products, customer
longpublicCheckoutPageIDThe id of your checkout page
longproductIDSpecify a product by id
intproductQuantitySpecify the product’s quantity
stringcurrencySpecify a 3-letter currency code to display checkout amounts (e.g USD)
decimal?amountWhen provided, a specific amount to charge the customer (a dummy product will be created)
stringfirstNameWhen provided, prefill customer info
stringlastNameWhen provided, prefill customer info
stringemailWhen provided, prefill customer info
stringcompanyWhen provided, prefill customer info
stringphoneWhen provided, prefill customer info
stringbillingAddress1When provided, prefill customer info
stringbillingAddress2When provided, prefill customer info
stringbillingCountryWhen provided, prefill customer info
stringbillingStateWhen provided, prefill customer info
stringbillingCityWhen provided, prefill customer info
stringbillingZipWhen provided, prefill customer info
boolshippingSameAsBillingWhen provided, prefill customer info
stringshippingAddress1When provided, prefill customer info
stringshippingAddress2When provided, prefill customer info
stringshippingCountryWhen provided, prefill customer info
stringshippingStateWhen provided, prefill customer info
stringshippingCityWhen provided, prefill customer info
stringshippingZipWhen provided, prefill customer info
boolissueInvoiceWhen provided, we create and send an invoice to customer
boolcaptureWhen provided, if false we just authorize the transaction, if true we both authorize-capture the transaction
long[]vendorIDWhen provided, we show products associated with these vendor IDs
boolhideHeaderFooterWhen provided, we show/hide the checkout header/footer
stringmerchantUniqueIDWhen provided, we set this unique id to the transaction metadata
stringcollectCustomerInfoWhen provided, customer details are required to be collected
stringcustomerTokenWhen provided, a specific customer is used*
boolhideCookieNoticeWhen provided we hide the accept cookies notice
longbusinessIDWhen provided we assign a specific customer business to the transaction
boolhideCustomerInfoWhen provided we hide customer info from checkout right side panel
boolsplitDiscountWithVendorThis should be set to true if you want to split the discount amount with your vendor. If the discount should be taken from the marketplace share, set it to false
  • 3rd scenario: Sending extended parameters to checkout

In this case you have the same result with 1st scenario, while additionally you have the option to send some of the parameters listed below:

TypeRequiredParameter nameParameter description
longyesPublicCheckoutPage.IDThe id of your public checkout page
stringCurrency.ISO4217Override checkout page’s currency setting
stringCartProducts[0].ProductTypeProduct type (Service, Subscription, Goods)
stringCartProducts[0].TitleProduct title
stringCartProducts[0].DescriptionProduct description
decimalCartProducts[0].PriceProduct price
decimalCartProducts[0].ShippingProduct shipping price
decimalCartProducts[0].TaxProduct vat rate
intCartProducts[0].QuantityProduct quantity
decimalCartProducts[0].SetupFeeSubscription setup fee amount
decimalCartProducts[0].SecurityDepositSubscription security deposit amount
stringCartProducts[0].PeriodSubscription charge period (Day, Month, Term, Semester, Year)
intCartProducts[0].PeriodIntervalSubscription charge period interval
stringCartProducts[0].CalendarBillingSubscription calendar billing in case of Month period (SignupDate, Day01, Day02, … Day28, DayLast)
longCartProducts[0].Vendors[0].IDProduct vendor ID
decimalCartProducts[0].Vendors[0].CommisionAmountOverrideVendor commision amount
stringCustomer.EmailYour customer’s email
stringCustomer.FirstNameYour customer’s first name
stringCustomer.LastNameYour customer’s last name
stringCustomer.BillingAddress1Your customer’s billing address line 1
stringCustomer.BillingAddress2Your customer’s billing address line 2
stringCustomer.BillingCityYour customer’s billing city
stringCustomer.BillingZipYour customer’s billing zip
stringCustomer.BillingCountry.CountryCode2LetterYour customer’s 2-letter billing country code
stringCustomer.BillingState.NameYour customer’s billing state
boolCustomer.UseSameAsBillingTrue: uses the same data as billing for shipping details
stringCustomer.ShippingAddress1Your customer’s shipping address line 1
stringCustomer.ShippingAddress2Your customer’s shipping address line 2
stringCustomer.ShippingCityYour customer’s shipping city
stringCustomer.ShippingZipYour customer’s shipping zip
stringCustomer.ShippingCountry.CountryCode2LetterYour customer’s 2-letter shipping country code
stringCustomer.ShippingState.NameYour customer’s shipping state
stringCustomer.CompanyYour customer’s company
stringCustomer.VatCountryYour customer’s 2-letter vat country code
stringCustomer.VatNumberYour customer’s vat number
stringCustomer.PhoneYour customer’s phone number
stringCustomer.EmailYour customer’s email
boolHideHeaderFooterHides checkout page header & footer
boolFixCaptureOverride payment method’s default setting, true: auth & capture, false: only auth
stringCouponCodeCoupon code
longBusinessIDCustomer’s business ID
boolIssueInvoiceOverride checkout page’s issue invoice setting
decimalFixPriceCreates a dummy product with specific amout (Currency.ISO4217 is also required).
decimalFixTaxFixed vat percentage (for example: 19 for 19%)
boolHideCustomerInfoHides checkout customer info from right side panel
stringMetadata[0].NameMetadata array item name (for example: merchantUniqueID)
stringMetadata[0].ValueMetadata array item value (for example: YOUR_UNIQUE_MERCHANT_ID)
boolSplitDiscountWithVendorThis should be set to true if you want to split the discount amount with your vendor. If the discount should be taken from the marketplace share, set it to false

Examples:

– Product selection

<form action="https://YOUR_MYPAY_SUBDOMAIN.mypay.gr/Checkout" method="post">
    <input type="hidden" name="PublicCheckoutPage.ID" value="YOUR_CHECKOUT_PAGE_ID" />

    <button type="submit">CHECKOUT</button>
</form>

– Customer info (with selected product)

<form action="https://YOUR_MYPAY_SUBDOMAIN.mypay.gr/Checkout" method="post">
    <input type="hidden" name="PublicCheckoutPage.ID" value="YOUR_CHECKOUT_PAGE_ID" />

    <input type="hidden" name="CartProducts[0].ID" value="YOUR_PRODUCT_ID" />
    <input type="hidden" name="CartProducts[0].Quantity" value="YOUR_PRODUCT_QUANTITY" />

    <button type="submit">CHECKOUT</button>
</form>

– Payment method selection (with selected product and customer)

<form action="https://YOUR_MYPAY_SUBDOMAIN.mypay.gr/Checkout" method="post">
    <input type="hidden" name="PublicCheckoutPage.ID" value="YOUR_CHECKOUT_PAGE_ID" />

    <input type="hidden" name="CartProducts[0].ID" value="YOUR_PRODUCT_ID" />
    <input type="hidden" name="CartProducts[0].Quantity" value="YOUR_PRODUCT_QUANTITY" />
    
    <input type="hidden" name="Customer.Token" value="YOUR_CUSTOMER_TOKEN" />

    <button type="submit">CHECKOUT</button>
</form>

– Payment method selection (with selected new products, customer and vendor with custom amount/percent)

<form action="https://YOUR_MYPAY_SUBDOMAIN.mypay.gr/Checkout" method="post">
	<input type="hidden" name="PublicCheckoutPage.ID" value="YOUR_CHECKOUT_PAGE_ID" />

	<input type="hidden" name="Currency.ISO4217" value="YOUR_CURRENCY" />

	<input type="hidden" name="CartProducts[0].ProductType" value="YOUR_PRODUCT_TYPE" />
	<input type="hidden" name="CartProducts[0].Title" value="YOUR_PRODUCT_TITLE" />
	<input type="hidden" name="CartProducts[0].Description" value="YOUR_PRODUCT_DESCRIPTION" />
	<input type="hidden" name="CartProducts[0].Price" value="YOUR_PRODUCT_PRICE" />
	<input type="hidden" name="CartProducts[0].Quantity" value="YOUR_PRODUCT_QUANTITY" />
	<input type="hidden" name="CartProducts[0].Vendors[0].ID" value="YOUR_VENDOR_ID" />
	<input type="hidden" name="CartProducts[0].Vendors[0].CommisionAmountOverride" value="YOUR_VENDOR'S_AMOUNT" />

	<input type="hidden" name="CartProducts[1].ProductType" value="YOUR_PRODUCT_TYPE" />
	<input type="hidden" name="CartProducts[1].Title" value="YOUR_PRODUCT_TITLE" />
	<input type="hidden" name="CartProducts[1].Description" value="YOUR_PRODUCT_DESCRIPTION" />
	<input type="hidden" name="CartProducts[1].Price" value="YOUR_PRODUCT_PRICE" />
	<input type="hidden" name="CartProducts[1].Quantity" value="YOUR_PRODUCT_QUANTITY" />
	<input type="hidden" name="CartProducts[1].Vendors[0].ID" value="YOUR_VENDOR_ID" />
	<input type="hidden" name="CartProducts[1].Vendors[0].CommisionPercentOverride" value="YOUR_VENDOR'S_PERCENT" />

	<input type="hidden" name="Customer.Token" value="YOUR_CUSTOMER_TOKEN" />

	<button type="submit">CHECKOUT</button>
</form>

– Payment method selection (with selected new subscription, customer and using custom metadata)

<form action="https://YOUR_MYPAY_SUBDOMAIN.mypay.gr/Checkout" method="post">
	<input type="hidden" name="PublicCheckoutPage.ID" value="YOUR_CHECKOUT_PAGE_ID" />

	<input type="hidden" name="Currency.ISO4217" value="YOUR_CURRENCY" />

	<input type="hidden" name="CartProducts[0].ProductType" value="Subscription" />
	<input type="hidden" name="CartProducts[0].Title" value="YOUR_SUBSCRIPTION_TITLE" />
	<input type="hidden" name="CartProducts[0].Description" value="YOUR_SUBSCRIPTION_DESCRIPTION" />
	<input type="hidden" name="CartProducts[0].Price" value="YOUR_SUBSCRIPTION_PRICE" />
	<input type="hidden" name="CartProducts[0].Tax" value="YOUR_SUBSCRIPTION_PRICE_TAX_PERCENTAGE" />
	<input type="hidden" name="CartProducts[0].SetupFee" value="YOUR_SUBSCRIPTION_SETUP_FEE_AMOUNT" />
	<input type="hidden" name="CartProducts[0].SecurityDeposit" value="YOUR_SUBSCRIPTION_SECURITY_DEPOSIT_AMOUNT" />
	<input type="hidden" name="CartProducts[0].Period" value="YOUR_SUBSCRIPTION_CHARGE_PERIOD" />
	<input type="hidden" name="CartProducts[0].PeriodInterval" value="YOUR_SUBSCRIPTION_CHARGE_PERIOD_INTERVAL" />
	<input type="hidden" name="CartProducts[0].CalendarBilling" value="YOUR_SUBSCRIPTION_CALENDAR_BILLING" />	
	
	<input type="hidden" name="Metadata[0].Name" value="customField1" />
	<input type="hidden" name="Metadata[0].Value" value="custom field 1 value" />
	<input type="hidden" name="Metadata[1].Name" value="customField2" />
	<input type="hidden" name="Metadata[1].Value" value="custom field 2 value" />

	<input type="hidden" name="Customer.Token" value="YOUR_CUSTOMER_TOKEN" />

	<button type="submit">CHECKOUT</button>
</form>

If you want to receive real-time notifications whenever a pre-defined event occurs in your billing site, you have to set up webhooks. Here you can find all available webhooks

Learn more regarding  checkout pages

Table of Contents
@media only screen and (min-width:768px){#eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 #eckb-article-content-header-row-1,#eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 #eckb-article-content-header-row-2,#eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 #eckb-article-content-header-row-3,#eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 #eckb-article-content-header-row-4,#eckb-article-page-container-v2 #eckb-article-body #eckb-article-content #eckb-article-content-header-v2 #eckb-article-content-header-row-5{flex-direction:row;}}#eckb-article-content-header-row-1{margin-bottom:8px;}#eckb-article-content-header-row-1 .eckb-article-content-header-row-left-group,#eckb-article-content-header-row-1 .eckb-article-content-header-row-right-group{align-items:center;}.eckb-article-content-toolbar-button-container{background-color:#ffffff;padding:10px 10px 10px 10px;margin:0px 0px 0px 0px;border-radius:0px;border-width:0px;border-color:#ffffff;border-style:solid;}.eckb-article-content-toolbar-button-container .eckb-toolbar-button-text{color:#000000;font-size:15px;}.eckb-article-content-toolbar-button-container .eckb-toolbar-button-icon{color:#000000;font-size:20px;}.eckb-article-content-toolbar-button-container:hover{background-color:#ffffff;}.eckb-article-content-toolbar-button-container:hover .eckb-toolbar-button-text{color:#000000;}.eckb-article-content-toolbar-button-container:hover .eckb-toolbar-button-icon{color:#000000;}#eckb-article-content-header-row-2{margin-bottom:0px;}#eckb-article-content-header-row-2 .eckb-article-content-header-row-left-group,#eckb-article-content-header-row-2 .eckb-article-content-header-row-right-group{align-items:flex-end;}#eckb-article-content-footer .epkb-article-navigation-container a{background-color:#f7f7f7;color:#1e73be;}#eckb-article-content-footer .epkb-article-navigation-container a:hover{background-color:#dee3e5;color:#6d6d6d;}#eckb-article-body .eckb-article-toc ul a.active{background-color:#1e73be;color:#ffffff;}#eckb-article-body .eckb-article-toc ul a:hover{background-color:#e1ecf7;color:#000000;}#eckb-article-body .eckb-article-toc__inner{border-color:#2b98e5;font-size:14px !important;background-color:#fcfcfc;}#eckb-article-body .eckb-article-toc__inner a{color:#2b98e5;font-size:14px !important;}#eckb-article-body .eckb-article-toc__title{color:#2b98e5;font-size:15px !important;}