Skip to documentation
YPYakaApp YakaniPay
Menu

Guides

Hosted Payment Page

Redirect customers to a YakaniPay-hosted checkout

Overview

The Hosted Payment Page (HPP) integration sends customers to a secure YakaniPay-hosted payment interface. Sensitive payment credentials do not pass through the merchant's servers, helping reduce PCI DSS scope.

Recommended for HPP
  • Merchants seeking minimal PCI scope
  • Fast integration with limited code
  • Mobile-first checkout journeys
Direct API works best for
  • Full control over the payment interface
  • Custom checkout flows
  • Native mobile applications

Integration

  1. Generate HPP token

    Send the transaction details to the HPP endpoint and receive an hppToken and hppUrl.

  2. Redirect customer

    Redirect the customer's browser to the returned hppUrl.

  3. Customer pays

    The customer completes payment on the YakaniPay-hosted page using a supported method.

  4. Receive redirect

    YakaniPay returns the customer to your returnUrl with transaction-result parameters.

  5. Verify via webhook

    Configure a webhook for server-to-server transaction confirmation and verify the final result.