Cursor payment gateway integration for UK card payments
Cursor is an editor, so it works in whatever your project already is. Paste the eCom Pay prompt into the chat, point it at the docs, and it adds the card form, the server side confirmation and the refund flow in place, then runs them against the test cards.
Docs, libraries and the prompt at docs.ecompay.co.uk. Prefer it done for you? Tell us about the app and we set it up with you.
24 hrs
approval, once documents are in
150+
currencies processed
4.5
Trustpilot rating
2010
processing payments since
Frequently asked
Can I integrate a UK payment gateway from Cursor?
Yes. Create a free test account at the eCom Pay dashboard, paste the eCom Pay prompt into Cursor, and it adds a browser encrypted card form with Apple Pay, Google Pay and 3D Secure. Test with test cards, then swap one key to go live once approved.
Does eCom Pay have an MCP server for Cursor?
Yes. Connect it in Cursor and the assistant can create payment links and check payments from the editor, under your account. The list of what it can do is at docs.ecompay.co.uk.
How does my app know a payment succeeded?
A signed payment update reaches your server. Your app checks the signature and the amount, then confirms the order. Nothing is confirmed from the browser alone.
Need a payment gateway Cursor can integrate without you reading the API docs yourself?
The gateway Cursor integrates cleanly is the one with documentation written to be read by an AI, a prompt for it, and libraries for the server side. eCom Pay provides those, and connects to Cursor through MCP for payment links and payment checks from the editor.
How Cursor builds, and where the checkout goes
Cursor edits your repository directly, so the integration follows your stack. Node and Python libraries handle the server side, the card form drops into any web front end, and the signed payment update is the only thing allowed to confirm an order.
How to add card payments to your Cursor app in three steps
Create a test account
Sign up at the eCom Pay dashboard and you are in test mode straight away, with test cards. Nothing goes live until our team has approved your account, usually within one working day.
Paste the prompt into Cursor
Copy the eCom Pay prompt from the docs into your builder. It tells the AI how to add the card form, confirm payments and handle refunds. Test with the test cards until the flow is right.
Swap one key to go live
Once approved, we add your live account details to your dashboard. You swap your test key for the live one. Nothing else in your app changes.
The prompt to paste into Cursor
This is the short version. The full prompt for AI coding assistants, with the test card numbers and the signed update format, is on the docs page.
Add eCom Pay card payments to this app. Follow the integration guide at https://docs.ecompay.co.uk/ exactly. Use my test mode key until I say go live, show the embedded card form on the checkout page, confirm the order only when the signed payment update arrives, and never store card numbers.
What your checkout gets
Built and tested on the eCom Pay gateway. The same checkout whichever tool built your app.
Card details encrypted in the browser
Card numbers are encrypted on the customer's device before they leave the page. Your app and your server never see them, which keeps your build simple and your customers safe.
Embedded form or hosted page
Drop the card form into your own page, or send customers to a ready made eCom Pay checkout page when you would rather not build one.
Apple Pay and Google Pay on one switch
Turn wallets on in your dashboard. No Apple or Google developer setup on your side.
3D Secure handled for you
The bank check, including the frictionless flow, runs inside the form. Nothing extra to build.
Payment links and QR codes
One off or reusable links from the dashboard, with a QR code, WhatsApp sharing and up to three reminder emails until it is paid.
Signed order updates
Every payment, refund and dispute update is signed, so your app can prove it came from eCom Pay before it changes an order.
Refunds only when you choose
Full or partial, from the dashboard or from your own system. Nothing is refunded automatically.
Next working day settlement
Money lands the next working day with no rolling reserve, the standard eCom Pay proposes to every merchant, subject to approval.
Businesses eCom Pay approves on AI built apps
Everyday online businesses, and the specialist sectors that need a specialist. Every account is reviewed by a UK team, not an automated model.
Cursor payments, frequently asked
Which frameworks does this work with?
Any web framework. The card form is a browser component and the server side uses the Node or Python library, or the documented API from any language.
Can I run this locally while I build?
Yes. Test mode works from your local environment with test cards. Signed updates need a reachable address, and the docs cover how to receive them while developing.
Is there a sandbox?
Every account starts in test mode with test cards. Live cards are only charged after approval, when you switch to the live key.
What support is there for developers?
Full docs at docs.ecompay.co.uk, support@ecompay.co.uk, and a UK team on 0345 548 0072.
Card payments for your Cursor app, set up properly
One prompt to build it, test cards to prove it, one key to go live. Approved in 24 hours once your documents are in, settled the next working day with no rolling reserve.