Skip to content

ApplePay integration instructions

Integrations

Apple Pay payments from Flit are available both for web and mobile.

Apple Pay on web can be integrated with several options:

Apple Pay in mobile application can be integrated with Flitt SDK depending on the programming language or framework:

Steps for mobile

Create payment

To start accept payments in your mobile application, first you need to create payment in Flitt.

This is usually done on mobile application backend.

Before you start integration of Apple Pay on mobile, you will need to Register Apple Merchant ID and Create Apple Pay certificates.

Follow instructions bellow.

Register Apple Merchant ID

Register Apple Merchant ID following the instruction register merchant ID at Apple Developer site.

Fill out the form with a description and identifier. Your description is for your own needs and may be changed in the future (we recommend using the name of your mobile application). The identifier must be unique (in all Apple applications, not just yours) and cannot be changed later (although you can always create another). We recommend using merchant.flitt.com.{{Your_app_name}}. Keep this value for future reference when developing the application.

Detailed instruction:

Identifiers

Add

  • in Register a new identifier choose to register Merchant IDs

Register

  • Fill out Description and Identifier (merchant.flitt.com.{{your_app_bundle_id}}.):

Description

Create new Apple Pay certificates

You need to add the certificates to your application to encrypt payment data. To do this, follow 3 steps:

  • Use Keychain Access on Mac to generate Certificate Signing Request files.

    On other platforms you can use openssl commands:

    Apple Merchant Identity Certificate:

    openssl genrsa -out merchant.key 2048
    openssl req -new -key merchant.key -out merchant.csr
    

    Apple Processing Certificate:

    openssl ecparam -out processing.key -name prime256v1 -genkey
    openssl req -new -sha256 -key processing.key -nodes -out processing.csr
    
  • Use these CSR files to generate certificates

    section Apple Pay Payment Processing Certificate:

    Processing Certificate

    section Apple Pay Merchant Identity Certificate:

    Identity Certificate

  • Download and send obtained certificates to Flitt support.