Mintpay for WooCommerce
Mintpay lets your customers pay now for instant cashback (Mint Coins) or split their purchase into 3 interest-free installments. The plugin adds Mintpay as a payment method on both classic and block-based checkouts, and shows installment / cashback messaging on product pages. Features: Works on clas
Mintpay lets your customers pay now for instant cashback (Mint Coins) or split their purchase into 3 interest-free installments. The plugin adds Mintpay as a payment method on both classic and block-based checkouts, and shows installment / cashback messaging on product pages.
Features:
- Works on classic and block-based WooCommerce checkout.
- Product-page installment and cashback breakdown.
- First-purchase promo (MINT20) on the checkout — including block checkout.
- High-Performance Order Storage (HPOS) compatible.
- “Refund via Mintpay” link to the Mintpay merchant portal.
External Services
This plugin connects to the Mintpay API to create purchases, verify payment results server-to-server, and fetch the merchant’s cashback configuration. The connection is required for the gateway to function. The service is operated by Mintpay (Private) Limited.
- API endpoints: app.mintpay.lk (live) and stage.mintpay.lk (sandbox) handle order creation, payment-status verification, and cashback configuration. The hosted checkout page the shopper is redirected to is served from the *-gateway.mintpay.lk host returned by the API. static.mintpay.lk serves promo imagery; merchant.mintpay.lk / stage-merchant.mintpay.lk is the merchant refund-portal link.
- Data sent when a purchase is created: the store merchant ID, the WooCommerce order ID, the order total, the sales channel, the customer’s email, phone and IP address (as recorded by WooCommerce; the browser-supplied X-Forwarded-For header is only forwarded instead when the merchant opts in via the mintpay_trust_forwarded_for filter), the billing address (street, city/region, postcode), cart created/updated timestamps, the success and fail return URLs, and for each line item its name, product ID, SKU, quantity, unit price and product timestamps.
- Data sent when verifying a payment: the store merchant ID and the Mintpay purchase ID.
- Data sent when fetching cashback configuration: the store’s Mintpay merchant ID and API token (the token is sent in the Authorization header and is never logged).