No momento, esta página não está disponível em português
Payment-method icon

PromptPay Android Component

Add PromptPay to an existing Components integration.

On this page, you can find additional configuration for adding PromptPay to your Components integration.

Choose the server-side flow that your integration uses:

PromptPay is only available in v5.0.0 or later.

Before you begin

  1. Build a Components integration.
    Each section on this page corresponds to a section in the Components integration guide.
  2. Add PromptPay in your Customer Area.

Create a payment session

This step corresponds to Create a payment session in the Components integration guide.

You don't need to include any additional parameters for PromptPay in the API request.

Set up Components

This section corresponds to Set up Components in the Components integration guide.

Import the library

This step corresponds to the Import the library step of the Components integration guide.

During this step of integrating, use the following code snippets:

With Jetpack Compose

Without Jetpack Compose

Configure the Component

This step corresponds to Configure components of the Components integration guide.

You do not need to add specific configuration for PromptPay.

Create the checkout session

This step corresponds to the create a payment session step in the main integration guide.

Launch and show the Component

This corresponds to the Launch and show the Component step in the main integration guide.

During this step of integrating, use the following code snippets:

With Jetpack Compose

Without Jetpack Compose

Test and go live

Test PromptPay payments with real payment details and small amounts.

Check the status of your test PromptPay payments in your Customer Area > Transactions > Payments.

To accept live PromptPay payments, you must contact our Support Team to add PromptPay in your live Customer Area.

See also