How to Accept Credit Cards on OpenCart

Upload one package, paste your wallet and start accepting Visa, Mastercard, Apple Pay and Google Pay on OpenCart 4, with every payment paid out instantly to your own wallet.

Updated October 2026 · Free and open source · Works with the latest OpenCart release

Want crypto too? Our free OpenCart crypto module is the only crypto payment gateway with instant payouts for Solana, Monero, Zcash and Bitcoin. Read the OpenCart crypto guide.

Setup timeAbout 10 minutes
Works withOpenCart 4.0.2+
Fees1% + provider fees
PayoutsInstant, to your wallet

What you need before you start

  • OpenCart 4.0.2.0 or newer (OpenCart 3 is not supported).
  • An admin account with permission to install extensions.
  • Your store must be online: payment confirmations cannot reach a store on localhost.
  • A USDC wallet address on Polygon (starts with 0x). Step 1 shows how.

Check that your business is allowed first: see the prohibited businesses list.

Get your USDC (Polygon) payout wallet

Card payments are paid out to a USDC wallet on the Polygon network. That is a normal wallet address that starts with 0x. Payouts may arrive as USDC, USDT (Polygon or BEP-20), ETH or the POL native token, and the same address receives all of them.

  • Use a self-custodial wallet that only you control, for example Trust Wallet, MetaMask, Rabby or a hardware wallet. You can create a free one in a few minutes with the Trust Wallet app on your phone.
  • Copy your Polygon address (it starts with 0x, 42 characters).

Never use an exchange deposit address (Binance, Coinbase, Kraken and so on). Exchanges can freeze or lose payouts sent to deposit addresses. Also do not paste the USDC token contract address: it is not a wallet.

Download the extension package

Download the extension package: paygatedotto.ocmod.zip. It is free and open source (source on GitHub).

Keep the file name exactly paygatedotto.ocmod.zip. OpenCart uses the name to install the extension, so a renamed file such as paygatedotto.ocmod (1).zip fails with “Invalid file type!”. Also do not use GitHub’s green Code › Download ZIP button: that zip is the source code, not the installable package.

Upload and install the package

  1. In your OpenCart admin, open Extensions › Installer.
  2. Click the blue Upload button at the top right and select the .ocmod.zip file.
  3. When the upload finishes, the package appears under Installed Extensions. Click the green + (Install) button on its row.
OpenCart Extension Installer page with the Upload button highlighted
Extensions › Installer: click the blue Upload button.
OpenCart Installed Extensions list with the green Install button of the PayGate.to package highlighted
After the upload, click the green + Install button of the package.

No modification refresh is needed: the package does not use OCMOD modifications.

Install the payment method

  1. Open Extensions › Extensions and choose Payments in the type list.
  2. Find PayGate.to (PayGatedotto) and click its green + (Install) button.
  3. Then click the blue pencil Edit button to open its settings.
OpenCart Payments extension list with the PayGate.to (PayGatedotto) row highlighted
Extensions › Extensions › Payments: install PayGate.to (PayGatedotto)…
OpenCart Payments list with the Edit button of PayGate.to (PayGatedotto) highlighted
… then click the blue pencil to edit it.

Configure it and switch it on

  1. Checkout Title: the name customers see, for example Credit / Debit Card. Do not leave it empty.
  2. Description: a short line shown before the Confirm button.
  3. Custom Domain and API Domain: leave empty to use checkout.paygate.to and api.paygate.to.
  4. Wallet Address: paste your Polygon address.
  5. Order Status: the status set when the payment is confirmed. It is preselected as Processing; change it only if you use another status for paid orders.
  6. Fees Tolerance (40% by default): how far below the order total a payment may be before the order is marked Failed. Providers charge different fees, so keep a margin.
  7. Turn Status on and click the blue Save button at the top.
OpenCart PayGate.to settings with Wallet Address, Order Status Processing, Fees Tolerance and Status enabled
Fill in the title and wallet, check Order Status (Processing) and switch Status on.

Place a test order

In a private browser window, add a product to the cart and go to checkout. After the address and shipping steps, choose your card payment method and click Confirm Order.

OpenCart payment method options with Credit / Debit Card selected
The customer selects Credit / Debit Card…
OpenCart order confirmation with the Confirm Order button highlighted
… and clicks Confirm Order to go to the secure payment page.

The customer pays on the secure payment page with Visa, Mastercard, Apple Pay, Google Pay and more. Card minimums range from about $1 to $30 depending on the provider (see the minimums).

All settings explained

SettingWhat it doesDefault
Checkout TitleName of the payment method at checkout.Empty: fill it in
DescriptionText shown before the Confirm Order button.Empty
Custom DomainDomain of the hosted payment page.checkout.paygate.to
API DomainYour dedicated API endpoint.Empty (uses api.paygate.to)
Wallet Address RequiredYour USDC (Polygon) payout address.–
Order StatusStatus set when the payment is confirmed.Processing
Fees ToleranceHow far below the order total a payment may be before the order is marked Failed (10% to 90%, or disabled).40%
Geo ZoneLimit the method to a geo zone.All Zones
StatusTurns the payment method on or off.Off
Sort OrderPosition among the payment methods.Empty

How orders are updated

Order statusWhen
PendingThe customer confirmed the order and went to the payment page.
Your “Order Status” (for example Processing)The payment was confirmed. The customer is notified.
FailedThe amount received was below your Fees Tolerance. A note shows the TXID.

Troubleshooting and FAQ

The payment method does not appear at checkout.

Check that Status is on, the Geo Zone includes the customer’s address and the Checkout Title is filled in.

Paid orders show the wrong status.

Open the extension settings, set Order Status to Processing (or your paid status) and save. Version 1.2 preselects Processing; older versions started on “Canceled”.

The installer says "Invalid file type!".

The file was renamed. Download it again and keep the name paygatedotto.ocmod.zip.

The installer says the file or extension already exists.

To update: note your settings and pick a moment when no card orders are waiting for payment. Uninstall the payment method, then in Extensions › Installer uninstall and delete the old package, and upload and install the new one. Uninstalling clears the settings, so install the payment method again and re-enter the Checkout Title, Wallet Address and Order Status, then switch Status on.

The customer paid but the order is still Pending.

Your store must be reachable from the internet and not in maintenance mode while it takes card payments. Also check that your store URL in config.php is your real public address.

Other admins cannot open the settings.

OpenCart gives permissions to the user group that installed the extension. Add the extension’s access and modify permissions to other groups in System › Users › User Groups.

Do I need an account, API key or KYC?

No. Your wallet address is all you need. Never contact or create accounts at any of the payment providers.

What are the fees?

1% plus the provider’s fees. There are no chargebacks: payments are final.

Other platforms and next steps

The same card gateway is available for every major platform:

Stuck? Our team replies fast.Send us your platform, a screenshot and the order number if you have one.

Chat with support