Skip to main content
Skip table of contents

How to install XPay Shopify App

To Install the XPay Shop App on Your Shopify Store

  1. Open Your Shopify Store Settings

  • Go to your Shopify store.

  • Click on Settings.

  1. Access the Shopify App Store

  • Select Apps and Sales Channel.

  • Click on the Shopify App Store.

  1. Find and Install XPay

  • Search for "XPay by XStak".

  • Click on Install.

  1. Set Up the XPay App

  • Enter the following details:

  • First Name

  • Last Name

  • Company Email

  • Merchant ID (From bank)

  • Username (You will write it as merchant.merchant ID)

  • API Password (From bank)

  • Webhook Secret

  • Steps to generate webhook secret (BAFL MIDs):

a. Bank Alfalah Portal Link :

b. Add login details provided by the Bank (Merchant ID, Operator ID, and Password)

c. We need to fetch the Webhook secret from the BAFL portal

d. For Webhook Secret go to the Bank Alfalah portal and Click on the ADMIN tab.


  1. Complete Onboarding

  • Click Onboard.

  • Check your email for an activation link to the XPay admin portal.

  1. Activate Your XPay Account

  • Follow the instructions in the email to activate your account.

  1. Enable XPay Payments

  • After activating your account on XPay, you'll be ready to accept payments on your Shopify store. Select XPay as the payment method, which will show in your XPay account.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.