How to install XPay Shopify App
To Install the XPay Shop App on Your Shopify Store
Open Your Shopify Store Settings
Go to your Shopify store.
Click on Settings.
Access the Shopify App Store
Select Apps and Sales Channel.
Click on the Shopify App Store.
Find and Install XPay
Search for "XPay by XStak".
Click on Install.
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.
e. Click on WEBHOOK NOTIFICATIONS > ENABLE WEBHOOK > GENERATE NEW SECRET > SAVE
Complete Onboarding
Click Onboard.
Check your email for an activation link to the XPay admin portal.
Activate Your XPay Account
Follow the instructions in the email to activate your account.
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.