Wexlyn
Back to the docs

Payments and checkout

Connecting SamCart

Orders with upsells, subscription charges, refunds, cancellations and recoveries, prospects as leads. Where the credentials live, the connect steps, what becomes what in Wexlyn and how to check it.

SamCart is listed under Settings → Integrations → SamCart in Wexlyn. Orders with upsells, subscription charges, refunds, cancellations and recoveries, prospects as leads.

What Wexlyn reads

  • Orders with upsells, subscription charges, refunds and cancellations
  • Prospects (checkout started) as people

Before you start, in SamCart

  1. In SamCart open Settings → API and create an API key.

Connect in Wexlyn

  1. Open Settings → Integrations → SamCart.
  2. Enter API key. Press Connect. Wexlyn checks the credentials before saving them, encrypted.

In SamCart, after connecting

  • SamCart → Apps → App Marketplace → Webhooks → Install, paste the endpoint URL above as the Notify URL and connect.
  • Open the installed Webhooks app → Add New Rule, scope Global. Add rules for: Order completed (Send NotifyURL Post for Orders), Subscription charged, Product refunded, Subscription charge refunded, Subscription canceled, Subscription recovered, and Prospect created (Send NotifyURL Post).
  • Checkout pages: Settings → Checkout tracking (or the product's Advanced → custom scripts) → paste the Universal Script snippet from Tracking → Install, so SamCart pages record page views and the visitor id reaches the order's custom URL parameters.

Events Wexlyn listens for: Order completed, Subscription charged, Product refunded, Subscription canceled, Subscription recovered, Prospect created.

What becomes what

  • Orders become sales with their products; subscription charges become subscriptions; refunds and cancellations update them; prospects become people tagged as checkout started.

Check it works

A test order appears under Recent deliveries and CRM → Sales.

If something is off

The integration page keeps the last deliveries it received with the event, whether it was processed or ignored, and the reason in plain words (no email or phone on the record, not a sale event, a signature that did not match). Failed deliveries can be replayed after the cause is fixed.

  • Nothing arrives: the URL or credentials in SamCart differ from the connection card, or the events are not enabled on that side. For connections Wexlyn registers itself, the card says if SamCart refused.
  • People without a source: the person never visited a page with the Universal Script. Their later visits and purchases are attributed once a tracked visit matches their email or phone.
  • Stages do not move: a tag, status or pipeline stage only moves a person when a rule under Settings → Lead stages names it (or, for GoHighLevel and HubSpot, a rule on the connection's own page).