Docs / Shopify plugin
Connecting the PayRam Shopify plugin: steps, prerequisites and what to watch for
The official Shopify plugin lets customers choose “Pay via PayRam” at checkout. It needs a server of your own, so understand how it works before you start.
PayRamHost hosted merchant onboarding has been paused since 29 November 2026. Where this guide mentions PayRamHost, it describes the situation before the pause; the PayRam usage it explains still applies.
The short version: PayRam provides an official Shopify plugin that adds a “Pay via PayRam” payment method to your Shopify store. The customer places the order first and then pays through PayRam on the Thank You page. Setup has three parts: run the plugin service on a server (it needs HTTPS), configure Shopify with a manual payment method, and test a payment. It involves terminal commands and a server of your own, so it is not a few-clicks setup.
1. How it works
The customer flow described in the official documentation:
- At checkout the customer selects Pay via PayRam and places the order.
- After ordering, the customer completes payment on the Thank You page: they enter an email, the system generates a PayRam payment link and the customer pays with it.
In other words, Shopify uses a manual payment method, and the order is created before the payment. Payment happens in PayRam, and you confirm receipt after the order exists. This affects your fulfilment process; see “Running it day to day” below.
2. What to prepare
- A PayRam project and its project API key. Generate it in the dashboard; the plugin needs it. We suggest creating a dedicated project for this Shopify store; see multiple projects.
- A server that can run a script. The official documentation says the plugin service can be installed on any server and does not need to be on the same server as the main PayRam instance.
- A way to serve HTTPS. Port
2798must be exposed over HTTPS, using an nginx reverse proxy or HTTPS configured directly on the server. - Admin access to a Shopify store to create the app, install it and set up the payment method.
- A PayRam account that already accepts payments. Wallets and the hot wallet should be configured; see the merchant guide.
About PayRamHost: the Base URL you enter in the plugin settings is, in the official wording, “the address of your PayRam server, the same one you use for the dashboard”. It must be HTTPS, with no port and no path. For a PayRamHost merchant this corresponds to the domain of your merchant dashboard. We have not yet verified this plugin step by step on PayRamHost, so before you start please contact us to confirm that your account can be used this way.
3. Part A: install the plugin service on a server
These are the official steps, summarised here. For the exact commands go by the official documentation.
- Get the installation script. PayRam publishes the plugin repository on GitHub (
payram-shopifyunder the PayRam organisation) together with a bash installation command. - Run the script in a terminal. It walks you through setup, and you can accept the default values unless you have special needs.
- Configure HTTPS. After installation, expose port
2798over HTTPS (an nginx reverse proxy, or HTTPS configured directly). - Log in and create the app. Open the login page shown at the end of the script, sign in with your Shopify credentials, then run the app-creation step in the terminal when prompted.
- Enter your Shopify store URL when asked.
- Choose a database. You can connect an external database or use the default SQLite, which the documentation says works for most setups.
- Install the app into Shopify. Follow the link in the terminal, open it in a browser and click Install. In the app settings enter:
- Base URL: the address of your PayRam server, HTTPS, with no port and no path. The app adds the API path itself.
- Project API Key: the project API key.
- Payment Method Name: the label shown to customers.
- Test the connection. Click Test PayRam Connection. An HTTP 200 response means the connection works.
Read any installation script on GitHub before you run it. It executes commands on your server and handles your Shopify authorisation and PayRam project API key. Get it only from the official repository, and never use an “improved” copy of unknown origin.
4. Part B: configure Shopify
- Add a manual payment method. Go to Settings → Payments, open the Manual Payment Methods dropdown, choose Create custom payment method and name it PayRam.
- Customise the checkout. In the Shopify sidebar go to Checkout → Customize. This is where customers will see the PayRam option.
- Add the app to the Thank You page. Approve the app and add it to the Thank You page so the payment widget appears there.
5. Part C: test a payment
The official test steps:
- Visit your Shopify store.
- Add any item to your cart.
- Proceed to checkout.
- Select Pay via PayRam.
- Click Pay Now.
- On the Thank You page, enter your email address.
- A PayRam payment link is generated.
- Complete the payment using the link.
If the payment goes through, the whole chain is connected. We suggest using a low-priced item and confirming in the PayRam dashboard that the payment arrived with the status FILLED. A fuller pre-launch check is in the go-live checklist.
6. Running it day to day
These are our recommendations, not official requirements:
- The order appears before the payment. In the official flow the customer orders first and pays afterwards, so an order in Shopify does not mean you have been paid. Before shipping, confirm in the PayRam dashboard that the payment has arrived (status
FILLEDorOVER_FILLED). The statuses are explained in payment statuses. - Handle underpayment, overpayment and expiry. The official documentation does not say whether these are synchronised to the Shopify order, so we suggest assuming they are not and watching the PayRam dashboard yourself. For an underpayment, ask the customer to top up; for an overpayment, refund it or record it as credit; for an expired order, send a new payment link. See refunds and payouts.
- Protect the key. The project API key lives in the plugin service. Use it for this project only and keep the server operating system and the plugin up to date.
- Watch the HTTPS certificate. The plugin service is served over HTTPS, and an expired certificate breaks the whole checkout chain.
- Keep a reconciliation routine. Once a day, compare receipts in the PayRam dashboard with orders in Shopify, and ship only when the two agree.
7. If you do not want to run a server
If you would rather not maintain a plugin server, there are other ways to connect:
- Payment links: with few orders, send customers payment links by hand, with no integration at all.
- The API: have a developer build an automated flow with the API and webhooks.
How these options compare is covered in accepting crypto on your store: which option to choose.
8. FAQ
Do I need to write code?
No code, but you do have to run commands in a terminal, configure HTTPS and maintain a server. If you have no experience with that, ask someone who does, or start with payment links.
Can the plugin service live on the same server as PayRam?
It can, but it does not have to. The official documentation says it can be installed on any server. If you use PayRamHost, PayRam itself is not on your server, so the plugin service has to be installed on a server of your own.
Must customers pay on the Thank You page?
In the official flow, yes: the customer selects Pay via PayRam and places the order, then completes payment on the Thank You page. So make sure the app is approved and added to that page.
What if Test PayRam Connection does not return 200?
Check that the Base URL is HTTPS with no extra port or path, that the project API key is correct and that the plugin server can reach the PayRam service. If it still fails, contact us.
Related reading
- Choosing an integration: Four ways to accept PayRam payments on a site: sending payment links by hand, the API plus webhooks, the official TypeScript SDK and the Shopify plugin. Compare development effort, fit and upkeep, with advice for choosing by situation.
- Payment links: How PayRam payment links work: pick a customer and a USD amount in the dashboard, generate a link and send it, and the customer chooses a coin and network to pay. How to share and track them, expiry, things to watch for and when to move to the API.
- Create payments via API: Add crypto payments to your own site with the PayRam API: create a payment and get a payment link, send the customer to the payment page, confirm receipt with webhooks and the status endpoint, and reconcile by order number. With curl, Node.js and Python examples.
- Go-live checklist: PayRam mainnet has no sandbox, so test with small real amounts before launch. This checklist covers, in order: checking the configuration, one payment per chain and coin, verifying sweeping, under- and overpayment and expiry, webhooks, refunds and payouts, the card channel, and where to look when something fails.
Sources
This guide is based on the PayRam official documentation below, checked on 2026-11-09. PayRamHost is an independently operated service and is not affiliated with PayRam. If anything differs, the official documentation prevails.
