Your Ultimate Guide to Integration & Configuration of Payment Express (PX) in Magento 2

Your Ultimate Guide to Integration & Configuration of Payment Express (PX) in Magento 2

Magento’s flexible architecture allows integration of multiple payment methods. Payment Express (PX) is one of the payment gateways that most merchants use on their sites. However, the integration of PX in Magento 2 can be quite tricky for new developers.

To make it easier for you, this blog covers all the necessary steps required for fast mode integration and configuration of Payment Express (PX) in your Magento 2 store.

magento integration

magento integration


Step 1:

Download PX extension from marketplace URL given below:

Please note, only extension functionality of “payment express checkout” is covered here.

Step 2:

Now, create developer/sandbox account via undermentioned URL:

Please note, the creation of developer account takes a few days. Once created, you shall receive the following information from the support team:

Payline logon URL:

Username: alpha_Dev

Password: b70118765

The “Payline logon” is a panel where all the transactions can be viewed.

PxPayUserId: alpha_Dev

PxPayKey: a111116a41468cd86fd8579e884d8ec11111c0b703225d42c2a6a905fed11111

PxPay Url (sandbox):

PostUsername: alpha_Dev

PostPassword: 04n391111

PxPost Url (sandbox):

Support email:

[email protected]

The PX Pay XML Interface is documented at:

For PX Post, documentation and sample code can be found at:

Test credit card numbers etc. can be found at:

Step 3:

Now, you need to install PX extension. Please note that it is highly important to follow all the M-2 commands for complete installation.

Step 4:

Configure PX from:

Admin → stores → configuration → sales → payment methods → payment express checkout…

magento integration

Step 5:

This is the final step for testing the flow of Payment Express (PX). It lets you know whether the transaction is successful or failed. You can view the status of the same in session message and under PX log-on panel.

magento integration

magento integration

And that’s it! Wasn’t it easy?

Please feel free to comment or reach out if you have any questions. In case you need any help with installation, integration, upgradation and customization of your Magento 2 web store, please get in touch with us.


USA408 365 4638


1301 Shoreway Road, Suite 160,

Belmont, CA 94002

Contact us

Whether you are a large enterprise looking to augment your teams with experts resources or an SME looking to scale your business or a startup looking to build something.
We are your digital growth partner.

Tel: +1 408 365 4638
Support: +1 (408) 512 1812