Skip to content

Align referrals with Oblien SDK v4 and clarify checkout errors - #1855

Merged
Hydralerne merged 4 commits into
mainfrom
fix/referral-provider-product-alias
Nov 20, 2026
Merged

Hydralerne merged 4 commits into
mainfrom
fix/referral-provider-product-alias

Conversation

@Hydralerne

@Hydralerne Hydralerne commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Fix

Use the SDK v4 product ID, vm_compute, in the shared OpenShip referral contract for offers, referred customers, and public code lookup. All three schemas use the same literal. The provider adapter uses the existing validation path.

When Oblien rejects a referral code during checkout, tell the buyer that they cannot use their own code or a workspace member’s code, and how to continue without it. Oblien’s generic refusal can also cover eligibility or expiry, so the message explains the rule without asserting an unverified cause.

Verification

  • 196 API, 21 platform, and 99 dashboard tests passed.
  • Platform typecheck and git diff --check passed.
  • Production read-only audit found four saved referral checkout attempts. All four matched the self-referral rule and had no Stripe session.

Rollout

Deploy the updated OpenShip Cloud API and dashboard in coordination with Oblien ending its temporary workspace_vm response for the OpenShip reseller account. The final contract expects vm_compute. Desktop and self-hosted clients that use referral features against Cloud also need the updated contract.

@Hydralerne Hydralerne changed the title Fix Cloud referrals after the Oblien product rename Align referrals with Oblien SDK v4 and clarify checkout errors Nov 20, 2026
@Hydralerne
Hydralerne merged commit 83f818b into main Nov 20, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant