The Paystand plugin for Magento enables merchants to accept digital payments directly through the Magento checkout experience. It provides a seamless and secure way for customers to pay while ensuring merchants benefit from lower-cost payment methods.
Key Features
- Embedded Checkout Experience
The Paystand checkout is fully embedded in the Magento UI and can be customized to include your company’s logo and background color. - Flexible Payment Options
It supports both zero-fee payment methods (bank transfers), credit card payments, and ACH. Customers can check out as guests or while logged into their accounts. - ERP Compatibility
The integration supports syncing of Magento orders and Paystand payments with NetSuite for end-to-end ERP reconciliation (if applicable). - Real-Time Order Updates
Orders in Magento automatically update upon successful payment. This relies on proper webhook configuration. - Webhooks Required
Webhooks must be configured correctly in Paystand to ensure order statuses are updated in Magento. Without them, payment updates will not reflect in the store. - Fees Handling
Payment processing fees are included in the Paystand transaction total and displayed in the Magento UI. - Payment Tokenization
Magento integration supports storing payment methods as a logged in user. - Logged in and Guest users
Supports two checkout experiences depending on whether your customer is logged into their store account or checking out as a guest. Each flow offers a slightly different set of features.
Magento 2 Guide — Install & Configure Paystand Payment Gateway
This page explains how to install, configure, and operate the Paystand Magento 2 plugin, including webhook setup, Fees & Incentives configuration, and optional NetSuite reconciliation.
1. Setup Requirements
To implement the Paystand plugin, you will need:
Magento 2.4.x (tested up to 2.4.7)
Paystand Account with API access
Magento Developer (Paystand does not install or host your Magento store)
NetSuite Account (Optional) for ERP reconciliation
Before You Begin
Ensure you have API keys from Paystand Dashboard → API Configuration Values
Confirm you have SSH access to your Magento application
Ensure Composer is available on your server
1) Install the module (run from Magento root)
Run the following commands from your Magento root directory:
composer config repositories.paystand-magento2 git <https://github.com/paystand/paystand-magento2.git> composer require paystand/paystandmagento:dev-master#3.6.1 composer update php bin/magento setup:upgrade
2) Configure Paystand in Magento Admin
Go to the Magento Admin Panel → Stores → Configuration → Sales → Payment Methods → Paystand
- Enter your credentials (including the
publishable_key) from the Paystand Dashboard → API Configuration Values - Click Save Config
Flush Magento cache (Admin: System → Cache Management or CLI:
php bin/magento cache:flush)This enables Paystand as a payment method in your Magento checkout.
3) Enable a webhook event URL (payment status updates)
Webhooks are mandatory for accurate order posting. Without them, Magento will not receive payment confirmations.
- Locate your Magento 2 base URL
Use this webhook URL format:
https://{your magento base url}/paystandmagento/webhook/paystand- In Paystand Dashboard, go to Webhook Event URLs and click Add a Webhook event URL
- Paste the URL (replace {your-magento-base-url} with your real domain) and click Save
When a payment succeeds, Paystand sends a webhook event that updates the corresponding Magento order.
4) Assign Convenience Fee / Incentive plan (Preset URL Key)
If you use Paystand’s Fees & Incentives engine:
In Paystand Dashboard, copy your Preset URL Key
(Dashboard → Fees & Incentives)In Magento Admin → Paystand configuration, paste it into:
Checkout preset keySave configuration
This ensures Magento applies the correct incentives, surcharges, or method restrictions at checkout.
6. Magento → Paystand Payment Flow
Base Checkout Flow (All Merchants)
Customer begins checkout → Magento creates a QuoteID
Paystand embedded checkout renders
Customer completes payment
Paystand returns a Payment Object
Webhook fires → Magento updates the order status
This is the complete flow for merchants not using NetSuite.
7. Optional: NetSuite ERP Reconciliation
For merchants using Paystand + NetSuite integration, Magento is part of a larger financial workflow.
Full ERP Flow
Customer checks out in Magento
Paystand processes payment
Webhook updates Magento order
Magento pushes order + payment to NetSuite
NetSuite:
Creates Sales Order
Applies Payment
Posts Deposit
API Used for Payment Application
POST https://api.paystand.com/v3/netsuites/apply-payment/publicRequired fields include:
Payment ID
Invoice or Sales Order ID
Amount
Currency
Customer identifiers
The NetSuite record must exist before a payment can be applied.
8. Troubleshooting & Common Misconfigurations
| Symptom | Likely Cause | Fix |
|---|---|---|
| Orders stay in “Pending Payment” | Webhook not configured or failing | Verify webhook URL & response codes |
| Fees not showing in Magento | Missing preset key | Add Checkout preset key |
| Checkout not loading | Incorrect API credentials | Re-enter keys in admin |
| Payments not posting to NetSuite | Missing ERP mapping fields | Validate ERP field mappings |