Keep BigCommerce. Add WeRefund.
WeRefund reads your BigCommerce orders, the refunds recorded on them and your returns policy page, read‑only, and on a Stencil theme shows WeRefund Verified ✓ on the product page and in the cart.
$0 for the merchant; read-only access is set in your BigCommerce control panel when you connect your store.
- Access
- Read-only
store_v2_orders_read_onlystore_v2_content_read_onlyon a store-level API account you create - Orders & refunds
- Webhooks
store/order/createdstore/order/refund/createdplus scheduled re-reads - Policy changes
- Scheduled readsYour returns policy is a web page, captured for each order and read on a schedule
- Badge
- Product page & cartA script you add in Script Manager, no edits to your theme files (Stencil themes)
How the connection works
A store-level API account, created in your own control panel: you choose its permissions, you see its credentials once, and you can delete it at any time.
store_v2_orders_read_onlyOrders: read-only. Your orders, the products on them and the refunds recorded on those orders. The customer names, email addresses, phone numbers, billing and shipping addresses and any comment left at checkout are readable with it.store_v2_content_read_onlyContent: read-only. Your web pages, blog posts, redirects and widgets. WeRefund lists your web pages so you can choose the one that holds your returns policy, then reads that page's content.Webhooks default scopeAvailable to every API account without an extra permission. WeRefund registers its own subscriptions, and they are deleted with the account.Every other scope stays at None, and read-only scopes allow only GET and HEAD requests. BigCommerce doesn't let you edit the scopes of an existing account: to change them, you delete it and create a new one.
-
01
Create a read-only API account
In your control panel, go to Settings › Store-level API accounts and click Create API Account. Choose the V2/V3 API token type, name it, and set Orders and Content to read-only. The store owner can do this, or a user the owner has given high-risk permissions.
-
02
Keep the credentials
When you save, BigCommerce shows the account's credentials in a pop-up, once, and your browser downloads them as a .txt file. The pop-up can't be shown again, so keep the file.
-
03
Paste them into WeRefund
You paste the access token and the API path into WeRefund, and WeRefund confirms that the account can read your orders and web pages. WeRefund then lists your web pages so you can choose the one that holds your returns policy. The token doesn't expire over time; to end WeRefund's access, you delete the API account.
-
04
First read, then stay current
Through BigCommerce's REST APIs, WeRefund reads the web page that holds your returns policy as it stands today — the version verification is based on — and your recent orders with the refunds recorded on them. It then registers its webhooks for new orders, order updates, refunds and page updates. From then on, webhooks signal new orders, updates and refunds and WeRefund reads them; the orders modified and the refunds created since the last read, and your policy page, are also read again on a schedule, which picks up a missed order or refund. Your policy page is captured again each time an order reaches WeRefund.
What WeRefund reads, and how it stays current
Three things, read-only. Webhooks signal new orders and refunds; scheduled reads pick up policy page changes and the orders and refunds a webhook misses.
| What WeRefund reads | From BigCommerce | How it stays current |
|---|---|---|
| Orders — line items, dates, status, and the customer details recorded on them | /v2/orders /v2/orders/{id}/products · Orders read-only | The store/order/created and store/order/updated webhooks, plus a scheduled read of the orders modified since the last one |
| Refunds recorded on those orders — amount, date, reason, payment | /v3/orders/payment_actions/refunds · Orders read-only | The store/order/refund/created webhook, plus a scheduled read of the refunds created since the last one |
| Your returns policy — a web page, as BigCommerce has no separate policy field | /v3/content/pages filtered on the page you chose, with include=body · Content read-only | Captured each time an order reaches WeRefund, and a scheduled read; a page update webhook, when BigCommerce sends one, can trigger an earlier read. BigCommerce's Pages API documents no last-modified date for a page, so its content is compared; a change is recorded as a new version and verified again, and a page set not to be visible isn't treated as your published policy |
A BigCommerce webhook carries only IDs, not the order, refund or page itself, and can arrive twice. BigCommerce retries a failed delivery for up to 48 hours before switching the webhook off, and also switches off a subscription after 90 days without activity. WeRefund checks the secret header it registered with each webhook, ignores duplicates, checks that its subscriptions are still active, and reads recent orders and refunds again to catch what a delivery missed. On BigCommerce, a returns policy is a web page you create under Storefront › Web Pages (with Multi-Storefront, under that storefront in Channel Manager), so you confirm the policy page when you connect. Each time an order reaches WeRefund — when its store/order/created webhook is received, or when a scheduled read records an order a delivery missed — WeRefund captures your published policy page, on top of its regular scheduled check, and that order keeps the version captured for it. If your store takes payments through Stripe, PayPal, Adyen, Checkout.com or Airwallex, WeRefund also reads each order's payment and your refund events from that provider.
Where the badge appears
The WeRefund Verified ✓ badge is a script you add under Storefront › Script Manager (with Multi-Storefront, under that storefront in Channel Manager): Create a Script, placement Footer, location Storefront pages, with the script type, script and category WeRefund gives you when you set up the badge, then Save. Your theme files stay as they are. WeRefund could place the script itself only with a permission to modify content, so the connection stays read-only and you add it.
It shows no number: the exact terms stay in your policy, and each shopper sees the real deadline after the purchase.
The script reads the page type Stencil provides and shows the badge on product pages. With BigCommerce's cookie consent banner on, a shopper who declines the script's category doesn't load it.
The same check, on the cart page, with the same cookie consent condition.
BigCommerce's legacy theme engine doesn't render Script Manager scripts.
Catalyst 1.1 and later run scripts without Handlebars (earlier versions don't run them), so this script can't read the page type; Catalyst stores need a different set-up.
You set the script's location to Storefront pages, which excludes checkout and order confirmation; don't choose All pages or Checkout.
What WeRefund never does
Hold your customers' payments
Shoppers pay through your checkout and your payment provider. WeRefund never holds your customers' payment funds.
Refund in your place
You refund as you do today, in your BigCommerce control panel or with your payment provider. WeRefund reads the refund recorded in BigCommerce or, if your store takes payments through Stripe, PayPal, Adyen, Checkout.com or Airwallex, sent by that provider; it never creates one.
Change your checkout pages
The badge lives on the product page and in the cart of a Stencil theme; nothing is added to checkout pages.
Write to your store data
With Orders and Content set to read-only, the API account you create can only read them; the only things WeRefund creates are its own webhook subscriptions.
Three steps on BigCommerce
-
01
Create your WeRefund account
$0 setup, $0 monthly fee, $0 processing surcharge.
-
02
Connect your store & payment provider
Choose BigCommerce, create a store-level API account with Orders and Content set to read-only, paste its access token and API path into WeRefund, and choose your returns policy page. If your store takes payments through Stripe, PayPal, Adyen, Checkout.com or Airwallex, connect that provider too.
-
03
Get Verified
WeRefund reads your returns policy page and verifies it. Once it passes, add the WeRefund script in Script Manager; on a Stencil theme the badge shows on your product page and in your cart.
Add the banner to your theme
Paste it once before the closing body tag: it reads your after-sales score from your WeRefund profile and turns itself off the day verification stops.
<script src="https://js.werefund.com/badge.js" data-store="your-store" data-format="strip" async></script>
BigCommerce questions
Five payment providers and seven store platforms.
IntegrationsEndpoints, fields and examples, in preview.
API referenceNo edits to your theme files. The badge is a script you add under Storefront › Script Manager, in the footer of Storefront pages, and you can delete it there at any time. It needs a Stencil theme: the legacy Blueprint engine doesn't render Script Manager scripts.
More store platforms
Shopify
shopify.comReads your orders, the refunds recorded on them and your Refund policy from your Shopify store. The badge renders on the product page and in the cart, as a theme app block or app embed.
Store platforms
WooCommerce
woocommerce.comReads your orders through the WooCommerce REST API and webhooks, and your return policy page through the WordPress REST API. The badge renders on the product page and in the cart, where your theme's templates allow it.
Store platforms
Magento
magento.comReads your orders, their refunded totals and your return policy page from your Magento store. In Luma and themes that keep its layout containers, the badge renders on the product page and in the cart.
Store platforms
PrestaShop
prestashop.comReads your orders, credit slips and return policy page from your PrestaShop store. In themes that call its two display hooks, the badge renders on the product page and in the cart.
Store platforms
Wix
wix.comReads your orders, their refunds and the Return policy in your Wix checkout settings. The badge renders on the product page and, where your store uses it, in the side cart.
Store platforms
Custom / Headless
WeRefund APIFor a custom or headless store, your orders reach WeRefund through the API, in preview.
Store platforms
Verification, not a migration
Keep your PSP. Add trust.
$0 setup. $0 monthly fee. $0 processing surcharge. Your store, your provider and your merchant account stay as they are.