Shopify GCash Integration: Accepting GCash on a Philippine Store Without Shopify Payments
I run payments for a group that operates several Shopify stores in the Philippines, selling to local buyers who overwhelmingly want to pay with GCash. Every few months a new store manager asks the same question: "Why can't I just switch on GCash in Shopify Payments?" The short answer is that Shopify Payments does not exist here, and the longer answer is that there are three workable ways to put a GCash option in front of a Philippine shopper, each with a different cost in money, engineering and reconciliation time. This article walks through all three, shows the technical flow behind the button, and gives you the code we use to keep Shopify's order status honest. If you are still choosing a gateway, read how to compare Philippine gateway options first; this page assumes you have picked Shopify as the storefront and now need GCash to work inside it.
Why Shopify Payments Is Not an Option in the Philippines
Shopify's own help documentation lists the countries and regions where Shopify Payments is available. As of this writing the list has 41 entries, covering North America, most of Europe, Australia, New Zealand, Japan, Singapore, Hong Kong SAR, mainland China, Mexico and the United Arab Emirates. The Philippines is not on it. Shopify's instruction for merchants in unsupported countries is direct: use a third-party payment provider. There is no waiting list you can join and no workaround through a foreign entity that keeps your Philippine store compliant, so plan around a third-party provider from day one.
This matters for GCash specifically because GCash is a Philippine e-wallet issued by a BSP-licensed electronic money issuer. Even in the countries where Shopify Payments exists, it does not carry GCash as a local payment method. A Philippine store therefore gets GCash the same way it gets every other payment method: through a provider that has integrated with Shopify and holds the relationships with GCash and the other local rails. Shopify describes two kinds of third-party provider. A direct provider lets the shopper pay on your store without leaving it. An external provider sends the shopper to a checkout page hosted outside your store and returns them when payment is done. GCash wallet payments through local gateways are typically the external kind, because the shopper has to authorise the payment inside the GCash app or GCash web login anyway.
Three Ways GCash Can Appear at Shopify Checkout
Route A: a BSP-licensed local gateway listed for the Philippines on Shopify. The gateway appears in your Shopify admin under Settings, then Payments, as a third-party provider you can activate. Once it is live, GCash shows up as a wallet option at checkout alongside cards and other local methods the gateway supports. The shopper selects GCash, is redirected to the gateway's hosted page, authorises the payment in GCash, and lands back on your order confirmation. The gateway's integration marks the Shopify order paid. You reconcile from the gateway's settlement reports, and funds settle to the Philippine bank account you registered with the gateway on the schedule in your agreement. This is the route for any store doing real volume. Confirm the provider's licensing status yourself using the method in our guide for global merchants integrating in the Philippines.
Route B: a Shopify manual payment method named "GCash". Shopify lets you create a custom manual payment method with your own name, a short note shown next to the method at checkout, and payment instructions shown on the order confirmation page. You would write something like "Send the order total to our GCash business account and reply with the reference number." The order is created with a Pending payment status. When the money arrives in your GCash account you open the order and mark it paid, then fulfil it. Shopify does not apply third-party transaction fees to manual payments, which is why small stores love this route. The costs are elsewhere: someone has to match incoming GCash transfers to orders, buyers mistype amounts or forget the reference, fake "payment sent" screenshots are a known fraud pattern, and refunds are manual transfers you must document yourself. It works for a handful of orders a day with trusted buyers. It does not scale.
Route C: take the payment outside Shopify checkout. Many Philippine stores sell through Instagram, Facebook and Viber as much as through the Shopify storefront. For those orders the practical path is a payment link or hosted checkout generated from the gateway, sent to the buyer in chat, with the resulting Shopify order created as a draft order and marked paid when the gateway confirms. Shopify is the catalogue and order system; the gateway is the checkout. The mechanics of links are covered in our payment link guide for Philippine merchants, so here I only flag that Route C and Route A can run on the same gateway account, which keeps settlement and reconciliation in one place.
Side by Side: Provider, Manual Method, Off-Checkout Link
| Dimension | Route A: listed gateway | Route B: manual "GCash" method | Route C: payment link outside checkout |
|---|---|---|---|
| Who marks the order paid | Gateway integration, automatically | Your staff, by hand | Your bridge code or staff, from the gateway's confirmation |
| Shopper experience | GCash option inside Shopify checkout, redirect to authorise | Instructions on confirmation page, pays separately in GCash app | Link received in chat, hosted page, no Shopify checkout |
| Reconciliation | Gateway settlement file against Shopify payouts | GCash transaction history against Pending orders | Gateway settlement file against draft orders |
| Refunds | Through the gateway refund API or dashboard | Manual GCash transfer, record it yourself | Through the gateway |
| Fraud exposure | Gateway confirms funds before order is paid | Screenshot fraud, wrong amounts, chargeless disputes | Gateway confirms funds |
| Shopify third-party transaction fee | Applies | Does not apply | Depends on how the order is recorded; check Shopify's terms |
| Fits | Any store beyond a few orders a day | Very small stores, pre-orders, trusted repeat buyers | Social selling, custom quotes, B2B orders |
Our group runs Route A for storefront orders and Route C for chat orders, both on one gateway account, and keeps a Route B method switched off but configured as a fallback for the rare day the gateway is in maintenance. That combination covers almost every order type we see without creating a second reconciliation process.
What Shopify Charges and What the Gateway Charges
There are two separate bills to understand. The first is the gateway's own pricing for processing GCash and other methods, which the gateway sets and which varies by provider, volume and contract. The second is Shopify's third-party transaction fee, which Shopify applies to transactions processed through third-party and alternate payment gateways. Shopify's help pages state this fee applies even when Shopify Payments is active for other methods, and the rate depends on your Shopify plan and location, so check the current Shopify pricing page for the Philippines rather than any number you read in a forum. Manual payment methods are exempt from the third-party fee, which is the one financial argument for Route B, and it disappears the moment volume makes manual matching unworkable.
When you compare gateways, ask for the full fee schedule in writing: per-transaction pricing by method, refund handling, any monthly or setup charges, and settlement frequency. One warning from experience: never model your margins on a headline rate without confirming what happens on refunds and failed payments.
The Technical Flow Behind the GCash Button
With Route A, the sequence is the same across providers even though the branding differs. The shopper reaches Shopify checkout and selects GCash. Shopify hands the order context to the external provider, and the shopper is redirected to the gateway's hosted page. The gateway creates a payment intent with the GCash channel and sends the shopper into the GCash authorisation screen, either by opening the GCash app on mobile or through a GCash web login on desktop. The shopper confirms with their GCash PIN or biometrics. GCash notifies the gateway, the gateway notifies Shopify through its integration, Shopify marks the order paid, and the shopper is returned to the thank-you page. If the shopper abandons at the GCash step, the order stays unpaid or is never created, depending on how the provider integrates.
Behind that, the money path is independent of Shopify. GCash settles to the gateway, the gateway nets its fees and settles to your registered Philippine bank account on the agreed schedule, and your gateway dashboard is the source of truth for what was collected. Shopify's finance reports will show the order as paid by the third-party provider, but Shopify never touches the funds. This is why your month-end reconciliation should start from the gateway's settlement file and work back to Shopify orders, not the other way round.
Two edge cases deserve attention. First, the shopper pays in GCash but the return redirect fails because they closed the browser; the gateway's webhook still arrives and the order is marked paid, so train support staff to check the gateway before telling a customer their payment failed. Second, the same order gets two webhook deliveries because of a retry; your integration must be idempotent, which is the subject of our idempotency key guide. If the gateway's Shopify integration handles both cases for you, confirm it in testing rather than assuming.
If your operating company is outside the Philippines, the entity question surfaces at gateway onboarding, not inside Shopify: the gateway will ask who the merchant of record is and which bank account receives settlement. The entry paths are set out in the global merchant guide linked above.
Code: Creating the Payment and Marking the Shopify Order Paid
When you use Route A with a listed provider, you do not write this code; the provider does. You need it for Route C, or for a Route B store that wants to stop marking orders paid by hand. The pattern is: your server asks the gateway for a GCash payment tied to a Shopify order, the gateway calls your webhook when the payment succeeds, and your webhook verifies the signature and tells Shopify the order is paid through the Admin GraphQL API. Endpoints and field names below are illustrative placeholders; use your gateway's documentation for the real ones.
curl -X POST https://apix.example.com/api/pay \
-H "Content-Type: application/json" \
-d '{"merid":"M10001","tno":"SHOPIFY-5521","amt":"100.00","channel":"gcash","return_url":"https://shop.example.com/pages/thank-you","notify_url":"https://api.example.com/gateway/notify","sign":"..."}'
// Webhook: verify the gateway signature, then mark the Shopify order paid.
const crypto = require('crypto');
const express = require('express');
const app = express();
app.use(express.json());
const SHOP = 'your-store.myshopify.com';
const ADMIN_TOKEN = process.env.SHOPIFY_ADMIN_TOKEN;
const GATEWAY_SECRET = process.env.GATEWAY_SECRET;
const seen = new Set(); // replace with a database table in production
function verifySign(payload, sign) {
const base = Object.keys(payload).filter(k => k !== 'sign').sort()
.map(k => `${k}=${payload[k]}`).join('&');
const expected = crypto.createHmac('sha256', GATEWAY_SECRET).update(base).digest('hex');
return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(sign));
}
async function markOrderPaid(orderGid) {
const query = `mutation($id: ID!) { orderMarkAsPaid(input: {id: $id}) { order { id displayFinancialStatus } userErrors { field message } } }`;
const res = await fetch(`https://${SHOP}/admin/api/2026-01/graphql.json`, {
method: 'POST',
headers: { 'Content-Type': 'application/json', 'X-Shopify-Access-Token': ADMIN_TOKEN },
body: JSON.stringify({ query, variables: { id: orderGid } })
});
return res.json();
}
app.post('/gateway/notify', async (req, res) => {
const p = req.body;
if (!verifySign(p, p.sign)) return res.status(400).send('bad sign');
if (seen.has(p.tno)) return res.send('OK'); // duplicate delivery, already handled
if (p.status === 'SUCCESS') {
const orderId = p.tno.replace('SHOPIFY-', '');
const result = await markOrderPaid(`gid://shopify/Order/${orderId}`);
if (result.errors || result.data.orderMarkAsPaid.userErrors.length) {
return res.status(500).send('retry'); // let the gateway retry later
}
seen.add(p.tno);
}
res.send('OK');
});
Three details keep this safe in production. Verify the signature before you parse anything else, because a webhook endpoint is a public URL. Store processed transaction numbers so a retried delivery does not double-mark or double-fulfil. Return a non-success status when Shopify rejects the mutation, so the gateway retries instead of silently dropping the event; the retry behaviour you should expect is described in our webhook retry design article.
Go-Live Checklist for GCash on Shopify
Before you announce GCash to customers, run through this list on a staging store or a hidden product.
Activate the provider in Shopify admin under Settings, then Payments, and confirm GCash is enabled on the gateway side as well; the two switches are independent. Place a real low-value order from a GCash account that is not the merchant's own and confirm the Shopify order flips to Paid without manual action. On a second test, close the browser before the return redirect and confirm the webhook still marks the order paid. Trigger a refund from the gateway dashboard and confirm it appears correctly in Shopify, or document the manual step if it does not. Check that prices display in Philippine pesos and that the amount sent to the gateway matches the Shopify order total including shipping and tax. Confirm which bank account receives settlement and who in finance receives the settlement file. Write the support script for "I paid but my order says pending" with the gateway lookup step first. Finally, configure the manual fallback method but leave it deactivated until a gateway outage makes it necessary.
Frequently Asked Questions
Can I use Shopify Payments in the Philippines?
No. Shopify's published list of supported countries and regions does not include the Philippines, and Shopify directs merchants in unsupported countries to use a third-party payment provider. Any store selling to Philippine buyers from a Philippine entity needs a third-party provider for GCash and everything else.
Does GCash show inside the Shopify checkout page or does the buyer get redirected?
The option appears inside Shopify checkout, but authorisation happens on the gateway's hosted page and then inside GCash. This is the external provider model Shopify documents. The buyer is returned to your store once GCash confirms, and the order is marked paid by the integration.
Is a manual "GCash" payment method good enough to start?
For a very small store it is a legitimate starting point, and Shopify does not charge third-party transaction fees on manual payments. Budget staff time for matching transfers to orders, write a strict rule about reference numbers, and plan to move to a listed gateway once order volume makes manual matching error-prone.
Can a foreign company run a Philippine Shopify store that accepts GCash?
Yes, but the question is answered at gateway onboarding rather than inside Shopify. The gateway will ask for the merchant of record, the settlement bank account and supporting registration documents, and the answer depends on which of the three entry paths you take. See the global merchant integration guide for those paths.
Should I add Maya and QR Ph alongside GCash?
Usually yes, and through the same gateway so that reconciliation stays in one file. Maya users are a meaningful share of Philippine shoppers, and a QR Ph option lets buyers pay from any participating bank or wallet app. Adding methods on a listed gateway is a configuration change, not a new integration.
How are refunds handled for GCash orders on Shopify?
With a listed gateway, you issue the refund from the gateway or, where the integration supports it, from the Shopify order, and the funds return to the buyer's GCash wallet. With a manual method you send a GCash transfer yourself and record it on the order. Either way, refunds are deducted from or netted against your settlement, so keep the refund trail in the same reconciliation file as collections. The general process is in our refunds guide.
What happens if the gateway has scheduled maintenance?
GCash orders will fail or not be offered during the window. Keep the manual method configured so you can activate it for a few hours, and announce the window to customers if the gateway gives notice. Re-deactivate the manual method as soon as the gateway is back to avoid a backlog of pending orders.
SMARTPAY holds BSP OPS/EMI licences and provides collection and payout integration for GCash, Maya, QRPH, InstaPay and PESONet to merchants operating in the Philippines, settling to the merchant's designated bank account with settlement files and status callbacks. If you run a Shopify store, ask us whether a Shopify-listed provider path or a hosted checkout and payment link path fits your order flow better.
If you are deciding between a listed gateway and a manual method for your Philippine Shopify store, or you want a second pair of eyes on the webhook bridge above, message @LouisSMARTPAY on Telegram or email [email protected].