1. Obtain production credentials
Sign in to the EasyPaisa Merchant Account Portal and obtain the following production credentials:
- Store Username
- Store Password
- Store ID, available under Profile
- EWP Account ID, available under Profile
Use these credentials to configure the EasyPaisa gateway instance in XPay.
Keep the credentials secure and do not include them in frontend code, application logs, or public documentation.
2. Upload the XPay public key
- Sign in to the EasyPaisa Merchant Account Portal.
- Open Key Management or Public Key Upload.
- Create a file named
public.pem. - Paste the public-key value provided below into the file.
- Upload
public.pemto the EasyPaisa portal. - Confirm that the portal reports a successful upload.
Public-key value:
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwlDFu56oIBMHAEKKxy3kuo/dAgF/74uM5BgpPUavuKN7/dYsWU3bAdnHK4+t1pHstB5Sd1XfCiq6WowE+WU+M91+Z/GCe/S22YqIRBo72QVu9owNOmt99+p01jFehYKfXDYx7uUZD1z/h0GhAYUK5bTSKW7lEp4KZFxIOZH09EYkVZS1lVB9UEyFZHWOyFGCcVe1xVhsj9bqWq/pk3nJtMq6/2iAJfu12LG9kgBhtMTIPDQtL9G9ASkJlBEFr+DBEE0OzWS+diW5io8algnAvOPkUtDZTJ9e5bPYbuQfEweezWN7MDdNvbB6VS6DshhgVjUmcyd5KiclWSnCMfXrvQIDAQAB
Confirm the configuration
Before going live, confirm that:
- All four production credentials are configured in the XPay gateway instance.
- The XPay public key has been uploaded successfully.
- The gateway instance is associated with the correct live XPay account.