# UK Sandbox £6.99 hosted checkout takes payment but creates no subscription

**URL:** <https://developer.squareup.com/forums/t/uk-sandbox-6-99-hosted-checkout-takes-payment-but-creates-no-subscription/28753>\
**Category:** Questions\
**Created:** [November 25, 2026, 2:04pm UTC](https://developer.squareup.com/forums/t/uk-sandbox-6-99-hosted-checkout-takes-payment-but-creates-no-subscription/28753 "2026-11-25T14:04:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alogan79](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@alogan79](https://developer.squareup.com/forums/u/alogan79)\
**Post date:** [November 25, 2026, 2:04pm UTC](https://developer.squareup.com/forums/t/uk-sandbox-6-99-hosted-checkout-takes-payment-but-creates-no-subscription/28753/1 "2026-11-25T14:04:40Z")

</div>

I am testing a UK monthly membership with Square API version `2026-11-18` in the UK Default Test Account.

1. Created a subscription plan variation with one static `MONTHLY` phase at 699 GBP minor units.
2. Called `CreatePaymentLink` with the variation ID in `checkout_options.subscription_plan_id`. Square returned a Sandbox checkout link and order ID.
3. Selected **Test Payment** in the hosted Sandbox Testing Panel. It reported success and added a tender. The order was shown as `OPEN`, and the panel listed `order.updated` and `payment.updated`.
4. Called `SearchSubscriptions` for the same Sandbox seller. It returned HTTP 200 with `{}`. I could not find a recurring subscription or its first paid invoice.

- Is this expected in the UK Sandbox? What supported test flow creates a recurring subscription and first paid invoice through hosted checkout, or through the Subscriptions API if hosted checkout cannot do it?
- How can I test successful monthly renewals, failed renewals and recovery, cancellation at period end, and reactivation with Sandbox data only? Is there a test clock or a supported shorter cadence? Which webhook events should I expect?
- Which persisted IDs reliably connect the initial checkout order and payment to the Square customer, subscription, and first invoice? Where can I store and retrieve an opaque reference from an authenticated membership app? Which fields prove the paid billing period for the first charge and renewals, including month-end dates?

I can share Sandbox request references privately with Square staff if needed. No live charges were made.

---

<div class="post-metadata">

**Author:** ![zacstlouis](https://avatars.discourse-cdn.com/v4/letter/z/b5a626/32.png) [@zacstlouis](https://developer.squareup.com/forums/u/zacstlouis)\
**Post date:** [November 25, 2026, 11:54pm UTC](https://developer.squareup.com/forums/t/uk-sandbox-6-99-hosted-checkout-takes-payment-but-creates-no-subscription/28753/3 "2026-11-25T23:54:22Z")

</div>

When you tested the payment, did the payment and the order move to completed?

The sandbox dashboard UI is tricky and unreliable but generally the APIs should work.

There are no test clocks, it follows the real-time cadence set on the subscription. You should expect every webhook documented for payments/orders/subscriptions.

For the rest of the questions:

Persist the relationships rather than matching by email, price, or plan alone:

- **Checkout:** save `payment_link.id` and its `order_id`. The checkout payment has its own `id` and `order_id`, plus `customer_id` when available.
- **Hosted enrollment:** Match the checkout `order_id` to `Subscription.phases[].order_template_id`. Check that the returned subscription actually contains that match. Do not assume a `STATIC` subscription must have a populated template field.
- **Billing:** `Subscription.invoice_ids` lists billing invoices newest first. Each subscription invoice has `subscription_id` and its own `order_id`. Retrieve that billing order to find its payment tenders. The billing order is not necessarily the original checkout order.

When supplying an `order` in `CreatePaymentLink`, you can put an opaque, non-secret application reference in `order.reference_id` and retrieve it with `RetrieveOrder`. Keep a server-side mapping from that reference to your authenticated membership and Square IDs. Do not assume the reference is automatically copied onto the subscription or renewal orders. Direct API creation gives you the subscription ID in the response, which makes that mapping explicit.

Finally, billing dates and payment evidence are different. `charged_through_date` describes how far the subscription has been invoiced, not how far it has been paid. Invoice due dates and payment timestamps are not service-period boundaries either. Reconcile the paid invoice with the subscription’s start date, cadence, billing anchor, timezone, and scheduled changes. The public invoice object does not expose a dedicated billing-period start/end pair.

For month-end handling, use calendar-month scheduling rather than adding 30 days. Square bills on the last day of a month when the configured billing day does not exist. See [Subscription Billing and Invoices](https://developer.squareup.com/docs/subscriptions-api/subscription-billing). If your returned dates leave the exact access cutoff ambiguous, have those Sandbox records checked privately before encoding an inclusive or exclusive cutoff.

---

<div class="post-metadata">

**Author:** ![alogan79](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@alogan79](https://developer.squareup.com/forums/u/alogan79)\
**Post date:** [November 27, 2026, 9:54pm UTC](https://developer.squareup.com/forums/t/uk-sandbox-6-99-hosted-checkout-takes-payment-but-creates-no-subscription/28753/4 "2026-11-27T21:54:45Z")

</div>

Thanks for your previous guidance, Zac.

We’ve now verified the original hosted checkout produced a completed one-off £6.99 payment but no subscription.

We subsequently created a successful direct API monthly subscription with a paid invoice and completed card payment. This remains active for our 26 December renewal test.

However, we have encountered two further issues when integrating the customer-facing checkout:

1. A direct subscription created through our hosted integration was deactivated before an invoice was issued. The deactivation event contained no reason code.

2. A subsequent browser-based Sandbox checkout created a customer but stopped before recording a card or subscription.

The successful and unsuccessful subscriptions used the same location, subscription variation and Europe/London timezone.

Could you clarify:

- Are there any specific UK Sandbox requirements for storing cards for recurring subscriptions?

- Is a customer billing name required?

- What buyer verification requirements apply when storing a card for subsequent subscription payments?

- How can we establish the reason for automatic subscription deactivation?

- How should we determine the exact paid membership access cutoff?

We can provide relevant Sandbox record IDs privately if required.

Many thanks for your continued help.

---

<div class="post-metadata">

**Author:** ![alogan79](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@alogan79](https://developer.squareup.com/forums/u/alogan79)\
**Post date:** [November 27, 2026, 10:06pm UTC](https://developer.squareup.com/forums/t/uk-sandbox-6-99-hosted-checkout-takes-payment-but-creates-no-subscription/28753/5 "2026-11-27T22:06:25Z")

</div>

We’ve now identified the precise error from our browser-based Sandbox checkout.

POST /v2/cards returned HTTP 400 INVALID\_CARD\_DATA on source\_id.

The browser-generated card token was rejected when attempting to store the card for recurring subscription billing.

Could you confirm the correct Web Payments SDK tokenisation and buyer verification requirements for storing a card for recurring subscriptions in the UK Sandbox?

Our separate direct API subscription remains active, with its initial £6.99 invoice and card payment successfully verified.

We can provide sanitised request details and relevant Sandbox record IDs privately if required.

Many thanks.
