How to Setup your web application for Apple Pay on Paystack

Paystack, a leading payment gateway in on the continent of Africa, now supports Apple Pay integration, enabling businesses to accept payments from customers using Apple devices on the continent.

Apple Pay is a mobile payment and digital wallet service developed by Apple. It allows users to make secure payments in stores, online, and within apps using their Apple devices, such as iPhones, iPads, Apple Watches, and Macs. Launched in 2014, Apple Pay leverages Near Field Communication (NFC) technology for contactless payments and uses tokenization to ensure the security of transactions. Instead of sharing actual card details with merchants, it generates a unique token for each transaction, enhancing privacy and security.

Paystack, a leading payment gateway in on the continent of Africa, now supports Apple Pay integration, enabling businesses to accept payments from customers using Apple devices on the continent.

Every Apple Pay request needs to be associated with a top-level domain or subdomain. To begin accepting payment with Apple Pay, you need to:

  1. Register your domain
  2. Host your domain verification file
  3. Verify your domain

Register your domain

To begin, head over to your Paystack Dashboard and take these steps:

  1. Click on the Apple Pay tab on the Settings page
  2. Under the Web Domains section, click on Add new domain button
Paystack Dashboard

A modal will pop-up. On the modal, add your domain name and download the domain verification file. The verification file will be required in the next step. You would be uploading the file onto our webserver.

Host your domain verification file

For each top-level domain and/or subdomain registered, you need to host a verification file in the .well-known folder in your website’s root directory.

For example, if you registered paystack.com, then the verification file should reside in: https://paystack.com/.well-known. Likewise, if you registered music.paystack.com, the verification file should reside in: https://music.paystack.com/.well-known.

Hosting the verification file is a two-step process:

  • Create a .well-known folder in your website’s root directory
  • Add the verification file previously downloaded to this folder

Do ensure the domain verification file is returned with a content-type of application/text. Using a different content-type could cause your customer’s payment to fail.

More Information ℹ
Gabby
Gabby

Inspiring readers to expound the possibilities of the unfolding World

Comments

Your email address will not be published. Required fields are marked *

001