eSIM Shopify integration: product to delivery

Connect a supported eSIM provider to Shopify by checking product allocation, paid-order events and customer delivery, keeping activation state distinct.

Yes, an eSIM Shopify integration can use a provider’s application programming interface (API) to allocate a plan after payment and deliver installation details. With eSIM Go, this is a custom connection between Shopify orders and the provider’s documented ordering API. Your integration also needs a customer delivery process.

A paid order proves payment. A provider-issued QR code supplies installation details. The provider’s separate profile and bundle records establish what has happened to the eSIM and its data allowance.

Identify the provider and product handover

Map each Shopify variant to the provider’s exact eSIM bundle. eSIM Go’s webstore integration guide documents catalogue access and purchasing bundles through its API. This route needs development work to connect your store, allocate each purchase and send the customer their installation details.

Start with the merchant account. Complete eSIM Go’s account verification and confirm that the business in your merchant country can buy the intended products. Destination coverage is a separate question. A plan covering Australia does not establish the merchant’s eligibility to resell it.

Use the provider catalogue available to your organisation to choose each bundle. Match its identifier to a Shopify variant, with the destination coverage, data allowance and duration recorded beside it. Keep the retail price separate from the wholesale cost deducted from your provider balance. A product title such as “Europe travel data” is too broad to identify the bundle to purchase.

Decide which system owns each record

Shopify owns the customer’s purchase and payment record. eSIM Go owns the bundle assignment and eSIM records. Your integration must retain the relationship between those records and the customer delivery attempt.

For each purchased unit, retain the Shopify order and line item identifiers, the provider bundle name and the provider order reference. Once allocation succeeds, attach the returned eSIM identifier and bundle assignment information. The eSIM identifier is its integrated circuit card identifier (ICCID).

The provider’s create-order reference distinguishes purchasing inventory from assigning a bundle. Setting assign to true without supplying an existing ICCID assigns bundles to new eSIMs. Purchasing with assignment disabled puts bundles into provider inventory. Inventory purchase alone therefore leaves a customer delivery step unfinished.

Before you sell eSIMs on Shopify, agree who handles device compatibility questions and failed installation. Keep the provider’s current installation instructions with each product. Never turn a Shopify fulfilment flag into an assertion that the customer has activated mobile service.

Configure the supported order event

Use Shopify’s paid-order event to start allocation, then handle cancellation and refund events as separate actions. Shopify’s webhook topic reference documents ORDERS_PAID, ORDERS_CANCELLED and REFUNDS_CREATE. For an ordinary store integration, read_orders is a supported scope for these topics. Any additional writes need their own operation-specific permission.

Give your developer the following processing rules before connecting live provider credit.

  1. Accept a paid-order notification only after checking Shopify’s signature. Read the order’s current state before allocation, including any cancellation or refund that arrived while processing waited.
  2. Process only mapped eSIM line items. For a quantity of two, retain two unit-level allocation records so a retry cannot quietly purchase another pair.
  3. Reserve the unit’s processing record before making the provider purchase. Record the resulting provider reference before scheduling customer delivery.
  4. Treat an uncertain provider response as a reconciliation case. Look for the existing provider order before sending another purchase request.
  5. On cancellation or refund, stop unstarted allocation work and review any already-issued bundle. Record the provider action separately from Shopify’s financial action.

Shopify documents signature verification and duplicate handling. Verify the signature against the raw request body. Retain processed delivery identifiers, and make allocation safe to repeat for the same order unit. Duplicate notification handling alone does not prevent two separate jobs from buying for the same line item.

A refund in Shopify does not instruct the provider to revoke service. Review the actual bundle assignment and apply the provider’s supported recovery operation where appropriate. In particular, confirm which purchased unit a partial refund covers before changing any eSIM.

Keep credentials out of customer delivery

Store the provider credential on your server. eSIM Go’s authentication guide documents an X-API-Key credential with full access to the organisation’s account. Never put that credential in a theme, customer email or browser request. Regenerating it invalidates the previous value immediately, so coordinate changes across every service using it.

The provider account also needs sufficient prepaid balance to buy bundles. Monitor a failed purchase as an undelivered order, with a staff owner and a retry decision. A Shopify payment must not trigger a success email containing an empty installation link.

Verify delivery and exception recovery

Trace a Shopify purchase to its provider assignment and customer delivery record. eSIM Go’s installation guide retrieves installation details using the provider order reference. Available formats include QR images and structured installation data.

Use a fictional scenario to plan the check. Order “Travel test A” contains one Japan data variant. Replace that illustrative variant with a real bundle available to your verified test account. Use a provider-approved testing arrangement and a Shopify test store, with delivery going to an inbox you control.

CheckpointRecord to inspectExpected result
Product selectionShopify variant and mappingThe selected Japan plan maps to the intended provider bundle
AllocationProvider order and assignmentOne purchased unit has one intended eSIM assignment
Customer deliveryRecipient and delivery attemptThe intended inbox receives installation details for that assignment
Duplicate eventExisting unit allocationReprocessing creates no additional provider purchase
Missing allocationException recordDelivery waits and a staff member can identify the failed step
RefundRefunded line and provider recordThe affected unit is reviewed without changing another customer’s eSIM

Keep issued, delivered and activated as separate operational states. Issued means the provider has allocated the eSIM details. Delivered records the result of your customer delivery process. An email provider accepting a message does not establish that the customer opened it or installed the profile.

eSIM Go’s bundle status guide separates processing, queued and active assignments. A queued bundle is assigned but unused. An active bundle is in use with data remaining and within its duration. Profile installation and bundle usage therefore need separate evidence.

Incorrect check: staff see a Shopify order marked fulfilled and tell the customer their data service is active.

Correct check: staff find the linked provider assignment, inspect its state and use the installation record to investigate the customer’s specific problem.

If allocation is missing, check the mapping and provider purchase outcome before retrying. If allocation exists but delivery failed, resend the existing installation details to the verified intended recipient. Keep installation credentials out of public support tickets. Resolve an uncertain purchase before creating a replacement, so recovering one delivery does not buy a second eSIM.

Give your store its own shopping agent

Customers ask in their own words. Your agent finds, compares and checks out from your catalogue, right on your site.

See it in actionFree trial · Simple setup