Self-hosted PrestaShop, OpenCart 4 and Magento 2 (or Mage-OS) stores can accept card, Apple Pay and Google Pay and receive native USDC on Polygon in their own wallet by installing Caravel Pay's open-source payment module for their storefront. Every module bundles the PHP SDK, connects automatically when you save your Polygon address with no merchant account or business KYC, charges the flat 2% Caravel fee, and marks orders paid only after verifying a signed webhook and re-reading the checkout from the API.
This guide covers version requirements, step-by-step installation, webhook URLs, order status lifecycles, worked $100 fees, and migrating cleanly from PayGate.to across all three storefronts as of 26 November 2026.
Beta modules. The PrestaShop, OpenCart 4 and Magento 2 modules (v1.2.2) are marked beta on Plugins and downloads: they pass automated PHP-WASM unit tests against platform stand-ins, but have not yet run on live production stores. Their source code is public on GitHub, and SHA-256 checksums are published on Plugins and downloads. Place a small real test order before taking customer traffic.
Platform requirements and module matrix (as of 26 Nov 2026)#
All three modules share the same core payment flow (hosted checkout redirect, signed POST webhook verification, API re-fetch, fixed 85% paid threshold, and 26 non-USD currencies) while adapting to each storefront's order engine:
| Detail | PrestaShop | OpenCart 4 | Magento 2 / Mage-OS |
|---|---|---|---|
| Supported versions | 1.7.7 to 8.x (1.7.8+ practical minimum for PHP 7.4) | 4.0.2.0 or later (OpenCart 3 not supported) | Magento / Adobe Commerce 2.4.4+, Mage-OS 1.0+ |
| PHP & runtime notes | PHP 7.4+ with curl and json; no Composer step |
PHP 8.0+ with curl and json; keep zip filename exact |
PHP 7.4 or 8.1–8.4; Luma checkout; Magento cron required |
| Package file (v1.2.2) | caravel-pay-prestashop.zip |
caravelpay.ocmod.zip |
caravel-pay-magento2-composer.zip or caravel-pay-magento2.zip |
| Webhook endpoint | /module/caravelpay/webhook |
index.php?route=extension/caravelpay/payment/caravelpay.callback |
/caravelpay/webhook/index/ |
| Paid status | Payment accepted (records payout tx hash) | Processing (configurable; customer notified) | Invoiced (registerCaptureNotification) → Processing |
| Underpaid / review | Caravel Pay: on hold + private note | On Hold (created at install) + comment | On Hold + comment |
| Expired handling | Canceled (late paid restores to Payment accepted) |
Canceled (late paid moves to Processing) |
Comment, then cron cancels after configurable delay (default 24h) |
| Logs | Advanced Parameters › Logs (CaravelPay) |
storage/logs/caravelpay.log |
var/log/caravel_pay.log |
PrestaShop 1.7.8–8.x setup#
The caravelpay module bundles the Caravel Pay PHP SDK and connector, so you never need Composer on your PrestaShop server. Because the bundled SDK requires PHP 7.4+ and PrestaShop 1.7.7 stops at PHP 7.3, PrestaShop 1.7.8 through 8.2 is the practical supported range.
- Download and upload
caravel-pay-prestashop.zipunder Modules › Module Manager › Upload a module. - Configure your wallet. Click Configure on Caravel Pay, paste your ordinary Polygon payout wallet (
0x…, see choosing a payout wallet), optionally adjust the checkout title (default: Card, Apple Pay or Google Pay) and fee mode, and click Save. The status panel displays Connected with your merchant id. - Enable payment restrictions. Under Payment › Preferences, make sure Caravel Pay is enabled for your store currencies, carriers, customer groups and countries.
- Confirm webhook reachability. Ensure
POSTrequests reach/module/caravelpay/webhook(orindex.php?fc=module&module=caravelpay&controller=webhookwithout friendly URLs). Keep maintenance mode off and allowlist the route in any WAF or CDN. - Test with a real order ($1 from a crypto wallet, or about $10 by card). New orders start in Awaiting Caravel Pay payment and show a Pay now button on the confirmation and customer order pages until paid.
Switching from PayGate on PrestaShop: install Caravel Pay beside PayGate's instantpayment_gateway module and paste the same Polygon wallet. PayGate's Awaiting card payment maps to Awaiting Caravel Pay payment, and its below-tolerance Payment error maps to Caravel Pay: on hold. There is no Fees Tolerance setting. Disable PayGate under Payment › Preferences once open PayGate orders finish.
OpenCart 4.0.2+ setup#
OpenCart 3 is not supported because its extension format and payment API differ from OpenCart 4. When downloading caravelpay.ocmod.zip, do not rename the zip file: OpenCart 4 derives the extension code from the filename.
- Upload via Installer. In OpenCart admin go to Extensions › Installer, upload
caravelpay.ocmod.zip, and click the green Install button beside Caravel Pay. - Install and edit the payment method. Go to Extensions › Extensions › Payments, click Install (+) next to Caravel Pay, then click Edit.
- Connect your wallet. Paste your Polygon payout wallet, review the default order statuses (Pending, Processing, On Hold, Canceled), switch Status to Enabled and click Save. Credentials are stored in a dedicated
caravelpay_settingtable so OpenCart form saves never wipe them, and the Connection panel shows Connected. - Verify callback access and test. Confirm outside
POSTrequests can reachindex.php?route=extension/caravelpay/payment/caravelpay.callback. If an order stays Pending after settlement, inspectstorage/logs/caravelpay.log(OpenCart's main error-log viewer does not display separate gateway logs).
Switching from PayGate on OpenCart 4: run Caravel Pay alongside PayGate's paygatedotto extension, reuse your Polygon wallet, map your paid status under Paid status (no Fees Tolerance or API Domain fields exist), and switch PayGate off after open orders settle.
Magento 2.4.4+ and Mage-OS setup#
The Caravel_Pay module supports Magento Open Source 2.4.4+, Adobe Commerce 2.4.4+ and Mage-OS 1.0+ on the Luma checkout. Hyvä Checkout requires a separate payment renderer, which is not included in v1.2.2. Magento cron must be running.
mkdir -p artifacts && cp caravel-pay-magento2-composer.zip artifacts/
composer config repositories.caravelpay artifact ./artifacts
composer require caravelpay/module-caravel-pay:1.2.2
bin/magento module:enable Caravel_Pay
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento setup:static-content:deploy
bin/magento cache:flush
- Install the package. Run the Composer artifact commands above using
caravel-pay-magento2-composer.zip, or unzipcaravel-pay-magento2.zipin your Magento root (creatingapp/code/Caravel/Pay) and run thebin/magentocommands. - Connect in admin. Open Stores › Configuration › Sales › Payment Methods › Caravel Pay, set Enabled to Yes, paste your Polygon payout wallet (stored at default scope, with the secret encrypted using Magento's encryption key), and click Save Config. The Connection line displays Connected with your merchant id.
- Keep cron running and test. Confirm
POST /caravelpay/webhook/index/bypasses maintenance mode, basic auth and WAF blocks, and verifybin/magento cron:runis active.
Why Magento delays unpaid cancellation: when a buyer clicks Place Order, Magento creates the order as Pending Payment with status Awaiting Caravel Pay payment, bypassing Magento's built-in Pending Payment Order Lifetime cleanup. When a checkout expires after 60 minutes, the module logs a comment and waits for Cancel unpaid orders after (hours) (default 24 hours) before cron cancels the order after re-checking expiry. That delay protects you because Magento cannot invoice a cancelled order if a card payment submitted just before expiry confirms late. If a payment arrives after cancellation, the order stays cancelled and gets a comment with the payout hash so you can fulfil manually or refund from your wallet.
Switching from PayGate on Magento 2: install Caravel Pay beside PayGate's module, copy your Polygon wallet, and map PayGate's hosted method to Caravel Pay (PayGate's single-provider method has no equivalent). Both use a 24-hour default cron cancellation window and move short payments to On Hold. Disable PayGate once its open orders complete.
Shared mechanics: webhooks, currencies and key rotation#
- Verified webhooks plus API re-read. Every webhook is an HMAC-SHA256 signed
POSTverified in constant time; each module then re-reads the checkout via signedGET /v1/checkouts/{id}before changing an order. Failed deliveries retry with backoff for up to 24 hours (Webhooks). - Fixed 85% settlement floor. Unlike gateways with a configurable 40% default tolerance, Caravel Pay fixes the order amount on the server and marks a checkout
paidonly when at least 85% arrives (leaving room for card provider fees). Anything lower becomesunderpaidand puts the order on hold. - 26 non-USD store currencies. Keep store prices in US dollars or EUR, GBP, CAD, AUD, NZD, SEK, NOK, DKK, CHF, PLN, CZK, HUF, RON, HKD, SGD, MXN, BRL, ZAR, ILS, INR, THB, MYR, PHP, TRY, JPY and KRW. Non-USD carts convert to US dollars once when the checkout is created at a central-bank-confirmed market rate with zero Caravel margin; the checkout shows both amounts, buyers pay in US dollars, you receive USDC, and your store records payment in its own currency. Each module includes an Exchange-rate buffer (%) setting (0–5%, default 0) if you want margin before converting USDC. See stores that don't price in US dollars.
- Safe wallet changes. Saving a new Polygon address generates new merchant keys for new orders while keeping old keys valid for 7 days so in-flight checkouts still settle and verify webhooks cleanly.
Worked $100 fee example and PayGate.to comparison#
Caravel Pay charges the flat 2% Caravel fee on every payment (card, Apple Pay, Google Pay and direct Polygon crypto), covering Polygon payout gas, with no monthly fee and no setup fee. Most card providers keep their own processing fee and exchange-rate spread out of the buyer's payment before USDC arrives; about 3% is typical of recent card orders through Caravel Pay.
| $100.00 storefront order (default mode) | Arrives after provider fee | Platform fee | You receive |
|---|---|---|---|
| PayGate.to, measured direct-seller average (about 3.4%) | $97.00 | about $3.35 | about $93.65 |
| PayGate.to, on a route it lists at 2%, no extras | $97.00 | $1.94 | $95.06 |
| PayGate.to, on a route it lists at 5% | $97.00 | $4.85 | $92.15 |
| Caravel Pay | 97.00 USDC | 2.00 USDC (2% of the order) | 95.00 USDC |
Based on our measurement of public Polygon and Ethereum data for 11 October–10 November 2026 (about 27,000 direct-seller payments worth about $2.0 million; not an audit and not confirmed by PayGate), direct PayGate sellers paid about 3.4% on average on what reached PayGate — about $1.35 less per $100 order than Caravel Pay's flat 2% Caravel fee. On PayGate's plain 2% routes the two cost about the same; the gap comes from PayGate's 3% and 5% routes. See Caravel Pay vs PayGate.to for full methodology.
The ~3% card provider figure is an estimate, not a guarantee: it varies by provider, payment method, buyer's country and order size (about 1 in 4 recent card orders arrived in full because the provider charged its fee to the buyer on top, while a few routes keep up to about 8–10%). Direct Polygon crypto payments (USDC, USDC.e or POL) carry no card provider fee, paying out 98.00 USDC on a $100.00 order. All three modules include a Who pays the fees setting (Seller pays everything, Split, or Buyer pays everything); check EU/UK and local card surcharge rules before changing the default (who pays the fees).
Buyer ID checks, chargebacks, refunds and testing#
- No merchant account or merchant KYC. There are no sign-up forms or business documents. Independent card providers set buyer-side ID rules: not every buyer is asked for verification, usually first-time buyers depending on country, amount and provider, and most ask for an email address.
- Final USDC payouts and chargebacks. Payouts settle directly to your Polygon wallet with no card-chargeback clawbacks from Caravel Pay. Card disputes stay between the buyer, their bank and the card provider. Refunds are manual from your own wallet and fees are not returned (no chargebacks, and refunds). Caravel Pay can still pause a merchant suspected of fraud.
- Testing and order limits. There is no sandbox mode; test with a small real order ($1.00 minimum, or about $10 for a card test; new merchants start at $2,500 per checkout and $50,000/day, with higher limits available by email). All goods must follow the acceptable use policy.
Frequently asked questions#
Does the Caravel Pay OpenCart extension work on OpenCart 3?#
No. The extension requires OpenCart 4.0.2.0 or later and PHP 8.0+. OpenCart 3 uses a different extension structure and payment API. Keep the download filename as caravelpay.ocmod.zip when uploading.
Does the Magento 2 module work with Hyvä Checkout?#
Version 1.2.2 supports Magento 2.4.4+, Adobe Commerce 2.4.4+ and Mage-OS 1.0+ with the standard Luma checkout. Hyvä Checkout needs its own payment renderer, which is not included yet.
Why does PrestaShop 1.7.7 need PHP 7.4 or newer?#
The bundled Caravel Pay PHP SDK requires PHP 7.4+. Because PrestaShop 1.7.7 officially stops at PHP 7.3, PrestaShop 1.7.8 through 8.2 is the practical minimum version.
Why doesn't Magento cancel expired Caravel Pay orders immediately after 60 minutes?#
Because Magento cannot invoice a cancelled order, and a payment submitted right before expiry can still confirm afterwards. The module holds expired orders until your configured cron delay (default 24 hours) and re-checks the API before cancelling.
Can I run Caravel Pay alongside PayGate.to while migrating?#
Yes. On PrestaShop, OpenCart 4 and Magento 2, Caravel Pay installs as an independent payment method so both gateways can run side by side until open PayGate orders settle.
Do store owners or buyers have to complete KYC?#
Store owners do not open a merchant account or submit business KYC. Independent card providers set buyer-side ID checks: not every buyer is asked, usually first-time buyers depending on country, order size and provider, and most providers ask for an email address.
Sources#
- Caravel Pay docs: PrestaShop, OpenCart, Magento 2, Payouts and fees, Webhooks, checked 2026-11-26.
- Caravel Pay: Plugins and downloads, Pricing, PayGate.to alternative comparison, PayGate measurement methodology, checked 2026-11-26.